CVE-2024-50286: ksmbd: fix slab-use-after-free in ksmbd_smb2_session_create

0.0 CVSS

Description

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.

Classification

CVE ID: CVE-2024-50286

CVSS Base Severity: LOW

CVSS Base Score: 0.0

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 5.06% (scored less or equal to compared to others)

EPSS Date: 2025-02-03 (when was this score calculated)

References

https://git.kernel.org/stable/c/f56446ba5378d19e31040b548a14ee9a8f1500ea
https://git.kernel.org/stable/c/e923503a56b3385b64ae492e3225e4623f560c5b
https://git.kernel.org/stable/c/e7a2ad2044377853cf8c59528dac808a08a99c72
https://git.kernel.org/stable/c/0a77715db22611df50b178374c51e2ba0d58866e

Timeline