CVE-2024-35870
kernel: smb: client: fix UAF in smb2_reconnect_server()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 19, 2024
Updated · November 21, 2025
Description
A flaw was found in the smb client in the Linux kernel. A potential use-after-free error was seen in the smb2_reconnect_server() function. This issue can lead to the crash of a client user session.
Statement
This vulnerability considered being Moderate impact because of limitations for attack scenario.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, prevent module cifs from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.
CVSS / CWE
CVSS 3.1 · 5.9CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
CWE-416 · Use After Free