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

VectorAV: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 👾

Weakness Enumeration

Related Identifiers

BDU:2024-07843
CVE-2023-52480
OESA-2025-1095
OESA-2025-1096
USN-6725-1
USN-6725-2

Affected Products

Astra Linux
Linuxmint
Linux Kernel
Red Os
Ubuntu