{"schema":"threatline.record/2","record":{"id":"CVE-2026-98592","aliases":[],"summary":"net: spacemit: clear TX descriptor on fragment mapping failure","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: spacemit: clear TX descriptor on fragment mapping failure\n\nemac_tx_mem_map() writes TX_DESC_0_OWN into the ring descriptor for\nevery slot beyond old_head as soon as that slot's memset()'d local\ncopy is committed with \"*tx_desc_addr = tx_desc\", i.e. before the\nbuffers for that slot have necessarily all been mapped successfully.\nIf emac_tx_map_frag() then fails on a later fragment, the err_free_skb\npath calls emac_free_tx_buf() to unmap and drop the skb, but leaves\nthe already-written descriptor memory untouched, and tx_ring->head is\nnever advanced past old_head (the \"tx_ring->head = head\" store is\nskipped by the goto).\n\nSo a slot between old_head and the rolled-back head can be left with\nTX_DESC_0_OWN set and buffer_addr_{1,2} pointing at DMA mappings that\nemac_free_tx_buf() just tore down, while software considers that slot\nfree again. The next successful emac_tx_mem_map() call only rebuilds\nold_head itself; if the DMA engine auto-advances into the following\ndescriptor once it finishes old_head's packet, it will fetch that\nstale, already-unmapped address.\n\nemac_tx_clean_desc() already treats emac_free_tx_buf() and clearing\nthe descriptor as a pair when reclaiming completed descriptors; do\nthe same in the mapping failure path.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98592","source_modified_at":"2026-10-19T09:22:17.811Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"bfec6d7f2001c7470c3cd261ae65a3ba8737f226","lessThan":"ca9986cc824f2feb79b4a83e5f6f4c24c2140448","status":"affected","versionType":"git"},{"version":"bfec6d7f2001c7470c3cd261ae65a3ba8737f226","lessThan":"3001a103a367c6051c43aff363b6979c10e65347","status":"affected","versionType":"git"},{"version":"bfec6d7f2001c7470c3cd261ae65a3ba8737f226","lessThan":"2d14720beb58870b15a52b236c3ab0be0e06e915","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98592","source_modified_at":"2026-10-19T09:22:17.811Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"6.18","status":"affected"},{"version":"0","lessThan":"6.18","status":"unaffected","versionType":"semver"},{"version":"6.18.55","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.9","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98592","source_modified_at":"2026-10-19T09:22:17.811Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"3001a103a367c6051c43aff363b6979c10e65347","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98592","source_modified_at":"2026-10-19T09:22:17.811Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"2d14720beb58870b15a52b236c3ab0be0e06e915","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":0.00198,"percentile":0.09047,"score_date":"2026-10-23"},"published_at":"2026-10-18T15:19:04.373Z","modified_at":"2026-10-19T09:22:17.811Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98592","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-19T09:22:17.811Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98592","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/ca9986cc824f2feb79b4a83e5f6f4c24c2140448"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/3001a103a367c6051c43aff363b6979c10e65347"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/2d14720beb58870b15a52b236c3ab0be0e06e915"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-19T09:22:17.811Z","content_hash":"ead63241bdbbc0dd1dad7ef3ae4156fb071dbf6f824cb8bd29690dc8ce12acdd"}}
