Out-of-Bounds Read Vulnerability in Linux Kernel - CVE-2024-57982
Summary
CVE-2024-57982: In the Linux kernel, the following vulnerability has been resolved: xfrm: state: fix out-of-bounds read during lookup lookup and resize can run in parallel. Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. 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, 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-57982 specifically affects the xfrm (IPsec transformation) subsystem, which is responsible for handling network packet transformations. This vulnerability arises from a race condition that can lead to out-of-bounds reads during state lookups, potentially compromising system integrity.
Vulnerability Detail
CVE-2024-57982 is a vulnerability in the Linux kernel's xfrm subsystem that allows for an out-of-bounds read during state lookups. The issue occurs when the lookup and resize operations run in parallel, leading to a situation where the hash functions can access a hmask value that exceeds the bounds of the new hlist array. This can result in inconsistent data being read, which may lead to system crashes or exploitation by attackers. The vulnerability is rooted in the improper handling of state updates and lookups, which can be exploited if not addressed.
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
As a temporary workaround, users can avoid using the xfrm subsystem until the patch is applied. Additionally, implementing stricter access controls and monitoring network traffic can help mitigate potential exploitation until a fix is in place.
Conclusion
CVE-2024-57982 is a critical vulnerability in the Linux kernel's xfrm subsystem that can lead to out-of-bounds reads, posing significant risks to system integrity. Users are advised to update their systems to the latest patched version to mitigate these risks. For ongoing monitoring, tools like Vulert can provide real-time alerts for vulnerabilities in open-source software.
See every vulnerability recorded for linux →
FAQ
CVE-2024-57982 is a vulnerability in the Linux kernel that allows for out-of-bounds reads in the xfrm subsystem, potentially leading to system instability or exploitation.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability.
The risks include potential system crashes, data corruption, or exploitation by attackers, which could lead to unauthorized access or control over the system.
Yes, a patch is available. Users should update their Linux kernel to the latest version that includes the fix for CVE-2024-57982.
If you cannot apply the patch immediately, consider implementing stricter access controls and monitoring network traffic to mitigate potential risks.
Related vulnerabilities
Recent vulnerabilities recorded for linux.