CVE-2024-35868: linux-libc-dev - Potential Use-After-Free Vulnerability in cifs_stats_proc_write()

linux Updated 02 Oct 2025

Summary

19/05/2024
No i
High
7.8

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback