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

linux Updated 02 Oct 2025

Summary

15/09/2025
N/A
No i
Unrated
Not published

CVE-2023-53221: In the Linux kernel, the following vulnerability has been resolved: bpf: Fix memleak due to fentry attach failure If it fails to attach fentry, the allocated bpf trampoline image will be left in the system. 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 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 security features. However, like any complex software, it can have vulnerabilities. CVE-2023-53221 is a specific memory leak issue that arises from the failure to attach fentry, leading to allocated BPF trampoline images being left in the system.

Vulnerability Detail

CVE-2023-53221 is a vulnerability in the Linux kernel that occurs when the BPF (Berkeley Packet Filter) fails to attach a fentry function. This failure results in a memory leak, as the allocated BPF trampoline image remains in the system. The issue can be verified by checking /proc/kallsyms, where the leftover trampoline images can be observed. This vulnerability can lead to increased memory usage and potential system instability if not addressed.

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

Currently, there are no specific workarounds mentioned for this vulnerability. It is advisable to apply the patch as soon as it is available to mitigate the risk associated with the memory leak.

Conclusion

CVE-2023-53221 is a significant memory leak vulnerability in the Linux kernel that requires immediate attention. By updating to the patched versions of the Linux package, users can mitigate the risks associated with this issue. Regular monitoring and updates are essential to maintain system security and stability.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2023-53221 is a memory leak vulnerability in the Linux kernel caused by the failure to attach a BPF fentry function, leading to leftover trampoline images in the system.

You can check if your system is affected by examining the /proc/kallsyms file for leftover BPF trampoline images after a failed fentry attachment.

The potential impacts include increased memory usage and system instability, which could affect the performance of applications running on the affected system.

You can update the Linux package by running 'sudo apt update' followed by 'sudo apt upgrade linux' on your Debian system.

Yes, Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software using a manifest file like package-lock.json. You can check your application for vulnerabilities using the Vulert playground without any signup.

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