CVE-2026-98592
Received Received - Intake

Memory Corruption in Spacemit Linux Kernel

Vulnerability report for CVE-2026-98592, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-18

Last updated on: 2026-10-18

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: net: spacemit: clear TX descriptor on fragment mapping failure emac_tx_mem_map() writes TX_DESC_0_OWN into the ring descriptor for every slot beyond old_head as soon as that slot's memset()'d local copy is committed with "*tx_desc_addr = tx_desc", i.e. before the buffers for that slot have necessarily all been mapped successfully. If emac_tx_map_frag() then fails on a later fragment, the err_free_skb path calls emac_free_tx_buf() to unmap and drop the skb, but leaves the already-written descriptor memory untouched, and tx_ring->head is never advanced past old_head (the "tx_ring->head = head" store is skipped by the goto). So a slot between old_head and the rolled-back head can be left with TX_DESC_0_OWN set and buffer_addr_{1,2} pointing at DMA mappings that emac_free_tx_buf() just tore down, while software considers that slot free again. The next successful emac_tx_mem_map() call only rebuilds old_head itself; if the DMA engine auto-advances into the following descriptor once it finishes old_head's packet, it will fetch that stale, already-unmapped address. emac_tx_clean_desc() already treats emac_free_tx_buf() and clearing the descriptor as a pair when reclaiming completed descriptors; do the same in the mapping failure path.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-18
Last Modified
2026-10-18
Generated
2026-10-18
AI Q&A
2026-10-18
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 4 associated CPEs
Vendor Product Version / Range
Linux Linux bfec6d7f2001c7470c3cd261ae65a3ba8737f226
Linux Linux bfec6d7f2001c7470c3cd261ae65a3ba8737f226
Linux Linux bfec6d7f2001c7470c3cd261ae65a3ba8737f226
Linux Linux 6.18

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a Linux kernel vulnerability in the spacemit network driver. It occurs when mapping fails during packet transmission. The driver writes ownership flags to descriptors before all fragments are successfully mapped, leaving stale descriptor entries if mapping fails. This can cause the DMA engine to access unmapped memory addresses.

Impact Analysis

This could lead to system instability, crashes, or potential unauthorized memory access. If exploited, it might allow attackers to cause denial-of-service conditions or execute arbitrary code with kernel privileges.

Mitigation Strategies

Update the Linux kernel to a patched version that resolves the issue with TX descriptor handling in the spacemit network driver.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-98592. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart