CVE-2026-99904
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Fixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | linux |
Fixed | 6.12.118-1 |
| sid | linux |
Fixed | 7.3.4-1 |
| forky | linux |
Fixed | 7.3.4-1 |
| bookworm | linux |
Not affected | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| linux | linux | 6.6 | |
References
- https://git.kernel.org/stable/c/0c162c18a774ab36c090088d2b27ed9ddb095fa4
- https://git.kernel.org/stable/c/437541c22e9679d2cddb2028e03122d1d0851039
- https://git.kernel.org/stable/c/71975d6e0db17646102488cf54480fda9de0f7a7
- https://git.kernel.org/stable/c/8b03dcc96978da9480c908b5a2fd92e697531e33
- https://git.kernel.org/stable/c/fc4fb91ec42f1bb371f17784ac5a928c73f4f739
- https://security-tracker.debian.org/tracker/CVE-2026-99904
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.