CVE-2024-35867: smb: client: fix potential UAF in cifs_stats_proc_show()
In the Linux kernel, the following vulnerability has been resolved:
smb: client: fix potential UAF in cifsstatsprocshow()
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 cifsstatsprocshow()
The Linux kernel CVE team has assigned CVE-2024-35867 to this issue.
Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024051939-CVE-2024-35867-15e3@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.22-1Fixed in 6.12.25-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.
Fixed in 5.15.182.1-1 - Configuration
Modify smb client code path cifs_stats_proc_show() to skip sessions that are being torn down (status == SES_EXITING) to avoid potential UAF (CVE-2024-35867).
Linux kernel (cifs/smb client) cifs_stats_proc_show() session handling = Skip sessions with status == SES_EXITING
Event History
Frequently Asked Questions
What is the severity of CVE-2024-35867?
CVE-2024-35867 has been classified as a medium severity vulnerability.
How do I fix CVE-2024-35867?
To fix CVE-2024-35867, update the Linux kernel to version 6.1.85, 6.6.26, 6.8.5, or 6.9 as specified by your operating system provider.
What impact does CVE-2024-35867 have on systems?
CVE-2024-35867 can potentially lead to a use-after-free condition affecting the stability and security of systems running vulnerable versions of the Linux kernel.
Which systems are affected by CVE-2024-35867?
CVE-2024-35867 affects versions of the Linux kernel prior to 6.1.85, 6.6.26, 6.8.5, and 6.9.
Is a reboot required after patching CVE-2024-35867?
Yes, a reboot is typically required after applying patches for CVE-2024-35867 to ensure that all components are updated.