{"id":"CVE-2026-99557","aliases":[],"cve":{"records":[{"id":"CVE-2026-99557","source":"Linux","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-25T10:25:14.421Z","published":"2026-11-19T14:45:28.825Z","modified":"2026-11-19T14:45:28.825Z"}],"publishers":[{"name":"Linux","role":"CNA","organizationId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","modified":"2026-11-19T14:45:28.825Z"}],"references":[{"url":"https://git.kernel.org/stable/c/37d01a684e6087e264895ab34b829d2267ad607c","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/49d7c1beac3810983869ed9260dcd444b6a51c8e","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/d129cfc783b5ff091f5edcccf8129608ec50c000","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/728c856d7da04fb79f7aa00e974ffb6f55e55995","tags":[],"source":"Linux"}],"weaknesses":[],"applicability":[{"source":"Linux","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"7.4-rc1"}]}]}]}],"prioritization":[]},"title":"ceph: fail readdir when the MDS reply carries no dirfrag","titleSource":"Linux","descriptionSource":"Linux","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: fail readdir when the MDS reply carries no dirfrag\n\nA ceph mount oopses in ceph_readdir() when the MDS answers a READDIR\nrequest with a reply whose extra blob is empty.  parse_reply_info()\nskips reply blobs whose length is zero, so parse_reply_info_readdir()\nnever runs, r_reply_info.dir_dir stays NULL, and the reply still\nparses as successful.  ceph_mdsc_do_request() returns 0 and\nceph_readdir() then reads rinfo->dir_dir->frag with no NULL check:\n\n\t/* extra */\n\tceph_decode_32_safe(&p, end, len, bad);\n\tif (len > 0) {\n\t\t...\n\t\terr = parse_reply_info_extra(&p, p + len, req, features, s);\n\t\t...\n\t}\n\nThe oops on v7.3.0-rc4-00537-ga3ff15db6820, one getdents64(2) on the\nmount root after an ms_mode=legacy mount, trimmed:\n\nBUG: KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]\nOops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN NOPTI\nCPU: 1 UID: 0 PID: 266 Comm: ls Tainted: G                 N  7.3.0-rc4-00537-ga3ff15db6820 #1 PREEMPT(lazy)\nRIP: 0010:ceph_readdir+0xbff/0x3ea0\nCall Trace:\n <TASK>\n ? __pfx_ceph_readdir+0x10/0x10\n wrap_directory_iterator+0xa2/0xe0\n iterate_dir+0x1da/0x5d0\n __x64_sys_getdents64+0x13b/0x2a0\n do_syscall_64+0xdd/0x4a0\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n </TASK>\n\nThe unconditional frag read came in with 81c6aea5275ea (\"ceph: handle\nfrag mismatch between readdir request and reply\"), so the bug is old.\n\nTreat a reply with no dirfrag as a protocol violation: warn once,\ndrop the request and return -EIO, the same way ceph_readdir() already\nhandles the two malformed-reply cases later in the function.\n\nTested on v7.3.0-rc4-00537-ga3ff15db6820 (KASAN).  Unpatched, the\ngetdents64(2) above takes the machine down (oops=panic) on the first\nREADDIR reply.  With the patch it warns once and getdents64(2)\nreturns -EIO, no oops, no hang.  A conformant reply for an empty\ndirectory — dirfrag present, zero entries, FRAG_END|FRAG_COMPLETE —\nstill lists \".\" and \"..\" and returns EOF on both kernels, so normal\nreaddir behavior is unchanged.  The oops is still present in\nv7.3-rc5 (72d3fcf802c45).","score":null,"severity":"unknown","published":"2026-11-19T14:45:28.825Z","modified":"2026-11-19T14:45:28.825Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"81c6aea5275eae453719d7f3924da07e668265c5","status":"affected","lessThan":"37d01a684e6087e264895ab34b829d2267ad607c","versionType":"git"},{"version":"81c6aea5275eae453719d7f3924da07e668265c5","status":"affected","lessThan":"49d7c1beac3810983869ed9260dcd444b6a51c8e","versionType":"git"},{"version":"81c6aea5275eae453719d7f3924da07e668265c5","status":"affected","lessThan":"d129cfc783b5ff091f5edcccf8129608ec50c000","versionType":"git"},{"version":"81c6aea5275eae453719d7f3924da07e668265c5","status":"affected","lessThan":"728c856d7da04fb79f7aa00e974ffb6f55e55995","versionType":"git"}],"defaultStatus":"unaffected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99557"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"3.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.13","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"defaultStatus":"affected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99557"}],"remediation":[],"references":["https://git.kernel.org/stable/c/37d01a684e6087e264895ab34b829d2267ad607c","https://git.kernel.org/stable/c/49d7c1beac3810983869ed9260dcd444b6a51c8e","https://git.kernel.org/stable/c/d129cfc783b5ff091f5edcccf8129608ec50c000","https://git.kernel.org/stable/c/728c856d7da04fb79f7aa00e974ffb6f55e55995"],"sources":[{"name":"CVE","id":"CVE-2026-99557","modified":"2026-11-19T14:45:28.825Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99557"}],"assessments":[],"sourceAffected":[],"observedAt":"2026-11-19T15:00:35.032Z","kev":{"status":"not-listed","checkedAt":"2026-11-22T13:00:31.692Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-22T01:30:35.998Z","attemptedAt":"2026-11-22T01:30:35.998Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-22T01:10:33.865Z","attemptedAt":"2026-11-22T01:10:33.865Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-22T00:50:33.035Z","attemptedAt":"2026-11-22T00:50:33.035Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-22T00:25:33.893Z","attemptedAt":"2026-11-22T00:25:33.893Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-99557","url":"https://www.first.org/epss/","probability":0.00157,"percentile":0.04834,"date":"2026-11-21","checkedAt":"2026-11-22T00:25:33.893Z"},{"source":"ENISA EUVD","id":"EUVD-2026-130281","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-130281","modified":"Nov 19, 2026, 2:45:28 PM","checkedAt":"2026-11-22T00:50:33.035Z"},{"source":"GitHub Advisory Database","id":"GHSA-5439-wpx5-8grf","url":"https://github.com/advisories/GHSA-5439-wpx5-8grf","modified":"2026-11-19T15:31:31Z","checkedAt":"2026-11-22T01:10:33.865Z"},{"source":"NVD","id":"CVE-2026-99557","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99557","modified":"2026-11-19T15:18:12.237","checkedAt":"2026-11-22T01:30:35.998Z"}],"aiSummary":{"text":"The Linux kernel's ceph module has a vulnerability where it fails to handle a readdir request when the MDS reply carries no dirfrag, causing a null pointer dereference. This issue affects Linux kernel versions starting from 3.13 up to but not including 6.12.117, 6.18.61, and 7.3.2. The vulnerability requires local access to the system and can cause a general protection fault.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-19T15:56:04.862Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-99557"}]}}