๐Ÿ” CVE Alert

CVE-2025-21945

HIGH 7.8

ksmbd: fix use-after-free in smb2_lock

CVSS Score
7.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

Vendor linux
Product linux
Ecosystems
Industries
Technology
Published Apr 1, 2025
Last Updated May 11, 2026
Stay Ahead of the Next One

Get instant alerts for linux linux

Be the first to know when new high vulnerabilities affecting linux linux are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

Linux / Linux
0626e6641f6b467447c81dd7678a69c66f7746cf < 410ce35a2ed6d0e114132bba29af49b69880c8c7 0626e6641f6b467447c81dd7678a69c66f7746cf < 8573571060ca466cbef2c6f03306b2cc7b883506 0626e6641f6b467447c81dd7678a69c66f7746cf < a0609097fd10d618aed4864038393dd75131289e 0626e6641f6b467447c81dd7678a69c66f7746cf < 636e021646cf9b52ddfea7c809b018e91f2188cb 0626e6641f6b467447c81dd7678a69c66f7746cf < 84d2d1641b71dec326e8736a749b7ee76a9599fc
Linux / Linux
5.15

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
git.kernel.org: https://git.kernel.org/stable/c/410ce35a2ed6d0e114132bba29af49b69880c8c7 git.kernel.org: https://git.kernel.org/stable/c/8573571060ca466cbef2c6f03306b2cc7b883506 git.kernel.org: https://git.kernel.org/stable/c/a0609097fd10d618aed4864038393dd75131289e git.kernel.org: https://git.kernel.org/stable/c/636e021646cf9b52ddfea7c809b018e91f2188cb git.kernel.org: https://git.kernel.org/stable/c/84d2d1641b71dec326e8736a749b7ee76a9599fc lists.debian.org: https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html