Critical Vulnerability in Linux Kernel: s390/mm VM_FAULT_HWPOISON Handling Issue
Summary
DEBIAN-CVE-2024-41021: In the Linux kernel, the following vulnerability has been resolved: s390/mm: Fix VM_FAULT_HWPOISON handling in do_exception() There is no support for HWPOISON, MEMORY_FAILURE, or ARCH_HAS_COPY_MC on s390. Affects linux versions < 6.9.12-1. Fixed in 6.9.12-1. How to fix ↓
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.
No signup required · Results in about 60 seconds
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 security features. However, vulnerabilities can arise, impacting its reliability. This specific vulnerability affects the s390 architecture, where improper handling of VM_FAULT_HWPOISON can lead to system crashes or unexpected behavior.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified in the handling of VM_FAULT_HWPOISON within the do_exception() function for the s390 architecture. This issue arises because the s390 architecture does not support HWPOISON, MEMORY_FAILURE, or ARCH_HAS_COPY_MC. As a result, encountering VM_FAULT_HWPOISON can lead to a BUG() in do_exception(), causing system instability. The vulnerability was introduced with commit af19487f00f3, which generalized the handling of PTE_MARKER_SWAPIN_ERROR, allowing VM_FAULT_HWPOISON to appear even in unsupported architectures. This can lead to unexpected faults and complicate debugging efforts.
How To Fix
Minimum fixed version
6.9.12-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 provided for this vulnerability. The best course of action is to apply the patch by updating to the fixed version of the Linux kernel.
Conclusion
The vulnerability in the Linux kernel regarding VM_FAULT_HWPOISON handling poses significant risks to systems using the s390 architecture. It is essential to update to the patched version to ensure system stability and security. Users should remain vigilant and utilize tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for linux →
FAQ
VM_FAULT_HWPOISON is a fault type in the Linux kernel that indicates a hardware memory error has occurred. It is used to manage memory errors and ensure system stability.
The vulnerability affects the s390 architecture by improperly handling VM_FAULT_HWPOISON, which can lead to system crashes and unexpected behavior.
While there are no specific workarounds, it is crucial to plan for an update as soon as possible to mitigate the risks associated with this vulnerability.
You can use Vulert, which monitors open-source vulnerabilities in your software. By utilizing the Vulert playground, you can check if your application is affected without needing to sign up.
Failing to address this vulnerability may lead to system instability, crashes, and potential data loss, especially in environments relying on the s390 architecture.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.