Critical Memory Protection Flaw in Linux Kernel: CVE-2024-42067

linux Updated 02 Oct 2025

Summary

29/07/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-42067: In the Linux kernel, the following vulnerability has been resolved: bpf: Take return from set_memory_rox() into account with bpf_jit_binary_lock_ro() set_memory_rox() can fail, leaving memory unprotected. Affects linux versions < 6.9.8-1. Fixed in 6.9.8-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, providing essential services for hardware and software interaction. It is known for its stability, performance, and security features. However, like any complex software, it can have vulnerabilities. CVE-2024-42067 is a recent vulnerability that affects the Linux kernel versions in Debian 13 and 14, specifically related to the BPF (Berkeley Packet Filter) functionality.

Vulnerability Detail

CVE-2024-42067 is a vulnerability in the Linux kernel that arises from the handling of memory protection during the execution of BPF programs. The issue occurs in the set_memory_rox() function, which is responsible for setting memory regions to read-only and executable. If this function fails, it can leave memory unprotected, potentially allowing unauthorized access or modification of sensitive data. The vulnerability is particularly concerning as it could be exploited by malicious actors to execute arbitrary code in kernel space, leading to system compromise.

How To Fix

Minimum fixed version

6.9.8-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 patch as soon as it is available.

Conclusion

CVE-2024-42067 is a critical vulnerability in the Linux kernel that poses significant security risks. Users are strongly advised to update their systems to the patched version to mitigate potential threats. Regular monitoring for vulnerabilities, such as through Vulert, can help maintain system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2024-42067 is a vulnerability in the Linux kernel that affects memory protection mechanisms, potentially allowing unauthorized access to sensitive data.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Exploitation of this vulnerability could lead to unauthorized code execution in kernel space, resulting in system compromise and data breaches.

You can update your Linux kernel by running 'sudo apt-get update && sudo apt-get install linux=6.9.8-1' in your terminal.

Yes, Vulert provides a service that monitors open-source vulnerabilities in your software using just a manifest file, allowing for real-time alerts.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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