CVE-2024-43871
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-43871 is a memory leakage vulnerability in the Linux kernel's device resource management system, specifically in the driver API devmfreepercpu(). The vulnerability was discovered on July 2, 2024, and was publicly disclosed on August 20, 2024. It affects Linux kernel versions from 4.10 through 6.10.3 (NVD).

Technical details

The vulnerability occurs when using the driver API devmfreepercpu() to free memory that was allocated by devmallocpercpu(). The issue stems from the use of devresdestroy() instead of devresrelease() within the devmfreepercpu() function, which leads to memory leakage. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, indicating local access required with high impact on availability (NVD).

Impact

The vulnerability results in memory leakage in the Linux kernel when using specific driver API functions. This can lead to resource exhaustion over time, potentially affecting system stability and performance. The CVSS score indicates that while there is no impact on confidentiality or integrity, there is a high impact on system availability (NVD).

Mitigation and workarounds

The vulnerability has been fixed by replacing devresdestroy() with devresrelease() within the devmfreepercpu() function. The fix has been implemented in multiple kernel versions and backported to affected stable kernels. Users should update to patched kernel versions that include the fix (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management