All reports
Medium

kernel: cifs: fix session state check in reconnect to avoid use-after-free issue

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2023-53794

Probability of exploitation in the next 30 days: 0.55%

FIRST EPSS · 2026-11-18

Description

In the Linux kernel, the following vulnerability has been resolved: cifs: fix session state check in reconnect to avoid use-after-free issue Don't collect exiting session in smb2_reconnect_server(), because it will be released soon. Note that the exiting session will stay in server->smb_ses_list until it complete the cifs_free_ipc() and logoff() and then delete itself from the list.

A flaw was found in the Linux kernel's Common Internet File System (CIFS) client. This flaw allows a local user to cause a Denial of Service (DoS) through a system crash by triggering a use-after-free condition. The issue occurs due to improper session state handling when reconnecting to a server while an SMB (Server Message Block) session is terminating, causing the kernel to access memory that has already been released.