Linux Kernel Data-Race Vulnerability in UDP Handling

Vulnerability

A data-race vulnerability has been identified in the Linux kernel's UDP handling within the IPv6 protocol. This issue arises because the UDP sendmsg function operates without locks, allowing one thread to read the sk->sk_bound_dev_if field while another thread may be modifying it. The vulnerability has been addressed by adding minimal annotations to prevent data-race warnings from the Kernel Concurrency Sanitizer. The data race was reported during the execution of a fuzzing tool, which highlighted the concurrent access issue.

Impact

Exploitation of this vulnerability leads to a data race condition, where two threads access shared data simultaneously, potentially causing inconsistent or unexpected behavior in the application.

Reproduction

The vulnerability can be reproduced by using a fuzzing tool, such as syzkaller, which sends UDP packets over IPv6. This process creates a race condition by concurrently modifying and reading the sk->sk_bound_dev_if field, triggering the data-race vulnerability.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.3
remediation
0.0
relevance
0.0
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.