{"id":"CVE-2025-22041","published":"2025-04-16T14:11:58Z","modified":"2026-08-05T11:56:14Z","title":"ksmbd: fix use-after-free in ksmbd_sessions_deregister()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix use-after-free in ksmbd_sessions_deregister()\n\nIn multichannel mode, UAF issue can occur in session_deregister\nwhen the second channel sets up a session through the connection of\nthe first channel. session that is freed through the global session\ntable can be accessed again through ->sessions of connection.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00715,"percentile":0.54641,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/stable/c/f0eb3f575138b816da74697bd506682574742fcd","tags":[]},{"url":"https://git.kernel.org/stable/c/a8a8ae303a8395cbac270b5b404d85df6ec788f8","tags":[]},{"url":"https://git.kernel.org/stable/c/ca042cc0e4f9e0d2c8f86dd67e4b22f30a516a9b","tags":[]},{"url":"https://git.kernel.org/stable/c/8ed0e9d2f410f63525afb8351181eea36c80bcf1","tags":[]},{"url":"https://git.kernel.org/stable/c/33cc29e221df7a3085ae413e8c26c4e81a151153","tags":[]},{"url":"https://git.kernel.org/stable/c/15a9605f8d69dc85005b1a00c31a050b8625e1aa","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[]}],"priority":{"score":17.1,"factors":[{"name":"EPSS percentile","points":10.93},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < f0eb3f575138b816da74697bd506682574742fcd",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < a8a8ae303a8395cbac270b5b404d85df6ec788f8",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < ca042cc0e4f9e0d2c8f86dd67e4b22f30a516a9b",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 8ed0e9d2f410f63525afb8351181eea36c80bcf1",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 33cc29e221df7a3085ae413e8c26c4e81a151153",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 15a9605f8d69dc85005b1a00c31a050b8625e1aa"]},{"vendor":"Linux","product":"Linux","versions":["5.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-21T14:57:34.523491Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-11254","exploited":false,"provenance":"source"}}