Menu

Star on GitHub · 3.3k

CVE-2023-52446

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix a race condition between btf_put() and map_free() When running `./test_progs -j` in my local vm with latest kernel, I…

Published Feb 22, 2024CWE-416EPSS 0.23%

Overview

CVE-2023-52446 is a high-severity vulnerability. It was published on February 22, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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:

bpf: Fix a race condition between btf_put() and map_free()

When running `./test_progs -j` in my local vm with latest kernel,

I once hit a kasan error like below:

[ 1887.184724] BUG: KASAN: slab-use-after-free in bpf_rb_root_free+0x1f8/0x2b0

[ 1887.185599] Read of size 4 at addr ffff888106806910 by task kworker/u12:2/2830

[ 1887.186498]

[ 1887.186712] CPU: 3 PID: 2830 Comm: kworker/u12:2 Tainted: G OEL 6.7.0-rc3-00699-g90679706d486-dirty #494

[ 1887.188034] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014

[ 1887.189618] Workqueue: events_unbound bpf_map_free_deferred

[ 1887.190341] Call Trace:

[ 1887.190666] <TASK>

[ 1887.190949] dump_stack_lvl+0xac/0xe0

[ 1887.191423] ? nf_tcp_handle_invalid+0x1b0/0x1b0

[ 1887.192019] ? panic+0x3c0/0x3c0

[ 1887.192449] print_report+0x14f/0x720

[ 1887.192930] ? preempt_cou

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-2023-52446?

CVE-2023-52446 is a high-severity vulnerability. It was published on February 22, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2023-52446?

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

How do I fix or remediate CVE-2023-52446?

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-2023-52446?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-52446 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 HIGH CVEs from 2023

View all
LiveWatch live →