CVE
CVE-2025-21945
CVE-2025-21945HIGH 7.8EPSS 45%
CNA 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.
Affected versions
All Linux kernel vulnerabilities →
- 6.14-rc5This version only
- 6.14-rc4This version only
- 6.14-rc3This version only
- 6.14-rc2This version only
- 6.14-rc1This version only
- ≥ 6.13, < 6.13.7Fixed in 6.13.7
- ≥ 6.7, < 6.12.19Fixed in 6.12.19
- ≥ 6.2, < 6.6.83Fixed in 6.6.83
- ≥ 5.15, < 6.1.131Fixed in 6.1.131
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/410ce35a2ed6d0e114132bba29af49b69880c8c7 · Patch
- git.kernel.org/stable/c/636e021646cf9b52ddfea7c809b018e91f2188cb · Patch
- git.kernel.org/stable/c/84d2d1641b71dec326e8736a749b7ee76a9599fc · Patch
- git.kernel.org/stable/c/8573571060ca466cbef2c6f03306b2cc7b883506 · Patch
- git.kernel.org/stable/c/a0609097fd10d618aed4864038393dd75131289e · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.