{"cve":"CVE-2025-22040","nvd":{"published":"2025-04-16T15:15:56.590","modified":"2026-06-17T08:44:54.640","status":"Analyzed","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix session use-after-free in multichannel connection\n\nThere is a race condition between session setup and\nksmbd_sessions_deregister. The session can be freed before the connection\nis added to channel list of session.\nThis patch check reference count of session before freeing it.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-416"],"references":["https://git.kernel.org/stable/c/3980770cb1470054e6400fd97668665975726737","https://git.kernel.org/stable/c/596407adb9af1ee75fe7c7529607783d31b66e7f","https://git.kernel.org/stable/c/7dfbd4c43eed91dd2548a95236908025707a8dfd","https://git.kernel.org/stable/c/9069939d762138e232a6f79e3e1462682ed6a17d","https://git.kernel.org/stable/c/94c281721d4ed2d972232414b91d98a6f5bdb16b"],"products":["debian:debian_linux","linux:linux_kernel"],"source":"nvd","synced_at":"2026-10-19T22:01:11.054312287+00:00"},"epss":{"cve":"CVE-2025-22040","score":0.00703,"percentile":0.53306,"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."]}