Menu

Star on GitHub · 3.2k

CVE-2024-41098

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: ata: libata-core: Fix null pointer dereference on error If the ata_port_alloc() call in ata_host_alloc() fails, ata_host_releas…

Published Jul 29, 2024CWE-476EPSS 0.26%

Overview

CVE-2024-41098 is a medium-severity vulnerability. It was published on July 29, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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 null pointer dereference on error

If the ata_port_alloc() call in ata_host_alloc() fails,

ata_host_release() will get called.

However, the code in ata_host_release() tries to free ata_port struct

members unconditionally, which can lead to the following:

BUG: unable to handle page fault for address: 0000000000003990

PGD 0 P4D 0

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

CPU: 10 PID: 594 Comm: (udev-worker) Not tainted 6.10.0-rc5 #44

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

RIP: 0010:ata_host_release.cold+0x2f/0x6e [libata]

Code: e4 4d 63 f4 44 89 e2 48 c7 c6 90 ad 32 c0 48 c7 c7 d0 70 33 c0 49 83 c6 0e 41

RSP: 0018:ffffc90000ebb968 EFLAGS: 00010246

RAX: 0000000000000041 RBX: ffff88810fb52e78 RCX: 0000000000000000

RDX: 0000000000000000 RSI: ffff88813b3218c0 RDI: ffff88813b3218c0

RBP: ffff88810fb52e40 R08: 0000000000000000 R09: 6c65725f74736f68

R10: ffffc9

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

CVE-2024-41098 is a medium-severity vulnerability. It was published on July 29, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-41098?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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-41098?

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

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

View all