PT-2025-16712 · Linux+5 · Linux Kernel+5
Published
2025-03-13
·
Updated
2026-05-26
·
CVE-2025-22072
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/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 problem with gang directory lifetimes in the Linux kernel. Specifically, the creation of a gang returns an opened gang directory, which should be removed when closed. However, if a context belonging to that gang is created and kept alive until the gang is closed, the removal fails, resulting in a leak. The initial fix for this problem was incorrect, leading to issues with the dentry of the gang directory not being pinned and the rmdir on close being gone. This caused problems, including an unbalanced dput() when open failed and a link count on the root directory not being undone when the gang was destroyed.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Memory Leak
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Ubuntu