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 "__" 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.
Severity (CVSS)
| Base score | 7.5 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Provided by | CNA |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | dd66df0053ef84add5e684df517aa9b498342381 to <437541c22e9679d2cddb2028e03122d1d0851039 [affected]; dd66df0053ef84add5e684df517aa9b498342381 to <fc4fb91ec42f1bb371f17784ac5a928c73f4f739 [affected]; dd66df0053ef84add5e684df517aa9b498342381 to <8b03dcc96978da9480c908b5a2fd92e697531e33 [affected]; dd66df0053ef84add5e684df517aa9b498342381 to <0c162c18a774ab36c090088d2b27ed9ddb095fa4 [affected]; dd66df0053ef84add5e684df517aa9b498342381 to <71975d6e0db17646102488cf54480fda9de0f7a7 [affected] |
| Linux | Linux | 6.6 [affected]; 0 to <6.6 [unaffected]; 6.6.163 to <=6.6.* [unaffected]; 6.12.118 to <=6.12.* [unaffected]; 6.18.64 to <=6.18.* [unaffected]; 7.3.4 to <=7.3.* [unaffected]; 7.4-rc1 to <=* [unaffected] |
References
- https://git.kernel.org/stable/c/437541c22e9679d2cddb2028e03122d1d0851039
- https://git.kernel.org/stable/c/fc4fb91ec42f1bb371f17784ac5a928c73f4f739
- https://git.kernel.org/stable/c/8b03dcc96978da9480c908b5a2fd92e697531e33
- https://git.kernel.org/stable/c/0c162c18a774ab36c090088d2b27ed9ddb095fa4
- https://git.kernel.org/stable/c/71975d6e0db17646102488cf54480fda9de0f7a7
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 01 Dec 2026 08:04 UTC.