Security mailing lists by PureSourceCode

CVE-2026-99904

HIGH 7.5CVSS 3.1

ceph: fix longname buffer overflow in ceph_fname_to_usr()

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.

Published
30 Nov 2026
Last modified
1 Dec 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= dd66df0053ef84add5e684df517aa9b498342381, < 437541c22e9679d2cddb2028e03122d1d0851039; >= dd66df0053ef84add5e684df517aa9b498342381, < fc4fb91ec42f1bb371f17784ac5a928c73f4f739; >= dd66df0053ef84add5e684df517aa9b498342381, < 8b03dcc96978da9480c908b5a2fd92e697531e33; >= dd66df0053ef84add5e684df517aa9b498342381, < 0c162c18a774ab36c090088d2b27ed9ddb095fa4; >= dd66df0053ef84add5e684df517aa9b498342381, < 71975d6e0db17646102488cf54480fda9de0f7a7 437541c22e9679d2cddb2028e03122d1d0851039, fc4fb91ec42f1bb371f17784ac5a928c73f4f739, 8b03dcc96978da9480c908b5a2fd92e697531e33, 0c162c18a774ab36c090088d2b27ed9ddb095fa4, 71975d6e0db17646102488cf54480fda9de0f7a7
CVE List Linux Linux = 6.6

References

History

  • 1 Dec 2026 06:48 UTC · NVD: scored 7.5
  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:31 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.