{
  "id": "CVE-2026-46029",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-46029",
  "published_at": "2026-05-27T12:56:38.376Z",
  "title": "mm/slab: return NULL early from kmalloc_nolock() in NMI on UP",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/slab: return NULL early from kmalloc_nolock() in NMI on UP\n\nOn UP kernels (!CONFIG_SMP), spin_trylock() is a no-op that\nunconditionally succeeds even when the lock is already held. As a\nresult, kmalloc_nolock() called from NMI context can re-enter the slab\nallocator and acquire n-\u003elist_lock that the interrupted context is\nalready holding, corrupting slab state.\n\nWith CONFIG_DEBUG_SPINLOCK on UP, the following BUG is triggered with\nthe slub_kunit test module:\n\n  BUG: spinlock trylock failure on UP on CPU#0, kunit_try_catch/243\n  [...]\n  Call Trace:\n   \u003cNMI\u003e\n   dump_stack_lvl+0x3f/0x60\n   do_raw_spin_trylock+0x41/0x50\n   _raw_spin_trylock+0x24/0x50\n   get_from_partial_node+0x120/0x4d0\n   ___slab_alloc+0x8a/0x4c0\n   kmalloc_nolock_noprof+0x164/0x310\n   [...]\n   \u003c/NMI\u003e\n\nFix this by returning NULL early when invoked from NMI on a UP kernel.",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= af92793e52c3a99b828ed4bdd277fd3e11c18d08, \u003c a8d95d274be241ad21f6523bf2d6ba0d7d7e46b7",
          "\u003e= af92793e52c3a99b828ed4bdd277fd3e11c18d08, \u003c d66553204a15bdb257d9ef8aca1e12f5fbb910b2",
          "\u003e= af92793e52c3a99b828ed4bdd277fd3e11c18d08, \u003c 5b31044e649e3e54c2caef135c09b371c2fbcd08"
        ],
        "fixed_in": [
          "a8d95d274be241ad21f6523bf2d6ba0d7d7e46b7",
          "d66553204a15bdb257d9ef8aca1e12f5fbb910b2",
          "5b31044e649e3e54c2caef135c09b371c2fbcd08"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.18"
        ],
        "fixed_in": [
          "0",
          "6.18.27",
          "7.0.4",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to a8d95d274be241ad21f6523bf2d6ba0d7d7e46b7 or d66553204a15bdb257d9ef8aca1e12f5fbb910b2 or 5b31044e649e3e54c2caef135c09b371c2fbcd08 or later.",
      "Upgrade Linux to 0 or 6.18.27 or 7.0.4 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
