CVE-2024-50286

published 19 Nov 2024 · updated 12 Aug 2026

ksmbd: fix slab-use-after-free in ksmbd_smb2_session_create

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 0a77715db22611df50b178374c51e2ba0d58866e, Kernel e7a2ad2044377853cf8c59528dac808a08a99c72, Kernel e923503a56b3385b64ae492e3225e4623f560c5b and 1 more.

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix slab-use-after-free in ksmbd_smb2_session_create There is a race condition between ksmbd_smb2_session_create and ksmbd_expire_session. This patch add missing sessions_table_lock while adding/deleting session from global session table.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.15, >=0626e6641f6b467447c81dd7678a69c66f7746cf <0a77715db22611df50b178374c51e2ba0d58866e, >=0626e6641f6b467447c81dd7678a69c66f7746cf <e7a2ad2044377853cf8c59528dac808a08a99c72, >=0626e6641f6b467447c81dd7678a69c66f7746cf <e923503a56b3385b64ae492e3225e4623f560c5b, >=0626e6641f6b467447c81dd7678a69c66f7746cf <f56446ba5378d19e31040b548a14ee9a8f1500ea0a77715db22611df50b178374c51e2ba0d58866e, e7a2ad2044377853cf8c59528dac808a08a99c72, e923503a56b3385b64ae492e3225e4623f560c5b, f56446ba5378d19e31040b548a14ee9a8f1500ea

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-50286 severity on Zeptric[![CVE-2024-50286](https://zeptric.io/badge/cve/CVE-2024-50286.svg)](https://zeptric.io/cve/CVE-2024-50286)