Vulnerability in Linux
CVE-2024-14027
In the Linux kernel, the following vulnerability has been resolved:
fs/xattr: missing fdput() in fremovexattr error path
In the Linux kernel, the fremovexattr() syscall calls fdget() to acquire a
file reference but returns early without calling fdput() when
strncpy_from_user() fails on the name argument. In multi-threaded processes
where fdget() takes the slow path, this permanently leaks one
file reference per call, pinning the struct file and associated kernel
objects in memory. An unprivileged local user can exploit this to cause
kernel memory exhaustion. The issue was inadvertently fixed by commit
a71874379ec8 ("xattr: switch to CLASS(fd)").
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.002, 15.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions c3a5e3e872f3688ae0dc57bb78ca633921d96a91, 6.13, 6.6.51
- Linux Kernel
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- lcfr-eth/CVE-2024-14027_slop (86 stars, last pushed 2026-10-21): php2shell
- lcfr-hax/CVE-2024-14027_slop (6 stars, last pushed 2026-03-13): Exploits for CVE-2024-14027 creating using AI/Claude as a test.
References
This CVE has public exploit evidence. See the latest CVEs with public exploits.