CVE-2026-99904
Last modified
CVE-2026-99904 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: ceph: fix longname buffer overflow in ceph_fname_to_usr() Snapshot longname reconstruction formats "_<name>_<inode>" via snprintf() and memcpy()s the result into oname->name. Checking the length against NAME_MAX only protects the LOOKUPNAME/export callers, whose buffer is allocated with fscrypt_fname_alloc_buffer(NAME_MAX).
Description
In the Linux kernel, the following vulnerability has been resolved: ceph: fix longname buffer overflow in ceph_fname_to_usr() Snapshot longname reconstruction formats "_<name>_<inode>" via snprintf() and memcpy()s the result into oname->name. Checking the length against NAME_MAX only protects the LOOKUPNAME/export callers, whose buffer is allocated with fscrypt_fname_alloc_buffer(NAME_MAX). The readdir path points oname->name straight at the altname in the MDS reply, whose capacity is altname_len; the reconstructed name can exceed that while still fitting under NAME_MAX, overflowing the in-place destination. Save the actual oname->len before the decryption overwrites it, and fail with -ENAMETOOLONG when the reconstructed name would not fit.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= dd66df0053ef84add5e684df517aa9b498342381, < 437541c22e9679d2cddb2028e03122d1d0851039; >= dd66df0053ef84add5e684df517aa9b498342381, < fc4fb91ec42f1bb371f17784ac5a928c73f4f739; >= dd66df0053ef84add5e684df517aa9b498342381, < 8b03dcc96978da9480c908b5a2fd92e697531e33; >= dd66df0053ef84add5e684df517aa9b498342381, < 0c162c18a774ab36c090088d2b27ed9ddb095fa4; >= dd66df0053ef84add5e684df517aa9b498342381, < 71975d6e0db17646102488cf54480fda9de0f7a7 |
| Linux | Linux | 6.6 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99904?
How severe is CVE-2026-99904?
How do I fix CVE-2026-99904?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99899In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9990Use after free in WebAppInstalls in Google Chrome on Mac pri…7.5
- CVE-2026-99900In the Linux kernel, the following vulnerability has been re…8.2
- CVE-2026-99901In the Linux kernel, the following vulnerability has been re…8.2
- CVE-2026-99902In the Linux kernel, the following vulnerability has been re…8.2
- CVE-2026-99903In the Linux kernel, the following vulnerability has been re…8.1
- CVE-2026-99905In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99906In the Linux kernel, the following vulnerability has been re…7
- CVE-2026-99907In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99908In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99909In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9991Inappropriate implementation in Media in Google Chrome on Wi…3.1
Are you affected by CVE-2026-99904?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
