Menu

Star on GitHub · 3.2k

CVE-2024-40947

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: ima: Avoid blocking in RCU read-side critical section A panic happens in ima_match_policy: BUG: unable to handle kernel NULL p…

Published Jul 12, 2024CWE-476EPSS 0.26%

Overview

CVE-2024-40947 is a high-severity vulnerability. It was published on July 12, 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:

ima: Avoid blocking in RCU read-side critical section

A panic happens in ima_match_policy:

BUG: unable to handle kernel NULL pointer dereference at 0000000000000010

PGD 42f873067 P4D 0

Oops: 0000 [#1] SMP NOPTI

CPU: 5 PID: 1286325 Comm: kubeletmonit.sh

Kdump: loaded Tainted: P

Hardware name: QEMU Standard PC (i440FX + PIIX, 1996),

BIOS 0.0.0 02/06/2015

RIP: 0010:ima_match_policy+0x84/0x450

Code: 49 89 fc 41 89 cf 31 ed 89 44 24 14 eb 1c 44 39

7b 18 74 26 41 83 ff 05 74 20 48 8b 1b 48 3b 1d

f2 b9 f4 00 0f 84 9c 01 00 00 <44> 85 73 10 74 ea

44 8b 6b 14 41 f6 c5 01 75 d4 41 f6 c5 02 74 0f

RSP: 0018:ff71570009e07a80 EFLAGS: 00010207

RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000200

RDX: ffffffffad8dc7c0 RSI: 0000000024924925 RDI: ff3e27850dea2000

RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffffabfce739

R10: ff3e27810cc42400 R11: 0000000000000000 R12: ff3e2781825e

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

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

How severe is CVE-2024-40947?

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-2024-40947?

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

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