Back
CVE-2025-21945ksmbd: fix use-after-free in smb2_lock
- 8.8HighCVSS base score
- 0.53%Exploitation in 30 daysEPSS · top 55% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in smb2_lock If smb_lock->zero_len has value, ->llist of smb_lock is not delete and flock is old one. It will cause use-after-free on error handling routine.
Timeline
ID reserved
By Linux
- 3 months later
· 3 months later
Published
- 16 months later
· 16 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADPADP (enrichment) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.53% · top 55% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Affected products
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 410ce35a2ed6d0e114132bba29af49b69880c8c7
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 8573571060ca466cbef2c6f03306b2cc7b883506
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < a0609097fd10d618aed4864038393dd75131289e
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 636e021646cf9b52ddfea7c809b018e91f2188cb
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 84d2d1641b71dec326e8736a749b7ee76a9599fc
- affected 5.15
- unaffected < 5.15
- unaffected 6.1.131 – ≤ 6.1.*
- unaffected 6.6.83 – ≤ 6.6.*
- unaffected 6.12.19 – ≤ 6.12.*
- unaffected 6.13.7 – ≤ 6.13.*
- unaffected 6.14 – ≤ *
References
References6
- https://git.kernel.org/stable/c/410ce35a2ed6d0e114132bba29af49b69880c8c7 (opens in a new tab)
- https://git.kernel.org/stable/c/8573571060ca466cbef2c6f03306b2cc7b883506 (opens in a new tab)
- https://git.kernel.org/stable/c/a0609097fd10d618aed4864038393dd75131289e (opens in a new tab)
- https://git.kernel.org/stable/c/636e021646cf9b52ddfea7c809b018e91f2188cb (opens in a new tab)
- https://git.kernel.org/stable/c/84d2d1641b71dec326e8736a749b7ee76a9599fc (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-9376 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-21945)Record last updated .