In the Linux kernel, the following vulnerability has been resolved: net: spacemit: clear TX descriptor on fragment mapping failure emac_tx_mem_map()… (CVE-2026-98592)
Description
A vulnerability in the Linux kernel's spacemit network driver was resolved involving improper handling of TX descriptors on fragment mapping failure. The emac_tx_mem_map() function prematurely marks TX descriptors as owned before all buffer fragments are successfully mapped. If a fragment mapping fails, the cleanup path does not clear the descriptor memory, leaving stale DMA addresses that can be reused incorrectly. This can cause the DMA engine to fetch unmapped, invalid addresses. The fix ensures descriptors are cleared properly on mapping failure.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel spacemit network driver had a flaw in emac_tx_mem_map() where TX_DESC_0_OWN was set on descriptors before all fragments were mapped. On fragment mapping failure, the cleanup path (err_free_skb) unmaps buffers but leaves the descriptor memory uncleared and does not advance the tx_ring->head pointer. This results in descriptors with stale DMA addresses being considered free by software but still owned by hardware, potentially causing the DMA engine to access invalid memory. The patch aligns the mapping failure path with the descriptor cleanup logic to clear descriptors properly.
Potential Impact
The vulnerability can lead to the DMA engine fetching stale, unmapped buffer addresses, which may cause data corruption or undefined behavior in the network driver. This could affect network packet transmission reliability and system stability. There is no indication of remote code execution or privilege escalation from the provided data.
Mitigation Recommendations
A fix has been implemented to clear TX descriptors on fragment mapping failure in the Linux kernel spacemit driver. Users should apply the official kernel update that includes this patch. No additional mitigation steps are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-f5v2-jrgp-7g6f
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98592"]
Threat ID: 6ad520ae2cdf04f656993a98
Added to database: 10/18/2026, 19:40:30 UTC
Last enriched: 10/18/2026, 21:04:23 UTC
Last updated: 10/18/2026, 23:08:12 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.