All reports
Low

kernel: smb: client: fix potential UAF in smb2_is_valid_oplock_break()

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-35865

Probability of exploitation in the next 30 days: 0.63%

FIRST EPSS · 2026-11-19

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential UAF in smb2_is_valid_oplock_break() Skip sessions that are being teared down (status == SES_EXITING) to avoid UAF.

A flaw was found in the Linux kernel's SMB client. A local user could trigger a use-after-free condition (accessing memory after it has been released) in the smb2_is_valid_oplock_break() function by referencing SMB sessions currently being terminated. This flaw primarily allows an attacker to cause a Denial of Service (DoS) through a system crash.