Menu

Star on GitHub · 3.2k

CVE-2024-26680

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: net: atlantic: Fix DMA mapping for PTP hwts ring Function aq_ring_hwts_rx_alloc() maps extra AQ_CFG_RXDS_DEF bytes for PTP HWTS…

Published Apr 2, 2024CWE-416EPSS 0.23%

Overview

CVE-2024-26680 is a medium-severity vulnerability. It was published on April 2, 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:

net: atlantic: Fix DMA mapping for PTP hwts ring

Function aq_ring_hwts_rx_alloc() maps extra AQ_CFG_RXDS_DEF bytes

for PTP HWTS ring but then generic aq_ring_free() does not take this

into account.

Create and use a specific function to free HWTS ring to fix this

issue.

Trace:

[ 215.351607] ------------[ cut here ]------------

[ 215.351612] DMA-API: atlantic 0000:4b:00.0: device driver frees DMA memory with different size [device address=0x00000000fbdd0000] [map size=34816 bytes] [unmap size=32768 bytes]

[ 215.351635] WARNING: CPU: 33 PID: 10759 at kernel/dma/debug.c:988 check_unmap+0xa6f/0x2360

...

[ 215.581176] Call Trace:

[ 215.583632] <TASK>

[ 215.585745] ? show_trace_log_lvl+0x1c4/0x2df

[ 215.590114] ? show_trace_log_lvl+0x1c4/0x2df

[ 215.594497] ? debug_dma_free_coherent+0x196/0x210

[ 215.599305] ? check_unmap+0xa6f/0x2360

[ 215.603147] ? __warn+0xca/0x1d0

[ 215.606391] ? check_unmap+0xa6f/0x2

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

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

How severe is CVE-2024-26680?

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

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

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