Critical Vulnerability in Linux Kernel: Packet Pointer Invalidation via Tail Calls

linux Updated 02 Oct 2025

Summary

05/05/2025
N/A
No i
Unrated
Not published

CVE-2024-58237: In the Linux kernel, the following vulnerability has been resolved: bpf: consider that tail calls invalidate packet pointers Tail-called programs could execute any of the helpers that invalidate packet pointers. 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 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 the core of many operating systems, providing essential services for hardware and software interaction. It is known for its stability, performance, and flexibility, supporting a wide range of devices and architectures. However, it is also susceptible to vulnerabilities that can compromise system security. The vulnerability CVE-2024-58237 specifically affects the BPF (Berkeley Packet Filter) subsystem, which is used for packet processing and network traffic filtering.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the BPF subsystem where tail-called programs can execute helpers that invalidate packet pointers. This means that if a program tail-calls another, it may inadvertently lead to unsafe memory access, allowing potential exploitation. The issue arises from the assumption that each tail call invalidates packet pointers, which can lead to unexpected behavior and security risks, particularly in network applications.

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. However, it is advisable to avoid using tail calls in BPF programs until the patch is applied.

Conclusion

CVE-2024-58237 is a significant vulnerability in the Linux kernel that affects the BPF subsystem, posing risks of unsafe memory access through tail calls. Users are urged to update their systems to the patched version as soon as possible to mitigate these risks. Monitoring tools like Vulert can assist in identifying vulnerabilities in your applications.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2024-58237 is a vulnerability in the Linux kernel's BPF subsystem that can lead to unsafe memory access due to tail calls invalidating packet pointers.

If exploited, this vulnerability can allow attackers to manipulate packet data, potentially leading to unauthorized access or denial of service.

The vulnerability affects multiple versions of the Linux kernel, specifically those in Debian 11, 12, and 13.

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.

While there are no specific workarounds, it is advisable to limit the use of BPF programs that utilize tail calls until the patch is applied.

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