Linux kernel ksmbd use-after-free on double SMB2_CANCEL
CVE-2026-53198High
The ksmbd SMB server in the Linux kernel has a use-after-free vulnerability in how it handles cancelled lock requests. When an SMB2_CANCEL message arrives for a deferred byte-range lock, the code frees the lock structure but leaves a callback function pointer referencing it in a work queue. A second SMB2_CANCEL message for the same request causes the freed lock to be accessed again. An authenticated SMB client can trigger this by sending two cancel messages for the same lock request.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Detail
Affected versions
- linux linux kernel: from 5.15, before 6.1.176
- linux linux kernel: from 6.2, before 6.6.143
- linux linux kernel: from 6.7, before 6.12.94
- linux linux kernel: from 6.13, before 6.18.36
- linux linux kernel: from 6.19, before 7.0.13
- linux linux kernel: 7.1
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 TM MFP (opens in a new tab)