Cloudanix VulnDB

CVE-2026-53300

High · 7.8

CVSS

7.8

EPSS

0.2%

Published

Jun 26, 2026

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

Some Linux systems with specific Ethernet hardware can be crashed or destabilized because the network driver may let the hardware write into memory after it has already been reused.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
High
Impact
Data Tampering
Component
OS kernel
Class
Use After Free
Remediation
Patch
Effort
Low
Patch risk
Low

What it actually does

This is a Linux kernel use-after-free condition in the ENETC Ethernet controller driver’s NTMP command handling. When an NTMP command times out, the driver can free a DMA buffer while the hardware still has a pending command that may later write a response to that same physical address. If the freed buffer has been reallocated, the delayed DMA write can corrupt unrelated kernel memory. A related race can also allow a concurrent NTMP command cleanup path to reclaim a response buffer while another caller is still consuming it. The likely outcomes are kernel memory corruption, system instability, denial of service, and, in some circumstances, a potential path toward privilege escalation depending on attacker control over timing and memory layout.

Why it matters to the business

Systems using affected Linux kernels with ENETC-capable network hardware may experience unexpected crashes, network disruption, or hard-to-diagnose memory corruption. Because this is in a kernel network driver, a successful trigger can affect the availability and integrity of the whole host rather than only one application. Current public risk signals are low: EPSS is approximately 0.124%, it is not listed in CISA KEV, it is not known to be used in ransomware campaigns, and no mature public exploit is indicated. Risk is highest for appliances, embedded systems, edge devices, and infrastructure platforms that use NXP/Freescale ENETC Ethernet hardware and expose local or administrative interfaces capable of exercising NTMP operations.

How an attack unfolds

An attacker first needs access to a system running an affected kernel on hardware that uses the ENETC driver, plus a way to trigger NTMP-related driver operations, typically through local, privileged, administrative, or device-management paths rather than a simple unauthenticated network packet. The attacker then attempts to cause an NTMP command timeout or a concurrency window in which the command buffer descriptor ring is cleaned while a response buffer is still in use. If the driver frees the coherent DMA buffer before the hardware has fully completed the pending command, the hardware may later write the command response into the physical address formerly associated with that buffer. If the kernel has already reused that memory for another object, the DMA write corrupts that object. In a basic exploitation scenario this causes a kernel panic, device malfunction, or network outage. A more advanced attacker would try to shape kernel memory reuse so that the delayed DMA write modifies useful kernel state, but that requires target-specific knowledge, precise timing, and suitable hardware behavior.

How to fix it

Update the Linux kernel to a version that includes the ENETC NTMP DMA lifetime fixes. The corrected implementation keeps software shadow command descriptors for DMA buffer tracking, changes the command ring lock handling to prevent premature cleanup, and ensures DMA memory is not reclaimed while pending hardware writes can still occur. No exact fixed package versions were provided in the input, so remediation should be performed through the relevant Linux distribution, vendor BSP, appliance vendor, or upstream stable kernel channel once their advisory identifies the fixed build. Where immediate patching is not possible, reduce exposure by limiting administrative access to hosts and appliances using ENETC hardware, disabling unused ENETC interfaces where operationally feasible, avoiding untrusted access to network-device management functions, and increasing monitoring for kernel crashes or ENETC driver errors. Mitigation by configuration alone should not be treated as equivalent to patching because the flaw is in kernel driver memory management.

How to confirm the fix worked

Confirm whether systems load or include the ENETC driver and are running kernels that contain the fix. On Linux systems, check the running kernel version with `uname -a`, review distribution security advisories for the kernel package, and verify whether ENETC-related modules or built-in driver symbols are present using tools such as `lsmod`, `modinfo`, kernel config files, `/sys/bus/platform/drivers/`, and boot logs. Validate that the installed kernel package or vendor firmware image is at or above the vendor-fixed release. After remediation, reboot into the fixed kernel and confirm the previous vulnerable kernel is not still selected by the bootloader. For regression validation, monitor `dmesg` and journal logs during ENETC interface configuration and normal traffic for DMA, NTMP, or ENETC errors; absence of crashes is not proof of remediation, so version and patch-level confirmation is required.

Typical attack path

  1. Identify a target running a vulnerable Linux kernel on ENETC-supported Ethernet hardware.
  2. Obtain a way to invoke ENETC/NTMP driver functionality, such as local privileged access, administrative network-device configuration capability, or access through an appliance management component that exercises the driver.
  3. Trigger NTMP command submission under conditions that cause command timeout or overlapping command cleanup and response consumption.
  4. Cause the driver to free or reclaim a DMA response buffer while the hardware can still write back to it.
  5. Wait for the hardware to complete the pending command and DMA-write into the freed physical address.
  6. Leverage the resulting kernel memory corruption to crash the system, disrupt networking, or attempt further exploitation if memory layout can be controlled.

How to detect it

There are no unique network indicators that reliably prove exploitation because the condition occurs inside a kernel driver and depends on DMA timing, timeouts, and local hardware behavior. Detection should focus on host and appliance telemetry: persistent kernel logs, `dmesg`, system journal, crash dumps, kdump/vmcore artifacts, watchdog resets, ENETC driver messages, DMA API warnings, kernel oops traces, and unexplained interface resets or packet-processing disruption. Search for stack traces or logs referencing ENETC, NETC, NTMP command handling, command timeouts, DMA allocation/free warnings, use-after-free reports from KASAN/KFENCE, or memory corruption shortly before a crash. If kernel crash dumps are available, inspect call stacks for ENETC/NETC/NTMP functions and review whether the crash followed network-device configuration or management activity. Also correlate suspicious local administrative actions, automated management-plane changes, or repeated network interface reconfiguration events with kernel faults. Because there is no known public exploit maturity and no KEV listing, positive findings should be triaged carefully as either exploitation attempts, hardware/driver instability, or normal crash signatures on vulnerable builds.

  • enetc
  • netc_xmit_ntmp_cmd
  • ntmp_free_data_mem
  • ntmp_clean_cbdr
  • ntmp_select_and_lock_cbdr
  • ntmp_unlock_cbdr
  • NETC_CBDR_CLEAN_WORK
  • DMA use-after-free
  • use-after-free
  • KASAN: use-after-free
  • KFENCE: use-after-free
  • DMA-API
  • kernel BUG
  • Oops
  • general protection fault
  • NETDEV WATCHDOG

What your security team should do

  • Inventory Linux systems, appliances, embedded devices, and edge platforms that use ENETC-capable Ethernet hardware or vendor kernels derived from NXP/Freescale BSPs.
  • Prioritize patching systems where ENETC interfaces are active and where untrusted users, tenants, or management-plane integrations can influence network-device configuration.
  • Track vendor and distribution advisories for the exact fixed kernel or firmware versions because no fixed versions were supplied in the source metadata.
  • Apply the fixed kernel or vendor firmware image during the next appropriate maintenance window; expedite for high-availability network infrastructure or devices with a history of unexplained kernel crashes.
  • Restrict access to administrative interfaces that can change network device state, offload configuration, filtering tables, or other ENETC/NTMP-related features until patching is complete.
  • Enable collection of kernel logs, crash dumps, and persistent journaling on affected device classes to support post-incident analysis.
  • Investigate kernel panics, DMA API warnings, ENETC driver errors, or unexplained network device resets on affected hardware as potential exploitation or reliability events.
  • Because this is not currently KEV-listed and has low EPSS, treat it as a targeted reliability and hardening issue rather than an internet-scale emergency, unless the affected device is exposed through a management interface or used in critical network paths.

The record

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 packages

Ecosystem Package Introduced Fixed

Related vulnerabilities