CVE-2024-35861: smb: client: fix potential UAF in cifs_signal_cifsd_for_reconnect()
In the Linux kernel, the following vulnerability has been resolved:
smb: client: fix potential UAF in cifssignalcifsdforreconnect()
Skip sessions that are being teared down (status == SESEXITING) to avoid UAF.
Other sources
In the Linux kernel, the following vulnerability has been resolved:
smb: client: fix potential UAF in cifssignalcifsdforreconnect()
The Linux kernel CVE team has assigned CVE-2024-35861 to this issue.
Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024051937-CVE-2024-35861-dcfe@gregkh/T
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 6.1.85 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 6.6.26 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 6.8.5 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 6.9 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch CVE-2024-35861 - Compensating control
In cifs_signal_cifsd_for_reconnect(), skip SMB client sessions that are being torn down (status == SES_EXITING) to avoid a potential UAF.
Event History
Frequently Asked Questions
What is the severity of CVE-2024-35861?
CVE-2024-35861 has a medium severity rating due to the potential for use-after-free conditions in the Linux kernel.
How do I fix CVE-2024-35861?
To fix CVE-2024-35861, update to kernel versions 6.1.85 or later, 6.6.26 or later, 6.8.5 or later, or 6.9.
What systems are affected by CVE-2024-35861?
CVE-2024-35861 affects a range of Linux kernel versions prior to 6.1.85, 6.6.26, 6.8.5, and 6.9.
What impact does CVE-2024-35861 have on Linux systems?
CVE-2024-35861 may lead to potential instability and security risks due to a use-after-free vulnerability.
What does CVE-2024-35861 involve?
CVE-2024-35861 involves an issue in the Linux kernel related to improper handling of sessions, which can lead to use-after-free vulnerabilities.