CVE-2024-35869: smb: client: guarantee refcounted children from parent session
In the Linux kernel, the following vulnerability has been resolved:
smb: client: guarantee refcounted children from parent session
Avoid potential use-after-free bugs when walking DFS referrals, mounting and performing DFS failover by ensuring that all children from parent @tcon->ses are also refcounted. They're all needed across the entire DFS mount. Get rid of @tcon->dfsseslist while we're at it, too.
Other sources
In the Linux kernel, the following vulnerability has been resolved:
smb: client: guarantee refcounted children from parent session
The Linux kernel CVE team has assigned CVE-2024-35869 to this issue.
Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024051940-CVE-2024-35869-73f8@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.12.22-1Fixed in 6.12.25-1 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 6.6.29 - 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-35869
Event History
Frequently Asked Questions
What is the severity of CVE-2024-35869?
CVE-2024-35869 has been classified as a moderate severity vulnerability affecting the Linux kernel.
How do I fix CVE-2024-35869?
To fix CVE-2024-35869, update the kernel to the appropriate versions such as 6.6.29 for Red Hat or 6.12.11-1 for Debian.
Which Linux distributions are affected by CVE-2024-35869?
CVE-2024-35869 affects various Linux distributions including certain versions of Red Hat and Debian kernels.
What impact does CVE-2024-35869 have on Linux systems?
CVE-2024-35869 may lead to potential use-after-free bugs when walking DFS referrals or during failover operations.
Is there a workaround for CVE-2024-35869?
Currently, the recommended preventive measure for CVE-2024-35869 is to ensure your Linux kernel is updated to the patched versions.