CVE-2025-21967: Linux kernel · ksmbd: fix use-after-free in ksmbd_free_work_struct
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 8.8 High.
Data as of 30 Oct 2026, 14:17 UTC
Sources agree
| CNA (Linux) | CVSS 3.1 | 8.8 |
|---|---|---|
| CISA-ADP | CVSS 3.1 | 7.8 |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
AI-suggested
The vulnerability has been resolved in the Linux kernel. Users and administrators should apply the official Linux kernel updates that include the fix for CVE-2025-21967. Since no specific patch links or fixed versions are provided, verify with the Linux kernel vendor advisory for the exact fixed versions and apply updates accordingly.
Description
CVE-2025-21967 is a high-severity use-after-free vulnerability in the Linux kernel's ksmbd component. It involves improper management of the interim_entry of ksmbd_work, which could be deleted after an oplock is freed. This flaw has been fixed by changing how the interim request is handled, eliminating the need for linked list management and allowing immediate sending of the interim request when an oplock break wait is needed.
References
- git.kernel.org/stable/c/ffe0909010b21df8f948d624ad00cf14dd856721 (opens in a new tab)
- git.kernel.org/stable/c/fb776765bfc21d5e4ed03bb3d4406c2b86ff1ac3 (opens in a new tab)
- git.kernel.org/stable/c/62746ae3f5414244a96293e3b017be637b641280 (opens in a new tab)
- git.kernel.org/stable/c/eb51f6f59d19b92f6fe84d3873f958495ab32f0a (opens in a new tab)
- git.kernel.org/stable/c/bb39ed47065455604729404729d9116868638d31 (opens in a new tab)