# CVE-2024-14027: xattr: switch to CLASS(fd)

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-03-09T15:51:12.634Z
- Modified: 2026-11-05T21:17:32.583Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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)").

(As written by CVE List.)

## Affected

- Linux Linux: from c03185f4a23e7f89d84c9981091770e876e64480 before 9a3a2ae5efbbcaed37551218abed94e23c537157; from c3a5e3e872f3688ae0dc57bb78ca633921d96a91 before d151b94967c8247005435b63fc60f8f4baa320da; from c3a5e3e872f3688ae0dc57bb78ca633921d96a91 before a71874379ec8c6e788a61d71b3ad014a8d9a5c08; 8d5863cb33aa424fc27115ee945ad6b96ae2facb; from 6.6.51 before 6.6.133; from 6.10.10 before 6.11; 6.11 (not affected: before 6.11; from 6.6.133 up to 6.6.*; from 6.12.77 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 6.6.51 before 6.6.133; from 6.10.10 before 6.12.77

## References

- <https://git.kernel.org/stable/c/9a3a2ae5efbbcaed37551218abed94e23c537157> (patch)
- <https://git.kernel.org/stable/c/d151b94967c8247005435b63fc60f8f4baa320da> (patch)
- <https://git.kernel.org/stable/c/a71874379ec8c6e788a61d71b3ad014a8d9a5c08> (patch)

## Sources

- CVE List: [CVE-2024-14027](https://www.cve.org/CVERecord?id=CVE-2024-14027), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2024-14027](https://nvd.nist.gov/vuln/detail/CVE-2024-14027), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2024-14027 · Whole record: https://cve.day/CVE-2024-14027.json · Rebuilt by cve.day 2026-11-25T22:58:52.985Z
