cbcvebase.
CVE-2026-53300
published 2026-06-26

CVE-2026-53300: 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…

PriorityP343high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.12%
2.5th percentile
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

Affected

14 ranges
VendorProductVersion rangeFixed in
linuxlinux
linuxlinux>= 4701073c3debd16d7f534f3eb808bd9b50601c0c < 37c8933064be714ee672b0a0523c2fd045b73b3d37c8933064be714ee672b0a0523c2fd045b73b3d
linuxlinux>= 4701073c3debd16d7f534f3eb808bd9b50601c0c < 655d9ce9b1d3db0aa5271acb5e5101c66bd0d58b655d9ce9b1d3db0aa5271acb5e5101c66bd0d58b
linuxlinux>= 4701073c3debd16d7f534f3eb808bd9b50601c0c < 3cade698881eb238f88cbbfec82acc2110440a3f3cade698881eb238f88cbbfec82acc2110440a3f
linuxlinux_kernel>= 6.16 < 6.18.336.18.33
linuxlinux_kernel>= 6.19 < 7.0.107.0.10
ubuntulinux
ubuntulinux-gcp
ubuntulinux-gke
ubuntulinux-hwe-7.0
ubuntulinux-ibm
ubuntulinux-oem-7.0
ubuntulinux-oracle
ubuntulinux-realtime

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vendor_redhat7.8HIGH
vendor_ubuntu7.0HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.