Menu

Star on GitHub · 3.2k

CVE-2024-41040

9.8 · CRITICAL

In the Linux kernel, the following vulnerability has been resolved: net/sched: Fix UAF when resolving a clash KASAN reports the following UAF: BUG: KASAN: slab-use-after-free in tcf_ct_flow_tab…

Published Jul 29, 2024CWE-416EPSS 1.00%

Overview

CVE-2024-41040 is a critical-severity vulnerability. It was published on July 29, 2024 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

net/sched: Fix UAF when resolving a clash

KASAN reports the following UAF:

BUG: KASAN: slab-use-after-free in tcf_ct_flow_table_process_conn+0x12b/0x380 [act_ct]

Read of size 1 at addr ffff888c07603600 by task handler130/6469

Call Trace:

<IRQ>

dump_stack_lvl+0x48/0x70

print_address_description.constprop.0+0x33/0x3d0

print_report+0xc0/0x2b0

kasan_report+0xd0/0x120

__asan_load1+0x6c/0x80

tcf_ct_flow_table_process_conn+0x12b/0x380 [act_ct]

tcf_ct_act+0x886/0x1350 [act_ct]

tcf_action_exec+0xf8/0x1f0

fl_classify+0x355/0x360 [cls_flower]

__tcf_classify+0x1fd/0x330

tcf_classify+0x21c/0x3c0

sch_handle_ingress.constprop.0+0x2c5/0x500

__netif_receive_skb_core.constprop.0+0xb25/0x1510

__netif_receive_skb_list_core+0x220/0x4c0

netif_receive_skb_list_internal+0x446/0x620

napi_complete_done+0x157/0x3d0

gro_cell_poll+0xcf/0x100

__napi_poll+0x65/0x310

net_rx_action+0x30c/0x5c0

__do_soft

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-41040?

CVE-2024-41040 is a critical-severity vulnerability. It was published on July 29, 2024 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

How severe is CVE-2024-41040?

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

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

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-41040?

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

View all