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

linux Updated 02 Oct 2025

Summary

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

CVE-2023-53136: In the Linux kernel, the following vulnerability has been resolved: af_unix: fix struct pid leaks in OOB support syzbot reported struct pid leak [1]. Affects linux versions < 6.1.20-1. Fixed in 6.1.20-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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is the core component of many operating systems, responsible for managing hardware resources and providing essential services to software applications. It is known for its stability, performance, and flexibility, making it a popular choice for servers, desktops, and embedded systems. However, like any complex software, it is susceptible to vulnerabilities that can affect system performance and security. CVE-2023-53136 is a specific vulnerability that arises from improper handling of out-of-band (OOB) messages, leading to potential memory leaks.

Vulnerability Detail

CVE-2023-53136 is a memory leak vulnerability in the Linux kernel's af_unix implementation. The issue occurs when the function queue_oob() calls maybe_add_creds(), which can hold a reference to a process ID (pid). However, the skb->destructor is not set, resulting in a memory leak when kfree_skb() or consume_skb() is called. This vulnerability can lead to unreferenced objects remaining in memory, potentially exhausting system resources and affecting overall system stability.

How To Fix

Minimum fixed version

6.1.20-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 mentioned for this vulnerability. The best course of action is to apply the available patch as soon as possible.

Conclusion

CVE-2023-53136 is a critical memory leak vulnerability in the Linux kernel that can lead to significant resource management issues. It is essential for users to update their systems to the patched version to mitigate the risks associated with this vulnerability. Regular monitoring and timely updates are crucial for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2023-53136 is a memory leak vulnerability in the Linux kernel's af_unix implementation that can lead to resource exhaustion.

You can use Vulert, which monitors open-source vulnerabilities in your software. By using the Vulert playground, you can check if your application is affected without any signup.

The vulnerability can lead to memory leaks, which may exhaust system resources and impact overall system performance and stability.

You can update your Linux kernel by running the command: 'sudo apt-get update && sudo apt-get install linux' to install the patched version 6.1.20-1.

Currently, there are no specific workarounds available. The recommended action is to apply the patch as soon as possible.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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