Use-After-Free Vulnerability in Linux Kernel's CIFS Module - DEBIAN-CVE-2023-52751

linux Updated 02 Oct 2025

Summary

21/05/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2023-52751: In the Linux kernel, the following vulnerability has been resolved: smb: client: fix use-after-free in smb2_query_info_compound() The following UAF was triggered when running fstests generic/072 with KASAN enabled agains... Affects linux versions < 6.6.8-1. Fixed in 6.6.8-1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is a core component of many operating systems, providing essential services for hardware and software interaction. It supports various file systems, including the Common Internet File System (CIFS), which allows for file sharing over a network. The CIFS module in the Linux kernel facilitates communication with Windows file shares, making it crucial for interoperability in mixed-OS environments. However, a recent vulnerability has been identified that affects the stability and security of this module.

Vulnerability Detail

The vulnerability, identified as DEBIAN-CVE-2023-52751, is a use-after-free (UAF) issue in the smb2_query_info_compound function of the CIFS module. This flaw can be triggered when running specific tests against Windows Server 2022 with certain mount options. The UAF occurs due to a race condition between the open_cached_dir and cached_dir_lease_break functions, leading to potential exploitation. An attacker could exploit this vulnerability to cause a denial of service or potentially execute arbitrary code, compromising the integrity of the system.

How To Fix

Minimum fixed version

6.6.8-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can avoid using the CIFS module with the specified mount options until the patch is applied. This may involve using alternative file sharing methods or disabling CIFS access until the vulnerability is resolved.

Conclusion

The DEBIAN-CVE-2023-52751 vulnerability presents a significant risk to systems using the Linux kernel's CIFS module. It is crucial for users to update their systems to the patched version to mitigate potential threats. Awareness and prompt action are essential to maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

A use-after-free vulnerability occurs when a program continues to use a memory reference after it has been freed, potentially leading to crashes or arbitrary code execution.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Not addressing this vulnerability could lead to system instability, data loss, or unauthorized access, putting sensitive information at risk.

Yes, the vulnerability affects the Linux packages in Debian 13 and 14, specifically versions prior to 6.6.8-1.

If immediate updates are not possible, consider implementing the suggested workaround of avoiding the use of CIFS with the vulnerable mount options.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.6.8-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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