Linux Kernel AFS Subsystem Lock Management Vulnerability

Vulnerability

A vulnerability in the Linux kernel's AFS (Andrew File System) subsystem has been addressed. The issue was related to improper lock management, where a lock was held when returning to user space, potentially leading to synchronization problems. This occurred because the function could return directly when the argument count was less than zero, leaving the inode lock unreleased. The vulnerability has been fixed by modifying the function to store the error code and jump to a cleanup section, ensuring that locks are properly released before returning.

Impact

Exploitation of this vulnerability could lead to a deadlock situation, where a process holds a lock and fails to release it, potentially causing system instability or resource contention issues.

Reproduction

The vulnerability can be reproduced by using the Syzkaller fuzzer, which can trigger the AFS address preference write function. This will result in the kernel returning to user space while still holding an inode lock, creating a lock management issue.

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