Linux Kernel NULL Pointer Dereference Vulnerability in Null Block Driver via io_uring Poll Request Timeout

Vulnerability

A vulnerability in the Linux kernel's null block driver can lead to a NULL pointer dereference, causing a kernel crash. This issue occurs during io_uring benchmarks on the null block device (/dev/nullb0) when poll requests time out. The vulnerability arises from a race condition between the null_timeout_rq() and null_poll() functions, where the timeout handling can be improperly managed, leading to a crash.

Impact

Exploitation of this vulnerability causes a kernel panic due to a NULL pointer dereference, disrupting system operations and potentially leading to a denial of service.

Reproduction

To reproduce this vulnerability, perform io_uring benchmarks on the null block device (/dev/nullb0) while inducing poll request timeouts. This can be done by configuring the io_uring requests to timeout before they are completed, which will trigger the race condition between the polling and timeout handling in the null block driver.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been patched. The specific commit addressing this issue is available in the Linux kernel stable tree.

Added: Oct 1, 2025, 1:23 PM
Updated: Oct 1, 2025, 1:23 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.3
remediation
7.7
relevance
0.6
threat
4.8
urgency
2.9
incentive
1.7

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