Critical Memory Protection Vulnerability in Linux Kernel - CVE-2024-42067

linux Updated 02 Oct 2025

Summary

29/07/2024
N/A
No i
Medium
5.5

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 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 Your last release was probably never penetration tested 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, 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 highlights a specific issue where the memory protection mechanism can fail, leaving the system susceptible to unauthorized access.

Vulnerability Detail

CVE-2024-42067 is a vulnerability in the Linux kernel related to the BPF (Berkeley Packet Filter) subsystem. The issue arises from the set_memory_rox() function, which is responsible for setting memory regions to read-only and executable. If this function fails, the memory remains unprotected, potentially allowing attackers to execute arbitrary code in kernel space. The vulnerability can lead to severe consequences, including system crashes, data corruption, or unauthorized access to sensitive information.

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. The best course of action is to ensure that the system is updated to the latest kernel version.

Conclusion

CVE-2024-42067 is a critical vulnerability in the Linux kernel that affects memory protection mechanisms. Users are urged to update their systems to mitigate potential risks associated with this issue. Regular updates and monitoring for vulnerabilities are essential for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

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

You can use the Vulert platform to check if your application is affected by this vulnerability. Simply upload your manifest file like package-lock.json to monitor for vulnerabilities.

The vulnerability can lead to unauthorized code execution, system crashes, and data corruption, posing significant risks to system integrity and security.

Yes, the CVSS score for CVE-2024-42067 is 5.5, indicating a moderate severity level.

It is recommended to regularly check for updates and apply them promptly to ensure that your system is protected against known vulnerabilities.

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