CVE-2024-44973
mm, slub: do not call do_slab_free for kfence object
Reported by linux · Published September 4, 2024
In the Linux kernel, the following vulnerability has been resolved: mm, slub: do not call do_slab_free for kfence object In 782f8906f805 the freeing of kfence objects was moved from deep inside do_slab_free to the wrapper functions outside. This is a nice change, but unfortunately it missed one spot in __kmem_cache_free_bulk. This results in a crash like this: BUG skbuff_head_cache (Tainted: G S B E ): Padding overwritten. 0xffff88907fea0f00-0xffff88907fea0fff @offset=3840 slab_err (mm/slub.c:1129) free_to_partial_list (mm/slub.c:? mm/slub.c:4036) slab_pad_check (mm/slub.c:864 mm/slub.c:1290) check_slab (mm/slub.c:?) free_to_partial_list (mm/slub.c:3171 mm/slub.c:4036) kmem_cache_alloc_bulk (mm/slub.c:? mm/slub.c:4495 mm/slub.c:4586 mm/slub.c:4635) napi_build_skb (net/core/skbuff.c:348 net/core/skbuff.c:527 net/core/skbuff.c:549) All the other callers to do_slab_free appear to be ok. Add a kfence_free check in __kmem_cache_free_bulk to avoid the crash.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | a371d558e6f3aed977a8a7346350557de5d25190 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 782f8906f8057efc7151b4b98b0a0280a71d005f, 782f8906f8057efc7151b4b98b0a0280a71d005f |
| Linux | Linux | 6.8, 0, 6.10.5 |
| Linux | Linux | 6.8, 6.11, 6.10.5 |
| linux | linux_kernel | 6.8, 6.8 |
Timeline
- Sep 4, 2024 CVE Published
- Sep 4, 2024 PoC Published
- Sep 5, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (18 in total, the first dated here)
- Jan 5, 2026 Security Advisory (88 in total, the first dated here)
- May 28, 2026 Distribution Patch (67 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-44973
vulnetix vdb fixes CVE-2024-44973
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-2024-44973/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart