Linux Kernel Use-After-Free Vulnerability in proc_get_inode

Vulnerability

A use-after-free vulnerability has been identified in the Linux kernel's proc_get_inode function. This issue arises from a race condition between module removal and the instantiation of inodes in the /proc filesystem. The vulnerability occurs because the procedure entry's operations are dereferenced after the entry has been registered, leading to the potential access of freed memory. Exploitation of this vulnerability can cause a page fault, disrupting normal system operations.

Impact

Exploitation of this vulnerability leads to a use-after-free condition, causing a page fault and potentially allowing for arbitrary code execution or other memory corruption issues.

Reproduction

The vulnerability can be reproduced by creating a /proc entry that uses a module's proc_ops. After the entry is registered, the module can be removed, freeing the associated memory. A subsequent access to the proc_ops will dereference a pointer to the freed memory, triggering the use-after-free condition.

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.