Critical Vulnerability in Linux Kernel: Resource Flag Discarding During Kexec

linux Updated 02 Oct 2025

Summary

19/11/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-50303: In the Linux kernel, the following vulnerability has been resolved: resource,kexec: walk_system_ram_res_rev must retain resource flags walk_system_ram_res_rev() erroneously discards resource flags when passing the inform... Affects linux versions < 6.11.7-1. Fixed in 6.11.7-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 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, providing essential services for hardware and software interaction. It manages system resources, memory, and processes, ensuring efficient operation. The kernel is crucial for system stability and performance. This vulnerability affects versions of the Linux kernel in Debian 13 and 14, specifically related to the handling of resource flags during the kexec process, which can lead to undefined behavior and system crashes.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified where the function walk_system_ram_res_rev incorrectly discards resource flags when passing information to a callback. This issue arises when systems with IORESOURCE_SYSRAM_DRIVER_MANAGED memory are selected during kexec to store kexec buffers, particularly if that memory is positioned above normal system RAM. The consequence of this flaw is undefined behavior after a reboot, which could lead to system crashes if the kexec buffer is accessed. The vulnerability has been tested on systems with CXL memory expanders and TPM enabled, revealing critical issues in memory management and error handling.

How To Fix

Minimum fixed version

6.11.7-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. However, avoiding the use of kexec in systems that utilize IORESOURCE_SYSRAM_DRIVER_MANAGED memory may mitigate potential risks until the patch is applied.

Conclusion

The identified vulnerability in the Linux kernel poses significant risks to system stability and performance, particularly in environments utilizing specific memory configurations. It is crucial for users to update to the patched version to safeguard against potential crashes and undefined behavior. Utilizing tools like Vulert can aid in monitoring for such vulnerabilities in real-time.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves the incorrect handling of resource flags in the Linux kernel, which can lead to undefined behavior and system crashes during the kexec process.

The affected versions are those in Debian 13 and 14 prior to the patch version 6.11.7-1.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities. Visit Vulert Scanner to check if your application is affected without needing to install any software.

Failure to address this vulnerability may result in system crashes and undefined behavior, especially when using kexec with specific memory configurations.

While there are no specific workarounds available, avoiding the use of kexec in affected systems may reduce the risk until the patch is applied.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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