Use-After-Free Vulnerability in Linux Kernel - cifs Package

linux Updated 02 Oct 2025

Summary

02/05/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2023-53052: In the Linux kernel, the following vulnerability has been resolved: cifs: fix use-after-free bug in refresh_cache_worker() The UAF bug occurred because we were putting DFS root sessions in cifs_umount() while DFS cache r... Affects linux versions < 6.3.7-1. Fixed in 6.3.7-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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Linux kernel is the core component of many operating systems, providing essential services for hardware and software interactions. The cifs (Common Internet File System) package allows for file sharing over a network, enabling users to access files on remote servers. This package is crucial for environments that rely on networked file systems, but it is also susceptible to vulnerabilities that can compromise system stability and security.

Vulnerability Detail

The vulnerability identified as CVE-2023-53052 is a use-after-free (UAF) bug in the cifs package of the Linux kernel. This issue arises when the system improperly manages the lifecycle of DFS (Distributed File System) root sessions during the execution of the refresh_cache_worker function. As a result, the system may attempt to access memory that has already been freed, leading to potential crashes or exploitation by malicious actors. The bug was detected by KASAN (Kernel Address Sanitizer), which reported a read of size 8 at an invalid memory address, indicating a serious flaw in memory management.

How To Fix

Minimum fixed version

6.3.7-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

Currently, there are no specific workarounds provided for this vulnerability. The best course of action is to apply the patch as soon as it is available.

Conclusion

The CVE-2023-53052 vulnerability in the cifs package of the Linux kernel represents a significant risk due to its use-after-free nature. Users are strongly encouraged to update their systems to the patched version 6.3.7-1 to mitigate potential threats. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2023-53052 is a use-after-free vulnerability in the cifs package of the Linux kernel that can lead to system instability and potential exploitation.

You can use Vulert, which monitors open-source vulnerabilities in your software. By using the manifest file like package-lock.json, you can check for vulnerabilities without needing to install additional software.

While there are no specific workarounds available, it is crucial to prioritize updating your package to the patched version as soon as possible to avoid potential risks.

Failure to address this vulnerability could lead to system crashes, data corruption, or exploitation by attackers, compromising the security of your system.

Detailed information about CVE-2023-53052 can be found in the Debian security advisories and through resources like Vulert, which provides real-time alerts for open-source vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

6.3.7-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