Menu

Star on GitHub · 3.2k

CVE-2024-40957

7.5 · HIGH

In the Linux kernel, the following vulnerability has been resolved: seg6: fix parameter passing when calling NF_HOOK() in End.DX4 and End.DX6 behaviors input_action_end_dx4() and input_action_end…

Published Jul 12, 2024CWE-476EPSS 0.73%

Overview

CVE-2024-40957 is a high-severity vulnerability. It was published on July 12, 2024 and has a CVSS 3.1 base score of 7.5 (HIGH).

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

seg6: fix parameter passing when calling NF_HOOK() in End.DX4 and End.DX6 behaviors

input_action_end_dx4() and input_action_end_dx6() are called NF_HOOK() for

PREROUTING hook, in PREROUTING hook, we should passing a valid indev,

and a NULL outdev to NF_HOOK(), otherwise may trigger a NULL pointer

dereference, as below:

[74830.647293] BUG: kernel NULL pointer dereference, address: 0000000000000090

[74830.655633] #PF: supervisor read access in kernel mode

[74830.657888] #PF: error_code(0x0000) - not-present page

[74830.659500] PGD 0 P4D 0

[74830.660450] Oops: 0000 [#1] PREEMPT SMP PTI

...

[74830.664953] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011

[74830.666569] RIP: 0010:rpfilter_mt+0x44/0x15e [ipt_rpfilter]

...

[74830.689725] Call Trace:

[74830.690402] <IRQ>

[74830.690953] ? show_trace_log_lvl+0x1c4/0x2df

[74830.692020] ? show_trace_log_lvl+0x1c4/0x2df

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

CVE-2024-40957 is a high-severity vulnerability. It was published on July 12, 2024 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2024-40957?

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

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

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

View all