CVE-2025-21955: Linux kernel · ksmbd: prevent connection release during oplock break notification
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 29 Oct 2026, 23:32 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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 29 Oct 2026.
What to do
AI-suggested
No specific patch links or vendor advisories are provided in the data. Until a fix is confirmed, cautious use of the affected Linux kernel versions and monitoring for updates is recommended.
Description
CVE-2025-21955 is a medium severity vulnerability in the Linux kernel's ksmbd component. It involves a flaw where the ksmbd_work structure could be freed after the connection was released during an oplock break notification, potentially causing a use-after-free condition. The issue is addressed by incrementing the reference count of the ksmbd_conn structure to prevent premature connection release while requests are still being processed.
References
- nvd.nist.gov/vuln/detail/CVE-2025-21955 (opens in a new tab)
- git.kernel.org/stable/c/09aeab68033161cb54f194da93e51a11aee6144b (opens in a new tab)
- git.kernel.org/stable/c/3aa660c059240e0c795217182cf7df32909dd917 (opens in a new tab)
- git.kernel.org/stable/c/a4261bbc33fbf99b99c80aa3a2c5097611802980 (opens in a new tab)
- git.kernel.org/stable/c/f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa (opens in a new tab)