Linux Kernel Unhandled Null Pointer Dereference Vulnerability in User Mode Linux

Vulnerability

A vulnerability in the Linux kernel's User Mode Linux (UML) architecture can lead to a null pointer dereference, causing a crash. This issue arises because the initialization of the 'cpu_tasks' array is not completed before some startup code, particularly with KCOV coverage tracking enabled, calls into functions that can trigger coverage-related checks. These checks fail because the current task context is null, leading to a crash. The vulnerability affects several versions of the Linux kernel.

Impact

The vulnerability causes a crash due to an unhandled null pointer dereference.

Reproduction

The vulnerability can be reproduced by running the Linux kernel in User Mode Linux with KCOV coverage tracking enabled. During the initialization phase, the 'cpu_tasks' array is not properly set up before some initialization code calls into 'memparse()', which has coverage annotations. This sequence triggers a crash when the coverage checks are performed, as the 'current' task context is null.

Remediation

The vulnerability has been addressed by statically initializing the 'cpu_tasks' array, ensuring that all entries are properly set before any coverage-related functions are called. Users can apply the latest patches from the Linux kernel stable tree to mitigate this issue.

Added: Jan 14, 2026, 3:47 PM
Updated: Jan 14, 2026, 4:56 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.3
remediation
7.7
relevance
2.0
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.