{
  "affected": [
    {
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      },
      "package": {
        "ecosystem": "Debian:12",
        "name": "linux"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      },
      "package": {
        "ecosystem": "Debian:13",
        "name": "linux"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.12.117-1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      },
      "package": {
        "ecosystem": "Debian:14",
        "name": "linux"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7.3.4-1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "details": "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:  \terr = ceph_mdsc_wait_request(...)\t/* e.g. +0x50fc00 */ \t... \tif (err) \t\tdentry = 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() -\u003e ceph_atomic_open() -\u003e ERR_PTR() in fs/namei.c's atomic_open() wrapper -\u003e 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:  \u003cTASK\u003e  ? __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  \u003c/TASK\u003e  (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-\u003eresult, 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.",
  "id": "DEBIAN-CVE-2026-99893",
  "modified": "2026-12-01T03:47:35.541037959Z",
  "published": "2026-11-30T14:20:24.453Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://security-tracker.debian.org/tracker/CVE-2026-99893"
    }
  ],
  "upstream": [
    "CVE-2026-99893"
  ]
}