CVE-2024-35862: smb: client: fix potential UAF in smb2_is_network_name_deleted()
In the Linux kernel, the following vulnerability has been resolved:
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- 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
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.257-1Fixed in 6.1.170-3Fixed in 6.1.174-1Fixed in 6.12.86-1Fixed in 6.12.90-2Fixed in 7.0.10-1Fixed in 7.0.12-2 - Upgrade
Upgrade
linux kernel smb clientto a version that resolves this vulnerability.Patch CVE-2024-35862 - Compensating control
If you are able to avoid the affected code path while patching, skip SMB client sessions that are being teared down (status == SES_EXITING) so that smb2_is_network_name_deleted() does not operate on sessions in teardown and avoids the potential UAF described for CVE-2024-35862.
Event History
Frequently Asked Questions
What is the severity of CVE-2024-35862?
CVE-2024-35862 has a severity rating that indicates a potential risk of unauthorized access due to a use-after-free vulnerability in the Linux kernel.
How do I fix CVE-2024-35862?
To fix CVE-2024-35862, upgrade the Kernel to one of the patched versions such as Red Hat kernel 6.1.85 or later.
Which versions of the Linux kernel are affected by CVE-2024-35862?
CVE-2024-35862 affects multiple versions of the Linux kernel prior to the patched versions of 6.1.85, 6.6.26, 6.8.5, and 6.9.
Is CVE-2024-35862 exploitable remotely?
CVE-2024-35862 could potentially be exploited remotely depending on the system configurations and network access.
What are the symptoms of CVE-2024-35862 vulnerability?
The symptoms of CVE-2024-35862 may include system instability or crashes related to the SMB protocol on affected Linux kernel versions.