CVE-2024-35868: linux-libc-dev - Potential Use-After-Free Vulnerability in cifs_stats_proc_write()
Summary
CVE-2024-35868: In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential UAF in cifs_stats_proc_write() Skip sessions that are being teared down (status == SES_EXITING) to avoid UAF. Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The linux-libc-dev package is a development package that provides the necessary header files and libraries for compiling C programs against the Linux kernel. It is an essential component for building and linking applications that interact with the kernel. This package is commonly used in Debian-based distributions. The vulnerability affects version 6.1.90-1 of the linux-libc-dev package.
Vulnerability Detail
The vulnerability, identified as CVE-2024-35868, is a potential use-after-free (UAF) vulnerability in the cifs_stats_proc_write() function of the SMB client in the Linux kernel. This vulnerability has been resolved in the latest version of the kernel. The vulnerability arises when sessions that are being torn down (status == SES_EXITING) are not properly skipped, leading to a UAF condition. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial of service (DoS) condition.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
No specific workaround has been provided for this vulnerability. It is recommended to apply the fix by updating the linux-libc-dev package to a patched version.
Conclusion
The linux-libc-dev package is vulnerable to a potential use-after-free vulnerability in the cifs_stats_proc_write() function of the SMB client in the Linux kernel. To mitigate this vulnerability, it is crucial to update the linux-libc-dev package to a version higher than 6.1.90-1. No specific workaround has been provided, and it is advisable to keep the Linux kernel up to date to ensure the latest security patches are applied. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for linux →
FAQ
Linux-libc-dev is a development package that provides header files and libraries for compiling C programs against the Linux kernel. It is essential for building applications that interact with the kernel.
The vulnerability could allow an attacker to execute arbitrary code or cause a denial of service (DoS) condition.
To fix this vulnerability, update the linux-libc-dev package to a version higher than 6.1.90-1.
No specific workaround has been provided. It is recommended to apply the fix by updating the linux-libc-dev package.
More information about this vulnerability can be found in the references provided.
Related vulnerabilities
Recent vulnerabilities recorded for linux.