Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-40947

7.8 · HIGH
Published Jul 12, 2024 linux CWE-476 EPSS 0.26% (18th pctl)

Overview

CVE-2024-40947 is a high-severity vulnerability affecting linux linux_kernel. 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 and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 5.4.229, < 5.5 Affected

Frequently Asked Questions

What is CVE-2024-40947?

CVE-2024-40947 is a high-severity vulnerability affecting linux linux_kernel. 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 and patches from linux. Update linux_kernel to the latest patched version. 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's AI-powered security agents can automatically detect CVE-2024-40947 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.