CVE-2026-46029
mm/slab: return NULL early from kmalloc_nolock() in NMI on UP
Reported by linux · Published May 27, 2026
In the Linux kernel, the following vulnerability has been resolved: mm/slab: return NULL early from kmalloc_nolock() in NMI on UP On UP kernels (!CONFIG_SMP), spin_trylock() is a no-op that unconditionally succeeds even when the lock is already held. As a result, kmalloc_nolock() called from NMI context can re-enter the slab allocator and acquire n->list_lock that the interrupted context is already holding, corrupting slab state. With CONFIG_DEBUG_SPINLOCK on UP, the following BUG is triggered with the slub_kunit test module: BUG: spinlock trylock failure on UP on CPU#0, kunit_try_catch/243 [...] Call Trace: <NMI> dump_stack_lvl+0x3f/0x60 do_raw_spin_trylock+0x41/0x50 _raw_spin_trylock+0x24/0x50 get_from_partial_node+0x120/0x4d0 ___slab_alloc+0x8a/0x4c0 kmalloc_nolock_noprof+0x164/0x310 [...] </NMI> Fix this by returning NULL early when invoked from NMI on a UP kernel.
EPSS 0.15% · 4.0th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
| kernel-livepatch-6.18.30-61.116 | Amazon Linux | 1:1.0-0.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | af92793e52c3a99b828ed4bdd277fd3e11c18d08, af92793e52c3a99b828ed4bdd277fd3e11c18d08, af92793e52c3a99b828ed4bdd277fd3e11c18d08 |
| Linux | Linux | 6.18, 0, 6.18.27 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel-livepatch-6.18.30-61.116 | 0 |
| Linux | Linux | 7.0.4, *, 0 |
| amazon:2023 | perf6.18 | 0 |
| linux | linux_kernel | 6.18, 6.18, 6.18 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
Timeline
- May 27, 2026 CVE Published
- May 28, 2026 EPSS Score (15 in total, the first dated here)
- May 29, 2026 Security Advisory (131 in total, the first dated here)
- Jun 4, 2026 Coalition ESS Score
- Jun 16, 2026 CVE Updated
- Aug 11, 2026 Distribution Patch (128 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-46029
vulnetix vdb fixes CVE-2026-46029
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-46029/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart