Critical Null Pointer Dereference in Linux Kernel Package: linux
Summary
DEBIAN-CVE-2024-43874: In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - Fix null pointer dereference in sev_snp_shutdown_locked Fix a null pointer dereference induced by DEBUG_TEST_DRIVER_REMOVE. Affects linux versions < 6.10.3-1. Fixed in 6.10.3-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' package is a core component of the Debian operating system, providing the Linux kernel that manages system resources and hardware interactions. It is essential for the functioning of the entire operating system, enabling applications to run and hardware to operate effectively. This package is frequently updated to address security vulnerabilities and improve performance.
Vulnerability Detail
The vulnerability identified as DEBIAN-CVE-2024-43874 is a critical null pointer dereference in the Linux kernel, specifically within the crypto: ccp module. This issue arises from an uninitialized state of the psp_device or sev_device structures, leading to a potential crash of the kernel when the __sev_snp_shutdown_locked function is called. The consequences of this vulnerability include system instability and crashes, which can disrupt services and lead to data loss. The vulnerability was introduced in earlier versions and has been fixed in version 6.10.3-1.
How To Fix
Minimum fixed version
6.10.3-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
As a temporary workaround, users can avoid triggering the vulnerable function by ensuring that the psp_device and sev_device structures are properly initialized before use. However, it is strongly recommended to apply the patch as the best course of action.
Conclusion
The vulnerability DEBIAN-CVE-2024-43874 in the Linux kernel package 'linux' poses significant risks due to a null pointer dereference issue. Users are urged to update to version 6.10.3-1 or later to mitigate these risks. Regular updates and monitoring for vulnerabilities are essential for maintaining system security.
See every vulnerability recorded for linux →
FAQ
A null pointer dereference occurs when a program attempts to access memory at an address that is null (zero), leading to crashes or unpredictable behavior.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.
Failing to fix this vulnerability can lead to system crashes, data loss, and potential exploitation by malicious actors, compromising system integrity.
While this vulnerability is documented for Debian's linux package, similar vulnerabilities may exist in other distributions or versions of the Linux kernel.
It is advisable to regularly check for updates and apply them promptly, especially for critical security patches, to maintain system security and stability.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.