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-99893

published

ceph: clamp MDS reply result code to the errno range

Published
30 Nov 2026, 13:18:02 UTC
Updated
30 Nov 2026, 13:18:02 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux2f2dc053404febedc9c273452d9d518fb31fde72 to < efefac988d721fb2d5999e0c7a134acbb96ea584 · 2f2dc053404febedc9c273452d9d518fb31fde72 to < 819afa8919e26e4af00cf88eb802a4f57090c05d · 2f2dc053404febedc9c273452d9d518fb31fde72 to < dab55228e6c1efaa14f10ff58813617994715854 · 2f2dc053404febedc9c273452d9d518fb31fde72 to < 1249c83d8c2613717f7bc54a67edb1cabfa985f6 · 2f2dc053404febedc9c273452d9d518fb31fde72 to < 1456fa7445322e5f1924e02aeb61ebc6ea08d696 · 2f2dc053404febedc9c273452d9d518fb31fde72 to < 5f4eda68e31881d82d017a1bd51d774fd342f23b · 2f2dc053404febedc9c273452d9d518fb31fde72 to < 6eaba9183c3504790b545dfe87f7d551d2da999f · 2f2dc053404febedc9c273452d9d518fb31fde72 to < ec8d583469ed64b4973192a21b5a41c33219721f · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.34 (affected) · 0 to < 2.6.34 (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.63 through 6.18.* (unaffected · semver) · 7.3.4 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

Description

In the Linux kernel, the following vulnerability has been resolved: ceph: clamp MDS reply result code to the errno range ceph_mdsc_wait_request() returns the reply head result code of the MDS request to its callers as a plain int errno. The value is a server-controlled u32 and nothing checks that it actually is an errno; several callers pass it straight to ERR_PTR(), e.g. ceph_finish_lookup() on the atomic open path: err = ceph_mdsc_wait_request(...) /* e.g. +0x50fc00 */ ... if (err) dentry = ERR_PTR(err); IS_ERR() only recognizes the [-MAX_ERRNO, -1] window, so an out-of-range value is not caught anywhere and survives as a "struct dentry *". On the open path the positive error travels ceph_finish_lookup() -> ceph_atomic_open() -> ERR_PTR() in fs/namei.c's atomic_open() wrapper -> step_into(), which dereferences it as a dentry and oopses (mainline 7.3-rc3-135-g4982d3552a3b, the value in R12 is the server-supplied result): BUG: KASAN: probably user-memory-access in range [0x000000000050fc00-0x000000000050fc07] RIP: 0010:step_into_slowpath+0x3e3/0xe60 R12: 000000000050fc00 Call Trace: <TASK> ? __pfx_ceph_atomic_open+0x10/0x10 path_openat+0xf41/0x2440 do_file_open+0x228/0x480 do_sys_openat2+0x103/0x1d0 __x64_sys_openat+0x141/0x200 do_syscall_64+0xe8/0x4f0 entry_SYSCALL_64_after_hwframe+0x77/0x79 </TASK> (0xdffffc00000a1f80 in the full report is the KASAN shadow of 0x50fc00; without KASAN the raw value is read.) Values with the top bit set fare no better: 0xd8000000 sign-extends through the int conversion into the kernel address range and takes a page fault instead. Clamp the result at the single read and return -EIO for anything outside the errno range, which is what a malformed reply means there. net/9p does the same to server errno values with safe_errno(). This is the path the reported crash takes; the other readers of head->result, including the ceph_async_create_cb() and ceph_async_unlink_cb() callbacks, are not covered by this patch. Each of the six crashing opens was run on a build of 7.3-rc3-135-g4982d3552a3bf with only this change applied: it crashes the unpatched kernel on the first openat() (verified on the same tree without the patch), and with the patch the open fails cleanly without an oops. A few hundred normal file operations on the patched kernel also completed without a crash; valid errno values pass through unchanged.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

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 2f2dc053404febedc9c273452d9d518fb31fde72 to < efefac988d721fb2d5999e0c7a134acbb96ea584 (affected · git)2f2dc053404febedc9c273452d9d518fb31fde72 to < 819afa8919e26e4af00cf88eb802a4f57090c05d (affected · git)2f2dc053404febedc9c273452d9d518fb31fde72 to < dab55228e6c1efaa14f10ff58813617994715854 (affected · git)2f2dc053404febedc9c273452d9d518fb31fde72 to < 1249c83d8c2613717f7bc54a67edb1cabfa985f6 (affected · git)2f2dc053404febedc9c273452d9d518fb31fde72 to < 1456fa7445322e5f1924e02aeb61ebc6ea08d696 (affected · git)2f2dc053404febedc9c273452d9d518fb31fde72 to < 5f4eda68e31881d82d017a1bd51d774fd342f23b (affected · git)2f2dc053404febedc9c273452d9d518fb31fde72 to < 6eaba9183c3504790b545dfe87f7d551d2da999f (affected · git)2f2dc053404febedc9c273452d9d518fb31fde72 to < ec8d583469ed64b4973192a21b5a41c33219721f (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.34 (affected)0 to < 2.6.34 (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.63 through 6.18.* (unaffected · semver)7.3.4 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: clamp MDS reply result code to the errno range

Provenance

Schema
5.2
Searchable
yes
Content hash
9e6266507878cbc037cd61cc0d3b3ed6f709ad73ed7c9db58504dfc35d547aa0
Ingested
30 Nov 2026, 13:30:07 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