CVE-2024-53049
slub/kunit: fix a WARNING due to unwrapped __kmalloc_cache_noprof
Mitigation
- Upgrade Linux to 2b059d0d1e624adc6e69a754bc48057f8bf459dc or later.
Who should check
- Anyone running Linux >= a0a44d9175b349df2462089140fb7f292100bd7c, < 79aea7dfd98fbbf282d1408fc21849fc9a677768; >= a0a44d9175b349df2462089140fb7f292100bd7c, < 2b059d0d1e624adc6e69a754bc48057f8bf459dc
- Anyone running Linux 6.11
Vulnerability facts
- Affected
- Linux >= a0a44d9175b349df2462089140fb7f292100bd7c, < 79aea7dfd98fbbf282d1408fc21849fc9a677768; >= a0a44d9175b349df2462089140fb7f292100bd7c, < 2b059d0d1e624adc6e69a754bc48057f8bf459dc; Linux 6.11
- Fixed in
- Linux 79aea7dfd98fbbf282d1408fc21849fc9a677768, Linux 2b059d0d1e624adc6e69a754bc48057f8bf459dc
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: slub/kunit: fix a WARNING due to unwrapped __kmalloc_cache_noprof 'modprobe slub_kunit' will have a warning as shown below. The root cause is that __kmalloc_cache_noprof was directly used, which resulted in no alloc_tag being allocated. This caused current->alloc_tag to be null, leading to a warning in alloc_tag_add_check. Let's add an alloc_hook layer to __kmalloc_cache_noprof specifically within lib/slub_kunit.c, which is the only user of this internal slub function outside kmalloc implementation itself. [58162.947016] WARNING: CPU: 2 PID: 6210 at ./include/linux/alloc_tag.h:125 alloc_tagging_slab_alloc_hook+0x268/0x27c [58162.957721] Call trace: [58162.957919] alloc_tagging_slab_alloc_hook+0x268/0x27c [58162.958286] __kmalloc_cache_noprof+0x14c/0x344 [58162.958615] test_kmalloc_redzone_access+0x50/0x10c [slub_kunit] [58162.959045] kunit_try_run_case+0x74/0x184 [kunit] [58162.959401] kunit_generic_run_threadfn_adapter+0x2c/0x4c [kunit] [58162.959841] kthread+0x10c/0x118 [58162.960093] ret_from_fork+0x10/0x20 [58162.960363] ---[ end trace 0000000000000000 ]---
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-53049. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-53049.md Affected: Linux >= a0a44d9175b349df2462089140fb7f292100bd7c, < 79aea7dfd98fbbf282d1408fc21849fc9a677768; >= a0a44d9175b349df2462089140fb7f292100bd7c, < 2b059d0d1e624adc6e69a754bc48057f8bf459dc; Linux 6.11 Fixed in: Linux 79aea7dfd98fbbf282d1408fc21849fc9a677768, Linux 2b059d0d1e624adc6e69a754bc48057f8bf459dc Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2024-53049 being exploited?
There is no confirmed exploitation: CVE-2024-53049 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-53049?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-53049?
Linux >= a0a44d9175b349df2462089140fb7f292100bd7c, < 79aea7dfd98fbbf282d1408fc21849fc9a677768; >= a0a44d9175b349df2462089140fb7f292100bd7c, < 2b059d0d1e624adc6e69a754bc48057f8bf459dc; Linux 6.11.
Is there a fix for CVE-2024-53049?
Yes. Fixed in Linux 79aea7dfd98fbbf282d1408fc21849fc9a677768, Linux 2b059d0d1e624adc6e69a754bc48057f8bf459dc. Upgrade Linux to 2b059d0d1e624adc6e69a754bc48057f8bf459dc or later.
How do I check if I'm affected by CVE-2024-53049?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.