PT-2025-22271 · Linux+4 · Linux Kernel+4
Published
2025-04-23
·
Updated
2026-04-20
·
CVE-2025-37988
CVSS v3.1
4.7
Medium
| Vector | AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue concerns a couple of races in MNT TREE BENEATH handling by do move mount(). Normally, do lock mount() locks a mountpoint pinned by the path, but in the 'beneath' case, the object being locked is not the one the path points to. It's the mountpoint of path->mnt, and without sufficient locking, ->mnt parent may change, and none of the locks are held at that point. The fix involves grabbing both dentry and mount at the same time to make inode lock() safe and avoid the problem with the filesystem getting shut down.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Race Condition
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Astra Linux
Linuxmint
Linux Kernel
Red Os
Ubuntu