CVE-2024-35864: smb: client: fix potential UAF in smb2_is_valid_lease_break()
In the Linux kernel, the following vulnerability has been resolved:
smb: client: fix potential UAF in smb2isvalidleasebreak()
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 smb2isvalidleasebreak()
The Linux kernel CVE team has assigned CVE-2024-35864 to this issue.
Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024051938-CVE-2024-35864-3536@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.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-35864
Event History
Frequently Asked Questions
What is the severity of CVE-2024-35864?
CVE-2024-35864 is a medium severity vulnerability affecting the Linux kernel.
How do I fix CVE-2024-35864?
To fix CVE-2024-35864, update your Linux kernel to version 6.1.85 or later for Red Hat and related distributions.
Which versions of the Linux kernel are affected by CVE-2024-35864?
CVE-2024-35864 affects Linux kernel versions prior to 6.1.85, 6.6.26, and 6.8.5.
What kind of vulnerability is CVE-2024-35864?
CVE-2024-35864 is a use-after-free vulnerability in the smb2_is_valid_lease_break function.
Is there a patch available for CVE-2024-35864?
Yes, patches are available in the form of kernel updates such as 6.1.85 for Red Hat and corresponding versions for Debian.