Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99557

published

ceph: fail readdir when the MDS reply carries no dirfrag

Published
19 Nov 2026, 14:45:28 UTC
Updated
23 Nov 2026, 08:04:22 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux81c6aea5275eae453719d7f3924da07e668265c5 to < 500d7e85af3116803d2cdae9f3a8319e782b84e2 · 81c6aea5275eae453719d7f3924da07e668265c5 to < ba0a9ccfd717a603ac10520f723cf4a4881e61b6 · 81c6aea5275eae453719d7f3924da07e668265c5 to < 12646a00f8549c9f17e5213c30bd608e81fee8f9 · 81c6aea5275eae453719d7f3924da07e668265c5 to < 4ec54ab76c627e4ff8dc29a18237f923ee1f2bee · 81c6aea5275eae453719d7f3924da07e668265c5 to < 37d01a684e6087e264895ab34b829d2267ad607c · 81c6aea5275eae453719d7f3924da07e668265c5 to < 49d7c1beac3810983869ed9260dcd444b6a51c8e · 81c6aea5275eae453719d7f3924da07e668265c5 to < d129cfc783b5ff091f5edcccf8129608ec50c000 · 81c6aea5275eae453719d7f3924da07e668265c5 to < 728c856d7da04fb79f7aa00e974ffb6f55e55995 · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.13 (affected) · 0 to < 3.13 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.61 through 6.18.* (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3538 Fixed Not stated Amazon Linux assessment
Debian bookworm linux-6.12 Advisory build 6.12.117-1~deb12u1 DLA-4927-1
Amazon Linux AL2023 kernel6.18aarch64 Listed in advisory Not stated ALAS2023-2026-3538
Amazon Linux AL2023 kernel6.18src Listed in advisory Not stated ALAS2023-2026-3538
Show 1 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 kernel6.18x86_64 Listed in advisory Not stated ALAS2023-2026-3538

Description

In the Linux kernel, the following vulnerability has been resolved: ceph: fail readdir when the MDS reply carries no dirfrag A ceph mount oopses in ceph_readdir() when the MDS answers a READDIR request with a reply whose extra blob is empty. parse_reply_info() skips reply blobs whose length is zero, so parse_reply_info_readdir() never runs, r_reply_info.dir_dir stays NULL, and the reply still parses as successful. ceph_mdsc_do_request() returns 0 and ceph_readdir() then reads rinfo->dir_dir->frag with no NULL check: /* extra */ ceph_decode_32_safe(&p, end, len, bad); if (len > 0) { ... err = parse_reply_info_extra(&p, p + len, req, features, s); ... } The oops on v7.3.0-rc4-00537-ga3ff15db6820, one getdents64(2) on the mount root after an ms_mode=legacy mount, trimmed: BUG: KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN NOPTI CPU: 1 UID: 0 PID: 266 Comm: ls Tainted: G N 7.3.0-rc4-00537-ga3ff15db6820 #1 PREEMPT(lazy) RIP: 0010:ceph_readdir+0xbff/0x3ea0 Call Trace: <TASK> ? __pfx_ceph_readdir+0x10/0x10 wrap_directory_iterator+0xa2/0xe0 iterate_dir+0x1da/0x5d0 __x64_sys_getdents64+0x13b/0x2a0 do_syscall_64+0xdd/0x4a0 entry_SYSCALL_64_after_hwframe+0x77/0x7f </TASK> The unconditional frag read came in with 81c6aea5275ea ("ceph: handle frag mismatch between readdir request and reply"), so the bug is old. Treat a reply with no dirfrag as a protocol violation: warn once, drop the request and return -EIO, the same way ceph_readdir() already handles the two malformed-reply cases later in the function. Tested on v7.3.0-rc4-00537-ga3ff15db6820 (KASAN). Unpatched, the getdents64(2) above takes the machine down (oops=panic) on the first READDIR reply. With the patch it warns once and getdents64(2) returns -EIO, no oops, no hang. A conformant reply for an empty directory — dirfrag present, zero entries, FRAG_END|FRAG_COMPLETE — still lists "." and ".." and returns EOF on both kernels, so normal readdir behavior is unchanged. The oops is still present in v7.3-rc5 (72d3fcf802c45).

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 81c6aea5275eae453719d7f3924da07e668265c5 to < 500d7e85af3116803d2cdae9f3a8319e782b84e2 (affected · git)81c6aea5275eae453719d7f3924da07e668265c5 to < ba0a9ccfd717a603ac10520f723cf4a4881e61b6 (affected · git)81c6aea5275eae453719d7f3924da07e668265c5 to < 12646a00f8549c9f17e5213c30bd608e81fee8f9 (affected · git)81c6aea5275eae453719d7f3924da07e668265c5 to < 4ec54ab76c627e4ff8dc29a18237f923ee1f2bee (affected · git)81c6aea5275eae453719d7f3924da07e668265c5 to < 37d01a684e6087e264895ab34b829d2267ad607c (affected · git)81c6aea5275eae453719d7f3924da07e668265c5 to < 49d7c1beac3810983869ed9260dcd444b6a51c8e (affected · git)81c6aea5275eae453719d7f3924da07e668265c5 to < d129cfc783b5ff091f5edcccf8129608ec50c000 (affected · git)81c6aea5275eae453719d7f3924da07e668265c5 to < 728c856d7da04fb79f7aa00e974ffb6f55e55995 (affected · git)Default: unaffected Linux · cna
Linux Linux 3.13 (affected)0 to < 3.13 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.61 through 6.18.* (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

ceph: fail readdir when the MDS reply carries no dirfrag

Provenance

Schema
5.2
Searchable
yes
Content hash
00506f4639881816b2e10a2239e2447128636035bb3c863ed17cfe9d2a25220f
Ingested
23 Nov 2026, 14:37:12 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected