Vulnerability in Linux
CVE-2023-52480
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix race condition between session lookup and expire Thread A + Thread B ksmbd_session_lookup | smb2_sess_setup sess = xa_load | | | xa_erase(&conn->sessions, sess->id); | | ksmbd_session_destroy(sess) --> kfree(sess) | // UAF! | sess->last_active = jiffies | + This patch add rwsem to fix race condition between ksmbd_session_lookup and ksmbd_expire_session.
Vulnerability class: Race Condition
EPSS: 0.002 (7.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Linux — versions 6.1.57, 6.3.2, 750a2d772e9d9ff377fd32e3b6797bf2cd847a7a
- Linux Linux_kernel — versions 6.6
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2023-52480?
- CVE-2023-52480 is a critical-severity vulnerability in Linux, classified under Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition). CVSS score: 9.8/10. Published 2024-02-29.
- How severe is CVE-2023-52480?
- Critical severity. CVSS v3 base score is 9.8 out of 10.