Linux kernel lease state handling error in ksmbd lease breaks
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix lease break and ack state handling
Do not skip valid lease states containing WRITE_CACHING when breaking level-II/read leases for writes and truncates.
Handle lease break acknowledgments according to the SMB2 rule that the acknowledged state must be a subset of the server's break target. Apply the acknowledged state directly and keep the break pending on failed ACKs.
From the CVE record · Linux
The Linux kernel's ksmbd component mishandles some lease breaks during writes and truncates, and can mishandle lease break acknowledgments. The input does not specify what an attacker could achieve or whether authentication or user interaction is required.
Engineers running Linux kernels with ksmbd should check their versions; affected versions are not specified.