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-41087

7.8 · HIGH
Published Jul 29, 2024 linux CWE-415 EPSS 0.24% (15th pctl)

Overview

CVE-2024-41087 is a high-severity vulnerability affecting linux linux_kernel. It was published on July 29, 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:

ata: libata-core: Fix double free on error

If e.g. the ata_port_alloc() call in ata_host_alloc() fails, we will jump

to the err_out label, which will call devres_release_group().

devres_release_group() will trigger a call to ata_host_release().

ata_host_release() calls kfree(host), so executing the kfree(host) in

ata_host_alloc() will lead to a double free:

kernel BUG at mm/slub.c:553!

Oops: invalid opcode: 0000 [#1] PREEMPT SMP NOPTI

CPU: 11 PID: 599 Comm: (udev-worker) Not tainted 6.10.0-rc5 #47

Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-2.fc40 04/01/2014

RIP: 0010:kfree+0x2cf/0x2f0

Code: 5d 41 5e 41 5f 5d e9 80 d6 ff ff 4d 89 f1 41 b8 01 00 00 00 48 89 d9 48 89 da

RSP: 0018:ffffc90000f377f0 EFLAGS: 00010246

RAX: ffff888112b1f2c0 RBX: ffff888112b1f2c0 RCX: ffff888112b1f320

RDX: 000000000000400b RSI: ffffffffc02c9de5 RDI: ffff888112b1f2c0

RBP: ffffc90000f37830 R08: 0000000000000000 R09: 0000

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 >= 4.17, < 4.19.317 Affected

Frequently Asked Questions

What is CVE-2024-41087?

CVE-2024-41087 is a high-severity vulnerability affecting linux linux_kernel. It was published on July 29, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-41087?

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

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

CyberStrike's AI-powered security agents can automatically detect CVE-2024-41087 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.