Menu

Star on GitHub · 3.2k

CVE-2024-41087

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: ata: libata-core: Fix double free on error If e.g.

Published Jul 29, 2024CWE-415EPSS 0.24%

Overview

CVE-2024-41087 is a high-severity vulnerability. 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, 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-41087?

CVE-2024-41087 is a high-severity vulnerability. 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, 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-41087?

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