PT-2025-14592
CVE-2025-21999
·
Published
2025-04-03
·
Updated
2026-11-06
Description by
CVSS 3.1
7.8
HighMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A use-after-free (UAF) bug has been fixed in the Linux kernel, specifically in the
proc get inode() function. The issue arises from a race condition between the removal of a module (rmmod) and the instantiation of an inode for a /proc/XXX entry. The problem occurs because pde->proc ops belongs to a module, not to /proc, and dereferencing it after the /proc entry has been registered is incorrect unless the use pde/unuse pde() pair has been used. To avoid this, information necessary for inode instantiation can be saved before proc register() in the PDE itself and used later, thus avoiding the dereference of pde->proc ops. This bug can trigger a UAF error when the module is already freed.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾