CVE-2024-26680: net: atlantic: Fix DMA mapping for PTP hwts ring

Published Apr 2, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net: atlantic: Fix DMA mapping for PTP hwts ring

Function aqringhwtsrxalloc() maps extra AQCFGRXDSDEF bytes for PTP HWTS ring but then generic aqringfree() 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 checkunmap+0xa6f/0x2360 ... [ 215.581176] Call Trace: [ 215.583632] <TASK> [ 215.585745] ? showtraceloglvl+0x1c4/0x2df [ 215.590114] ? showtraceloglvl+0x1c4/0x2df [ 215.594497] ? debugdmafreecoherent+0x196/0x210 [ 215.599305] ? checkunmap+0xa6f/0x2360 [ 215.603147] ? warn+0xca/0x1d0 [ 215.606391] ? checkunmap+0xa6f/0x2360 [ 215.610237] ? reportbug+0x1ef/0x370 [ 215.613921] ? handlebug+0x3c/0x70 [ 215.617423] ? excinvalidop+0x14/0x50 [ 215.621269] ? asmexcinvalidop+0x16/0x20 [ 215.625480] ? checkunmap+0xa6f/0x2360 [ 215.629331] ? marklock.part.0+0xca/0xa40 [ 215.633445] debugdmafreecoherent+0x196/0x210 [ 215.638079] ? pfxdebugdmafreecoherent+0x10/0x10 [ 215.643242] ? slabfreefreelisthook+0x11d/0x1d0 [ 215.648060] dmafreeattrs+0x6d/0x130 [ 215.651834] aqringfree+0x193/0x290 [atlantic] [ 215.656487] aqptpringfree+0x67/0x110 [atlantic] ... [ 216.127540] ---[ end trace 6467e5964dd2640b ]--- [ 216.132160] DMA-API: Mapped at: [ 216.132162] debugdmaalloccoherent+0x66/0x2f0 [ 216.132165] dmaallocattrs+0xf5/0x1b0 [ 216.132168] aqringhwtsrxalloc+0x150/0x1f0 [atlantic] [ 216.132193] aqptpringalloc+0x1bb/0x540 [atlantic] [ 216.132213] aqnicinit+0x4a1/0x760 [atlantic]

Other sources

In the Linux kernel, the following vulnerability has been resolved:

net: atlantic: Fix DMA mapping for PTP hwts ring

The Linux kernel CVE team has assigned CVE-2024-26680 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024040253-CVE-2024-26680-d16c@gregkh/T

Red Hat

Affected Software

12 affected componentsFixes available
Linux Linux kernel>=5.5<6.1.78
Linux Linux kernel>=6.2<6.6.17
Linux Linux kernel>=6.7<6.7.5
Linux Linux kernel=6.8-rc1
Linux Linux kernel=6.8-rc2
Linux Linux kernel=6.8-rc3
debian/linux<=5.10.223-1, <=5.10.234-1
6.1.129-16.1.135-16.12.25-16.12.27-1
redhat/kernel<6.1.78
6.1.78
redhat/kernel<6.6.17
6.6.17
redhat/kernel<6.7.5
6.7.5
redhat/kernel<6.8
6.8
Microsoft cbl2 kernel 5.15.186.1-1

Event History

Apr 2, 2024
CVE Published
via MITRE·07:01 AM
Data Sourced
via MITRE·07:01 AM
Description
Apr 3, 2024
Data Sourced
via Red Hat·12:03 AM
DescriptionSeverityAffected Software
Jul 12, 2024
Data Sourced
via Launchpad·12:46 PM
Description
Apr 27, 2025
Data Sourced
via Ubuntu·12:14 AM
RemedyDescriptionSeverityAffected Software
May 13, 2025
Data Sourced
via Debian·12:18 AM
DescriptionAffected Software
Sep 3, 2025
Data Sourced
via Microsoft·11:49 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·11:49 PM
Affected Software
Updated
via Microsoft·11:49 PM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2024-26680?

CVE-2024-26680 has a severity rating that indicates it can lead to potential disruptions in systems utilizing affected Linux kernel versions.

2

How do I fix CVE-2024-26680?

To fix CVE-2024-26680, you should upgrade your Linux kernel to at least version 6.1.78, 6.6.17, 6.7.5, or 6.8, depending on your distribution.

3

Which systems are affected by CVE-2024-26680?

CVE-2024-26680 affects certain versions of the Linux kernel used in Red Hat and Debian-based distributions.

4

What functionality does CVE-2024-26680 compromise?

CVE-2024-26680 compromises the proper mapping in DMA for Precision Time Protocol (PTP) hardware timestamping rings.

5

Can CVE-2024-26680 be exploited remotely?

Yes, CVE-2024-26680 could potentially be exploited remotely under certain conditions, making it important to apply the necessary patches.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203