
Cloud Vulnerability DB
A community-led vulnerabilities database
A use-after-free vulnerability was discovered in the Linux kernel before version 5.2.6, identified as CVE-2019-20934. The vulnerability exists in the Linux fair scheduler's implementation of displaying NUMA statistics, specifically in the show_numa_stats() function, where NUMA fault statistics are inappropriately freed (CVE Details).
The vulnerability occurs during execve() operations where NUMA fault statistics are freed while concurrent readers may still access them. During execve, the task remains accessible through procfs and the scheduler. A concurrent /proc/*/sched reader could potentially read data from a freed ->numa_faults allocation and write it back to userspace. Additionally, a use-after-free read could occur through a race between a NUMA fault and execve(), where task_numa_fault() can lead to task_numa_compare(), which invokes task_weight() on the currently running task of a different CPU (Kernel Commit).
The vulnerability could lead to memory corruption and potential system crashes due to the use-after-free condition. This could affect systems utilizing NUMA (Non-Uniform Memory Access) architecture and could potentially be exploited to cause denial of service conditions (Debian Tracker).
The vulnerability requires local access to the system and the ability to execute programs that trigger the NUMA statistics display functionality. The issue was confirmed through KASAN (Kernel Address Sanitizer) testing, which detected the use-after-free condition (Kernel Commit).
The vulnerability was fixed in Linux kernel version 5.2.6 by modifying the NUMA fault statistics handling during execve(). Instead of freeing the statistics, they are now zeroed out. This approach was chosen over alternatives such as making ->numa_faults RCU-managed or adding extra locking, as it provided a simpler and more effective solution (Kernel Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."