CVE-2024-35864: linux-libc-dev - Potential Use-After-Free in smb2_is_valid_lease_break()

linux Updated 02 Oct 2025

Summary

19/05/2024
No i
High
7.8

CVE-2024-35864: In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential UAF in smb2_is_valid_lease_break() 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 Penetration testing for web, API and mobile 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 programs that use the Linux kernel's C library interface. It is an essential component for building and running applications on Linux systems. The package is widely used and is included in various Linux distributions, including Debian. This vulnerability affects the linux-libc-dev package version 6.1.90-1.

Vulnerability Detail

The vulnerability CVE-2024-35864 is a potential use-after-free (UAF) vulnerability in the smb2_is_valid_lease_break() function of the Linux kernel's SMB client. This vulnerability could be exploited by an attacker to cause a denial-of-service (DoS) condition or potentially execute arbitrary code. The vulnerability arises from a failure to properly handle sessions that are being torn down, leading to a UAF condition. An attacker could craft a malicious SMB request to trigger the vulnerability and potentially gain control over the affected system.

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

There is no known workaround for this vulnerability at the moment. It is recommended to apply the official security patches as soon as they become available.

Conclusion

The linux-libc-dev package is vulnerable to a potential use-after-free vulnerability in the smb2_is_valid_lease_break() function of the Linux kernel's SMB client. This vulnerability could allow an attacker to cause a denial-of-service condition or potentially execute arbitrary code. It is crucial to update the linux-libc-dev package to a version that includes the fix for CVE-2024-35864 as soon as possible. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The linux-libc-dev package is a development package that provides the necessary header files and libraries for compiling programs that use the Linux kernel's C library interface.

A use-after-free vulnerability occurs when a program continues to use a memory region after it has been freed. This can lead to various security issues, including crashes, memory corruption, and potential code execution.

An attacker can exploit this vulnerability by crafting a malicious SMB request to trigger the use-after-free condition in the smb2_is_valid_lease_break() function of the Linux kernel's SMB client.

This vulnerability could lead to a denial-of-service (DoS) condition or potentially allow an attacker to execute arbitrary code on the affected system.

Yes, a fix for this vulnerability has been released. Users should update the linux-libc-dev package to a version that includes the fix as soon as possible.

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