All reports
Medium

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

Affected versions

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

Exploitation

CVE-2024-35868

Probability of exploitation in the next 30 days: 0.24%

FIRST EPSS · 2026-11-22

Description

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

A flaw was found in the Linux kernel CIFS client. cifs_stats_proc_write() can use server statistics after they have been freed. A local user who can write that proc file can crash the kernel.