Memory Safety Vulnerability in Linux Kernel - CVE-2024-57930

linux Updated 02 Oct 2025

Summary

21/01/2025
N/A
Yes i
Unrated
Not published

CVE-2024-57930: In the Linux kernel, the following vulnerability has been resolved: tracing: Have process_string() also allow arrays In order to catch a common bug where a TRACE_EVENT() TP_fast_assign() assigns an address of an allocate... Affects linux versions < 6.1.124-1. Fixed in 6.1.124-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 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 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 scalability. However, like any complex software, it is susceptible to vulnerabilities that can compromise system integrity and security. CVE-2024-57930 specifically addresses an issue related to the handling of string references in trace events, which could lead to unsafe memory access.

Vulnerability Detail

CVE-2024-57930 is a vulnerability in the Linux kernel that arises from improper handling of string references in trace events. The issue occurs when a TRACE_EVENT() TP_fast_assign() assigns an address of an allocated string to the ring buffer, which may be referenced later in TP_printk() after the string has been freed. This can lead to dereferencing invalid memory, potentially causing system crashes or unpredictable behavior. The vulnerability was identified during the registration of trace events, where the function test_event_printk() checks for unsafe string references. However, it may produce false positives, particularly when referencing arrays, which are deemed safe under certain conditions.

How To Fix

Minimum fixed version

6.1.124-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. Users are advised to apply the patch as soon as it becomes available to mitigate any potential risks.

Conclusion

CVE-2024-57930 is a significant vulnerability in the Linux kernel that can lead to unsafe memory access and system instability. It is essential for users to update their systems to the patched version as soon as it becomes available. Monitoring tools like Vulert can assist in identifying vulnerabilities in your software, ensuring better security practices.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2024-57930 is a vulnerability in the Linux kernel that involves unsafe memory access due to improper handling of string references in trace events.

This vulnerability can lead to system crashes or unpredictable behavior if the kernel dereferences freed memory, potentially compromising system stability.

Yes, a patch is available for Debian 13 in version 6.12.9-1. Users should update their kernel to this version to mitigate the vulnerability.

While there are no specific workarounds, it is crucial to monitor for updates and apply the patch as soon as it is available to protect your system.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check if your application is affected by CVE-2024-57930 using the Vulert playground at Vulert Scanner without any signup.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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