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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 16, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-04-02T07:01:44.050Z
- **Modified:** 2026-06-17T07:18:04.853Z

## Who should check

- Anyone running Linux \>= 94ad94558b0fbf18dd6fb0987540af1693157556, \< 466ceebe48cbba3f4506f165fca7111f9eb8bb12; \>= 94ad94558b0fbf18dd6fb0987540af1693157556, \< 004fe5b7f59286a926a45e0cafc7870e9cdddd56; \>= 94ad94558b0fbf18dd6fb0987540af1693157556, \< e42e334c645575be5432adee224975d4f536fdb1; \>= 94ad94558b0fbf18dd6fb0987540af1693157556, \< 2e7d3b67630dfd8f178c41fa2217aa00e79a5887
- Anyone running Linux 5.5

## 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/0x2360
\[  215.610237\]  ? report\_bug+0x1ef/0x370
\[  215.613921\]  ? handle\_bug+0x3c/0x70
\[  215.617423\]  ? exc\_invalid\_op+0x14/0x50
\[  215.621269\]  ? asm\_exc\_invalid\_op+0x16/0x20
\[  215.625480\]  ? check\_unmap+0xa6f/0x2360
\[  215.629331\]  ? mark\_lock.part.0+0xca/0xa40
\[  215.633445\]  debug\_dma\_free\_coherent+0x196/0x210
\[  215.638079\]  ? \_\_pfx\_debug\_dma\_free\_coherent+0x10/0x10
\[  215.643242\]  ? slab\_free\_freelist\_hook+0x11d/0x1d0
\[  215.648060\]  dma\_free\_attrs+0x6d/0x130
\[  215.651834\]  aq\_ring\_free+0x193/0x290 \[atlantic\]
\[  215.656487\]  aq\_ptp\_ring\_free+0x67/0x110 \[atlantic\]
...
\[  216.127540\] ---\[ end trace 6467e5964dd2640b \]---
\[  216.132160\] DMA-API: Mapped at:
\[  216.132162\]  debug\_dma\_alloc\_coherent+0x66/0x2f0
\[  216.132165\]  dma\_alloc\_attrs+0xf5/0x1b0
\[  216.132168\]  aq\_ring\_hwts\_rx\_alloc+0x150/0x1f0 \[atlantic\]
\[  216.132193\]  aq\_ptp\_ring\_alloc+0x1bb/0x540 \[atlantic\]
\[  216.132213\]  aq\_nic\_init+0x4a1/0x760 \[atlantic\]

## Affected and fixed versions

- Linux: \>= 94ad94558b0fbf18dd6fb0987540af1693157556, \< 466ceebe48cbba3f4506f165fca7111f9eb8bb12; \>= 94ad94558b0fbf18dd6fb0987540af1693157556, \< 004fe5b7f59286a926a45e0cafc7870e9cdddd56; \>= 94ad94558b0fbf18dd6fb0987540af1693157556, \< e42e334c645575be5432adee224975d4f536fdb1; \>= 94ad94558b0fbf18dd6fb0987540af1693157556, \< 2e7d3b67630dfd8f178c41fa2217aa00e79a5887 (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- Upgrade Linux to 2e7d3b67630dfd8f178c41fa2217aa00e79a5887 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26680. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26680.md
Affected: Linux >= 94ad94558b0fbf18dd6fb0987540af1693157556, < 466ceebe48cbba3f4506f165fca7111f9eb8bb12; >= 94ad94558b0fbf18dd6fb0987540af1693157556, < 004fe5b7f59286a926a45e0cafc7870e9cdddd56; >= 94ad94558b0fbf18dd6fb0987540af1693157556, < e42e334c645575be5432adee224975d4f536fdb1; >= 94ad94558b0fbf18dd6fb09…
Fixed in: Linux 466ceebe48cbba3f4506f165fca7111f9eb8bb12, Linux 004fe5b7f59286a926a45e0cafc7870e9cdddd56, Linux 2e7d3b67630dfd8f178c41fa2217aa00e79a5887

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-26680 being exploited?

There is no confirmed exploitation: CVE-2024-26680 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-26680?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-26680?

Linux \>= 94ad94558b0fbf18dd6fb0987540af1693157556, \< 466ceebe48cbba3f4506f165fca7111f9eb8bb12; \>= 94ad94558b0fbf18dd6fb0987540af1693157556, \< 004fe5b7f59286a926a45e0cafc7870e9cdddd56; \>= 94ad94558b0fbf18dd6fb0987540af1693157556, \< e42e334c645575be5432adee224975d4f536fdb1; \>= 94ad94558b0fbf18dd6fb0987540af1693157556, \< 2e7d3b67630dfd8f178c41fa2217aa00e79a5887; Linux 5.5.

### Is there a fix for CVE-2024-26680?

Yes. Fixed in Linux 466ceebe48cbba3f4506f165fca7111f9eb8bb12, Linux 004fe5b7f59286a926a45e0cafc7870e9cdddd56, Linux 2e7d3b67630dfd8f178c41fa2217aa00e79a5887. Upgrade Linux to 2e7d3b67630dfd8f178c41fa2217aa00e79a5887 or later.

### How do I check if I'm affected by CVE-2024-26680?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/466ceebe48cbba3f4506f165fca7111f9eb8bb12>
- patch: <https://git.kernel.org/stable/c/004fe5b7f59286a926a45e0cafc7870e9cdddd56>
- patch: <https://git.kernel.org/stable/c/e42e334c645575be5432adee224975d4f536fdb1>
- patch: <https://git.kernel.org/stable/c/2e7d3b67630dfd8f178c41fa2217aa00e79a5887>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26680>

HTML: <https://flawdb.com/CVE-2024-26680> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26680>
