Linux Kernel Switchdev Notification Chain Blocking Vulnerability Leading to Deadlock

Vulnerability

A vulnerability in the Linux kernel's handling of switchdev notifications can lead to a deadlock situation. This issue arises because the blocking notification chain allows for recursive notifications, causing a read-write semaphore to be acquired multiple times for reading. Such recursion can generate lockdep warnings and potentially create unsafe locking scenarios, where a task holds a lock and tries to acquire it again, leading to a deadlock. The vulnerability has been addressed by converting the notification chain to a raw one, similar to the netdev notification chain, and by implementing additional protections and assertions to prevent future violations.

Impact

Exploitation of this vulnerability can cause a deadlock, where a process is unable to proceed because it is waiting for a lock that it has already acquired, effectively halting its execution.

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
3.2
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.