Name | CVE-2025-21945 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-4193-1, DSA-5900-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
linux (PTS) | bullseye | 5.10.223-1 | fixed |
| bullseye (security) | 5.10.237-1 | fixed |
| bookworm | 6.1.137-1 | fixed |
| bookworm (security) | 6.1.140-1 | fixed |
| trixie | 6.12.30-1 | fixed |
| sid | 6.12.32-1 | fixed |
linux-6.1 (PTS) | bullseye (security) | 6.1.137-1~deb11u1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[bullseye] - linux <not-affected> (Vulnerable code not present)
https://git.kernel.org/linus/84d2d1641b71dec326e8736a749b7ee76a9599fc (6.14-rc6)