Memory Leak Vulnerability in Linux Kernel - CVE-2023-52936

linux Updated 02 Oct 2025

Summary

27/03/2025
N/A
Yes i
Medium
5.5

CVE-2023-52936: In the Linux kernel, the following vulnerability has been resolved: kernel/irq/irqdomain.c: fix memory leak with using debugfs_lookup() When calling debugfs_lookup() the result must have dput() called on it, otherwise th... Affects linux versions < 6.1.11-1. Fixed in 6.1.11-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 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 kernel is the core component of many operating systems, providing essential services for hardware and software interaction. It is known for its stability, performance, and flexibility, making it a popular choice for servers, desktops, and embedded systems. This vulnerability specifically affects the kernel's handling of debug file systems, which are used for debugging and monitoring kernel operations.

Vulnerability Detail

CVE-2023-52936 is a memory leak vulnerability found in the Linux kernel, specifically in the file kernel/irq/irqdomain.c. The issue arises when the function debugfs_lookup() is called without a corresponding dput() call, leading to a gradual increase in memory usage over time. This can result in degraded system performance or even crashes if the memory is exhausted. The recommended approach to mitigate this issue is to use debugfs_lookup_and_remove(), which correctly manages memory allocation and deallocation.

How To Fix

Minimum fixed version

6.1.11-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, you can avoid using debugfs_lookup() directly and instead utilize debugfs_lookup_and_remove() in your code to prevent memory leaks. This change ensures that memory is properly managed without requiring immediate updates to the kernel.

Conclusion

CVE-2023-52936 is a significant memory leak vulnerability in the Linux kernel that can impact system performance. It is crucial to update to the patched version to ensure system stability and security. Additionally, utilizing workarounds can help mitigate the issue until an update can be applied.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2023-52936 is a memory leak vulnerability in the Linux kernel that can lead to increased memory usage and system instability.

If exploited, this vulnerability can cause your system to consume excessive memory over time, potentially leading to performance degradation or crashes.

Yes, a patch is available in the form of version 6.1.11-1 for Debian systems. Updating to this version will resolve the issue.

As a temporary measure, you can modify your code to use debugfs_lookup_and_remove() instead of debugfs_lookup() to prevent memory leaks.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By uploading your manifest file like package-lock.json to Vulert's playground, you can check for vulnerabilities without needing to sign up.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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