{"schema_version":"1.9.0","id":"CVE-2024-50286","published":"2024-11-19T01:30:29.948Z","modified":"2026-08-12T03:51:08.520086831Z","related":["USN-7276-1","USN-7277-1"],"summary":"ksmbd: fix slab-use-after-free in ksmbd_smb2_session_create","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix slab-use-after-free in ksmbd_smb2_session_create\n\nThere is a race condition between ksmbd_smb2_session_create and\nksmbd_expire_session. This patch add missing sessions_table_lock\nwhile adding/deleting session from global session table.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf"},{"fixed":"f56446ba5378d19e31040b548a14ee9a8f1500ea"},{"fixed":"e923503a56b3385b64ae492e3225e4623f560c5b"},{"fixed":"e7a2ad2044377853cf8c59528dac808a08a99c72"},{"fixed":"0a77715db22611df50b178374c51e2ba0d58866e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50286.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"6.1.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.11.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50286.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0a77715db22611df50b178374c51e2ba0d58866e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e7a2ad2044377853cf8c59528dac808a08a99c72"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e923503a56b3385b64ae492e3225e4623f560c5b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f56446ba5378d19e31040b548a14ee9a8f1500ea"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50286.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50286"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50286.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}