ksmbd: fix potential use-after-free in oplock/lease break ack
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix potential use-after-free in oplock/lease break ack
If ksmbd_iov_pin_rsp return error, use-after-free can happen by accessing opinfo->state and opinfo_put and ksmbd_fd_put could called twice.
From the CVE record · Linux
The Linux kernel's ksmbd component has a potential use-after-free in oplock/lease break acknowledgment handling. If ksmbd_iov_pin_rsp returns an error, the code can access freed state and release references twice. The input does not specify how an attacker could trigger this condition or whether authentication or user interaction is required.
Engineers running Linux kernels with ksmbd should check their versions; affected versions are not specified.