Linux Kernel - AFS and RXRPC Peer Hash Locking Issue
CVE-2025-21809
Summary
A locking issue in the Linux kernel arises from the interaction between RXRPC and AFS, specifically in the peer hash locking mechanism. The vulnerability occurs during the cleanup process, where traditional spinlocks are used instead of BH-disabling locks. This mismatch can lead to deadlock scenarios, particularly if RXRPC operations are executed concurrently with RCU callbacks within the AFS module. Correcting this issue requires reverting to BH-disabling locks for RXRPC's peer hash management, thus ensuring safe locking behavior under different execution contexts.
Affected Version(s)
Linux 72904d7b9bfbf2dd146254edea93958bc35bbbfe < 10ba5a3d57af20e494e0d979d1894260989235dd
Linux 72904d7b9bfbf2dd146254edea93958bc35bbbfe < 0e77dd41689637ac4e1b8fe0f27541f373640855
Linux 72904d7b9bfbf2dd146254edea93958bc35bbbfe < 79d458c13056559d49b5e41fbc4b6890e68cf65b
References
Timeline
Vulnerability published
Vulnerability Reserved