PT-2024-35633 · Linux+1 · Linux Kernel+1

Yunseong Kim

·

Published

2024-11-25

·

Updated

2026-02-21

·

CVE-2024-53186

CVSS v3.1

7.8

High

VectorAV:L/AC:L/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 A race condition exists between SMB request handling in ksmbd conn handler loop() and the freeing of ksmbd conn in the workqueue handler handle ksmbd work(). This leads to a use-after-free (UAF) issue. The race condition arises when ksmbd conn handler loop() waits for conn->r count to reach zero, while handle ksmbd work() decrements conn->r count and potentially frees conn when it reaches zero. However, after freeing conn, handle ksmbd work() may still access conn->r count q, resulting in a UAF.
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

ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2024-17893
ALT-PU-2025-12647
BDU:2025-07229
CVE-2024-53186
OESA-2025-1032
OESA-2025-1036

Affected Products

Alt Linux
Linux Kernel