CVE-2026-53300
net: enetc: fix NTMP DMA use-after-free issue
Mitigation
- Upgrade Linux to 3cade698881eb238f88cbbfec82acc2110440a3f or later.
Who should check
- Anyone running Linux >= 4701073c3debd16d7f534f3eb808bd9b50601c0c, < 37c8933064be714ee672b0a0523c2fd045b73b3d; >= 4701073c3debd16d7f534f3eb808bd9b50601c0c, < 655d9ce9b1d3db0aa5271acb5e5101c66bd0d58b; >= 4701073c3debd16d7f534f3eb808bd9b50601c0c, < 3cade698881eb238f88cbbfec82acc2110440a3f
- Anyone running Linux 6.16
Vulnerability facts
- Affected
- Linux >= 4701073c3debd16d7f534f3eb808bd9b50601c0c, < 37c8933064be714ee672b0a0523c2fd045b73b3d; >= 4701073c3debd16d7f534f3eb808bd9b50601c0c, < 655d9ce9b1d3db0aa5271acb5e5101c66bd0d58b; >= 4701073c3debd16d7f534f3eb808bd9b50601c0c, < 3cade698881eb238f88cbbfec82acc2110440a3f; Linux 6.16
- Fixed in
- Linux 37c8933064be714ee672b0a0523c2fd045b73b3d, Linux 655d9ce9b1d3db0aa5271acb5e5101c66bd0d58b, Linux 3cade698881eb238f88cbbfec82acc2110440a3f
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.17% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: net: enetc: fix NTMP DMA use-after-free issue The AI-generated review reported a potential DMA use-after-free issue [1]. If netc_xmit_ntmp_cmd() times out and returns an error, the pending command is not explicitly aborted, while ntmp_free_data_mem() unconditionally frees the DMA buffer. If the buffer has already been reallocated elsewhere, this may lead to silent memory corruption. Because the hardware eventually processes the pending command and perform a DMA write of the response to the physical address of the freed buffer. To resolve this issue, this patch does the following modifications: 1. Convert cbdr->ring_lock from a spinlock to a mutex The lock was originally a spinlock in case NTMP operations might be invoked from atomic context. After downstream support for all NTMP tables, no such usage has materialized. A mutex lock is now required because the driver now needs to reclaim used BDs and release associated DMA memory within the lock's context, while dma_free_coherent() might sleep. 2. Introduce software command BD (struct netc_swcbd) The hardware write-back overwrites the addr and len fields of the BD, so the driver cannot rely on the hardware BD to free the associated DMA memory. The driver now maintains a software shadow BD storing the DMA buffer pointer, DMA address, and size. And netc_xmit_ntmp_cmd() only reclaims older BDs when the number of used BDs reaches NETC_CBDR_CLEAN_WORK (16). The software BD enables correct DMA memory release. With this, struct ntmp_dma_buf and ntmp_free_data_mem() are no longer needed and are removed. 3. Require callers to hold ring_lock across netc_xmit_ntmp_cmd() netc_xmit_ntmp_cmd() releases the ring_lock before the caller finishes consuming the response. At this point, if a concurrent thread submits a new command, it may trigger ntmp_clean_cbdr() and free the DMA buffer while it is still in use. Move ring_lock ownership to the caller to ensure the response buffer cannot be reclaimed prematurely. So the helpers ntmp_select_and_lock_cbdr() and ntmp_unlock_cbdr() are added. These changes eliminate the DMA use-after-free condition and ensure safe and consistent BD reclamation and DMA buffer lifecycle management.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 4701073c3debd16d7f534f3eb808bd9b50601c0c, < 37c8933064be714ee672b0a0523c2fd045b73b3d; >= 4701073c3debd16d7f534f3eb808bd9b50601c0c, < 655d9ce9b1d3db0aa5271acb5e5101c66bd0d58b; >= 4701073c3debd16d7f534f3eb808bd9b50601c0c, < 3cade698881eb238f88cbbfec82acc2110440a3f | — | cvelist |
| Linux | 6.16 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-53300. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-53300.md Affected: Linux >= 4701073c3debd16d7f534f3eb808bd9b50601c0c, < 37c8933064be714ee672b0a0523c2fd045b73b3d; >= 4701073c3debd16d7f534f3eb808bd9b50601c0c, < 655d9ce9b1d3db0aa5271acb5e5101c66bd0d58b; >= 4701073c3debd16d7f534f3eb808bd9b50601c0c, < 3cade698881eb238f88cbbfec82acc2110440a3f; Linux 6.16 Fixed in: Linux 37c8933064be714ee672b0a0523c2fd045b73b3d, Linux 655d9ce9b1d3db0aa5271acb5e5101c66bd0d58b, Linux 3cade698881eb238f88cbbfec82acc2110440a3f 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.
References
FAQ
Is CVE-2026-53300 being exploited?
There is no confirmed exploitation: CVE-2026-53300 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-53300?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-53300?
Linux >= 4701073c3debd16d7f534f3eb808bd9b50601c0c, < 37c8933064be714ee672b0a0523c2fd045b73b3d; >= 4701073c3debd16d7f534f3eb808bd9b50601c0c, < 655d9ce9b1d3db0aa5271acb5e5101c66bd0d58b; >= 4701073c3debd16d7f534f3eb808bd9b50601c0c, < 3cade698881eb238f88cbbfec82acc2110440a3f; Linux 6.16.
Is there a fix for CVE-2026-53300?
Yes. Fixed in Linux 37c8933064be714ee672b0a0523c2fd045b73b3d, Linux 655d9ce9b1d3db0aa5271acb5e5101c66bd0d58b, Linux 3cade698881eb238f88cbbfec82acc2110440a3f. Upgrade Linux to 3cade698881eb238f88cbbfec82acc2110440a3f or later.
How do I check if I'm affected by CVE-2026-53300?
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.