PT-2023-9489 · Linux+4 · Linux Kernel+4
Luosili
·
Published
2023-10-04
·
Updated
2025-02-08
·
CVE-2023-52480
CVSS v3.1
7.0
High
| Vector | AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to a race condition between session lookup and expire in the ksmbd component of the Linux kernel. This can lead to a use-after-free (UAF) condition, potentially allowing an attacker to elevate their privileges. The vulnerability is caused by the
ksmbd session lookup and ksmbd expire session functions accessing the same session data without proper synchronization, resulting in a situation where a session is freed while still being accessed. The xa load and xa erase functions are involved in this process, and the ksmbd session destroy function is called with kfree(sess), leading to the UAF condition. The patch adds a rwsem to fix the race condition.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Use After Free
Race Condition
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Astra Linux
Linuxmint
Linux Kernel
Red Os
Ubuntu