Linux KernelOperating system · Linux

CVE-2026-53300

HIGH · 7.8 CVSS v3.1 Published 2026-06-26
Fix available
A fix is available. Upgrade to 6.18.33 / 7.0.10 or later.
See remediation →
80/100
Remediation priority · High
Zero-click Patch available

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The Linux kernel enetc driver has a DMA use-after-free vulnerability where ntmp_free_data_mem() unconditionally frees a DMA buffer after netc_xmit_ntmp_cmd() times out, but the hardware may still process the pending command and write DMA responses to the freed buffer address if it has been reallocated, causing silent memory corruption.

MitigationApply the kernel patch which converts the ring_lock to a mutex, introduces software shadow BDs to track DMA buffer lifecycle, and requires callers to hold the lock across the entire command-response cycle to prevent premature buffer reclamation.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Linux KernelOperating system
Affected:>= 6.16, < 6.18.33>= 6.19, < 7.0.10

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check kernel version
    Run 'uname -r' or 'cat /proc/version' to get the running kernel version
    Affected if The version is >= 6.16 and < 6.18.33, or >= 6.19 and < 7.0.10
  2. Verify enetc driver is loaded
    Run 'lsmod | grep enetc' or check '/sys/module/enetc*' directory existence
    Affected if The enetc driver module is loaded on the system
  3. Check for enetc network interfaces
    Run 'ip link show' or check '/sys/class/net/' for interfaces named like 'enetc*' or check 'lspci' for enetc network controllers
    Affected if Network interfaces managed by the enetc driver are present and active
  4. Identify if ntmp command path is in use
    Check kernel config for CONFIG_ENETC and observe if high-throughput network traffic is being handled through enetc interfaces; the vulnerability triggers during ntmp command transmission timeouts
    Affected if The system uses enetc interfaces for network traffic and the vulnerable DMA buffer lifecycle code path is exercised

The system is affected if it runs a kernel version in the affected ranges AND has enetc hardware/driver active, as the use-after-free occurs when ntmp_free_data_mem() frees a DMA buffer while hardware may still write responses to it.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 6.18.33 / 7.0.10 or later
Fixed in 6.18.337.0.10
Vendor patch git.kernel.org →
Interim mitigation

Apply the kernel patch which converts the ring_lock to a mutex, introduces software shadow BDs to track DMA buffer lifecycle, and requires callers to hold the lock across the entire command-response cycle to prevent premature buffer reclamation.

Recommended fix High confidence

Linux Kernel 6.18.33 or later; Linux Kernel 7.0.10 or later

  1. Identify the currently running kernel version using `uname -r`
  2. If kernel version is >= 6.16 and < 6.18.33, plan upgrade to kernel version 6.18.33 or later
  3. If kernel version is >= 6.19 and < 7.0.10, plan upgrade to kernel version 7.0.10 or later
  4. For enterprise distributions, obtain the vendor-specific kernel update that includes the fix commit 37c8933064be714ee672b0a0523c2fd045b73b3d
  5. Reboot into the patched kernel to apply the remediation
Caveat Changing ring_lock from spinlock to mutex may affect any out-of-tree modules or vendor-specific code that depends on the original locking behavior; however, upstream driver consumers should adapt without issues

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Linux Kernel Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing6.0 h
  • Review / QA3.0 h
15.0 hours of engineering $2,560
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,096.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-53300 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-53300 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data