Menu

Star on GitHub · 3.3k

CVE-2024-53049

5.5 · MEDIUM

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.

Published Nov 19, 2024EPSS 0.20%

Overview

CVE-2024-53049 is a medium-severity vulnerability. It was published on November 19, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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_thread

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-53049?

CVE-2024-53049 is a medium-severity vulnerability. It was published on November 19, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-53049?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-53049?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-53049?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-53049 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2024

View all
LiveWatch live →