CVE-2024-35880
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-35880 is a vulnerability in the Linux kernel's iouring subsystem, specifically related to buffer list reference handling during memory mapping operations. The vulnerability was discovered on April 2, 2024, and publicly disclosed on May 19, 2024. It affects the Linux kernel's iouring implementation, particularly the handling of buffer lists during mmap operations (NVD, RedHat).

Technical details

The vulnerability stems from improper reference handling in the iouring/kbuf subsystem during mmap operations. The issue occurs because the iouring lock cannot be safely used inside mmap, potentially leading to a race condition where the buffer list could be unregistered while still in use. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) by Red Hat, while ZDI assigned it a higher CVSS score of 7.8 (AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H) (RedHat, ZDI).

Impact

According to the Zero Day Initiative, this vulnerability allows local attackers to escalate privileges on affected Linux kernel installations. An attacker must first obtain the ability to execute low-privileged code on the target system. The successful exploitation could lead to arbitrary code execution in the context of the kernel (ZDI).

Mitigation and workarounds

Linux has issued an update to correct this vulnerability. The fix involves modifying the buffer list reference handling to ensure proper reference counting during mmap operations. The solution uses RCU (Read-Copy-Update) mechanism to safely look up the buffer list and maintain a reference to it until the operation is complete (RedHat).

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