Skip to main content
No exploitation reportedFix availableAwaiting NVD analysis

CVE-2026-99904

ceph: fix longname buffer overflow in ceph_fname_to_usr()

No exploitation reported by the sources we read.

  • Published2026-11-30
  • Fixed in7.3.4 · 6.18.64 · 6.12.118 · 6.6.163

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-11-3013:18CVE publishedCNA

Versions per branch

OSV
Linux kernel
BranchAffectedFixed in
7.3≥ 6.19.0, < 7.3.47.3.4
6.x≥ 6.13.0, < 6.18.646.18.64
6.x≥ 6.7.0, < 6.12.1186.12.118
6.6≥ 6.6.0, < 6.6.1636.6.163

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA2 products

As Linux, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Linuxother versions: not affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • ≥ dd66df0053ef84add5e684df517aa9b498342381, < 437541c22e9679d2cddb2028e03122d1d0851039fixed in 437541c22e9679d2cddb2028e03122d1d0851039git
    • ≥ dd66df0053ef84add5e684df517aa9b498342381, < fc4fb91ec42f1bb371f17784ac5a928c73f4f739fixed in fc4fb91ec42f1bb371f17784ac5a928c73f4f739git
    • ≥ dd66df0053ef84add5e684df517aa9b498342381, < 8b03dcc96978da9480c908b5a2fd92e697531e33fixed in 8b03dcc96978da9480c908b5a2fd92e697531e33git
    • ≥ dd66df0053ef84add5e684df517aa9b498342381, < 0c162c18a774ab36c090088d2b27ed9ddb095fa4fixed in 0c162c18a774ab36c090088d2b27ed9ddb095fa4git
    • ≥ dd66df0053ef84add5e684df517aa9b498342381, < 71975d6e0db17646102488cf54480fda9de0f7a7fixed in 71975d6e0db17646102488cf54480fda9de0f7a7git
  • Linuxother versions: affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • = 6.6no fix stated

    Not affected < 6.6 · ≥ 6.6.163, ≤ 6.6.* · ≥ 6.12.118, ≤ 6.12.* · ≥ 6.18.64, ≤ 6.18.* · ≥ 7.3.4, ≤ 7.3.* · ≥ 7.4-rc1

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-30

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • linuxDebian:14all versions · fixed in 7.3.4-1
  • linuxDebian:13all versions · fixed in 6.12.118-1

Full record on NVD

Fix

  1. Update Linux kernel to 7.3.4 · 6.18.64 · 6.12.118 · 6.6.163

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2026-11-30
Last modified
2026-11-30
NVD status
Received
GitHub advisory
GHSA-8q9q-r42c-j5mr

Frequently asked questions

What is CVE-2026-99904?

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.

Is CVE-2026-99904 actively exploited?

Active exploitation of CVE-2026-99904 has not been confirmed.

What is the CVSS score for CVE-2026-99904?

CVE-2026-99904 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.

Running Linux kernel? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record