PT-2025-14592 · Linux+10 · Linux Kernel+10
Published
2025-04-03
·
Updated
2026-04-20
·
CVE-2025-21999
CVSS v3.1
7.8
High
| Vector | AV: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.
Exploit
DoS
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu