{"cve":"CVE-2025-21945","nvd":{"published":"2025-04-01T16:15:25.633","modified":"2026-07-30T06:21:58.530","status":"Modified","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix use-after-free in smb2_lock\n\nIf smb_lock->zero_len has value, ->llist of smb_lock is not delete and\nflock is old one. It will cause use-after-free on error handling\nroutine.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-416"],"references":["https://git.kernel.org/stable/c/410ce35a2ed6d0e114132bba29af49b69880c8c7","https://git.kernel.org/stable/c/636e021646cf9b52ddfea7c809b018e91f2188cb","https://git.kernel.org/stable/c/84d2d1641b71dec326e8736a749b7ee76a9599fc","https://git.kernel.org/stable/c/8573571060ca466cbef2c6f03306b2cc7b883506","https://git.kernel.org/stable/c/a0609097fd10d618aed4864038393dd75131289e"],"products":["linux:linux_kernel"],"source":"nvd","synced_at":"2026-10-19T22:00:57.946988208+00:00"},"epss":{"cve":"CVE-2025-21945","score":0.00525,"percentile":0.44542,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}