Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
- >= 6.3.0-rc3, < 6.3.0-rc3+
A deadlock vulnerability has been identified in the Linux kernel's net/mlx5e component, specifically within the traffic control (tc) route query process. This issue arises when peer flows are established while holding the device communication (devcom) read-write semaphore, leading to an ABBA deadlock scenario. The problem is exacerbated by the peer flows offload implementation, which requires the lock to be acquired higher up the call chain, creating a complex situation that is not easily resolvable. The deadlock can occur when the 'comp.sem' lock is held while trying to acquire the 'esw->offloads.encap_tbl_lock', as demonstrated by the circular locking dependency warning. The vulnerability affects Linux kernel versions through 6.3.0-rc3.
Exploitation of this vulnerability leads to a deadlock, where the system becomes unresponsive due to circular locking dependencies. This is evidenced by a warning of a possible circular locking dependency detected, followed by a stack trace showing the locks held by the process, indicating a deadlock situation.
The vulnerability can be reproduced by creating peer flows in the mlx5e component while holding the devcom read-write semaphore. This can be done by triggering the traffic control route query process, which will attempt to acquire locks in a way that creates a circular dependency, causing a deadlock.
The vulnerability has been addressed in the Linux kernel stable tree. Users can upgrade to the latest version to mitigate this issue.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.