CVE-2026-98592

Estado: RecibidaSin puntuar—
Gravedad—Sin puntuar
Probabilidad de explotación0.20 %mayor que el 9 % de las CVE
Explotación activaNono figura en el catálogo de CISA
Exploit públicoNo conocidosin código público localizado

En el kernel de Linux se ha resuelto la siguiente vulnerabilidad:

net: spacemit: borrar el descriptor TX en caso de fallo al mapear un fragmento

emac_tx_mem_map() escribe TX_DESC_0_OWN en el descriptor del anillo para cada ranura posterior a old_head en cuanto la copia local de esa ranura, inicializada con memset(), se confirma con "*tx_desc_addr = tx_desc", es decir, antes de que los búferes de esa ranura hayan sido necesariamente mapeados con éxito. Si después emac_tx_map_frag() falla en un fragmento posterior, la ruta err_free_skb llama a emac_free_tx_buf() para desmapear y descartar el skb, pero deja intacta la memoria del descriptor ya escrito, y tx_ring->head nunca avanza más allá de old_head (la escritura "tx_ring->head = head" se omite por el goto).

Leer descripción completaMostrar menos

Así, una ranura comprendida entre old_head y el head revertido puede quedar con TX_DESC_0_OWN activado y con buffer_addr_{1,2} apuntando a mapeos DMA que emac_free_tx_buf() acaba de eliminar, mientras el software considera que esa ranura vuelve a estar libre. La siguiente llamada exitosa a emac_tx_mem_map() solo reconstruye el propio old_head; si el motor DMA avanza automáticamente al descriptor siguiente una vez terminado el paquete de old_head, leerá esa dirección obsoleta, ya desmapeada.

emac_tx_clean_desc() ya trata emac_free_tx_buf() y la limpieza del descriptor como un par al recuperar descriptores completados; hay que hacer lo mismo en la ruta de fallo del mapeo.

Traducción automática del texto original de NVD (en inglés).

CVSS

NVD no ha asignado puntuación CVSS a esta CVE (habitual desde el cambio de política de abril de 2026).

Probabilidad de explotación (EPSS)

Probabilidad de explotación en los próximos 30 días
0.20 %
Percentil entre todas las CVEs puntuadas
9
Fecha de la puntuación
20/10/2026

EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).

Tecnologías afectadas (1)

⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.

Referencias

Mostrar las 3 referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2026-98592",
  "cveTags": [],
  "metrics": {},
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "product": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "bfec6d7f2001c7470c3cd261ae65a3ba8737f226",
              "lessThan": "ca9986cc824f2feb79b4a83e5f6f4c24c2140448",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "bfec6d7f2001c7470c3cd261ae65a3ba8737f226",
              "lessThan": "3001a103a367c6051c43aff363b6979c10e65347",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "bfec6d7f2001c7470c3cd261ae65a3ba8737f226",
              "lessThan": "2d14720beb58870b15a52b236c3ab0be0e06e915",
              "versionType": "git"
            }
          ],
          "programFiles": [
            "drivers/net/ethernet/spacemit/k1_emac.c"
          ],
          "defaultStatus": "unaffected"
        },
        {
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "product": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.18"
            },
            {
              "status": "unaffected",
              "version": "0",
              "lessThan": "6.18",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "6.18.55",
              "versionType": "semver",
              "lessThanOrEqual": "6.18.*"
            },
            {
              "status": "unaffected",
              "version": "7.2.9",
              "versionType": "semver",
              "lessThanOrEqual": "7.2.*"
            },
            {
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ],
          "programFiles": [
            "drivers/net/ethernet/spacemit/k1_emac.c"
          ],
          "defaultStatus": "affected"
        }
      ]
    }
  ],
  "published": "2026-10-18T16:17:11.830",
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/2d14720beb58870b15a52b236c3ab0be0e06e915",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/3001a103a367c6051c43aff363b6979c10e65347",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/ca9986cc824f2feb79b4a83e5f6f4c24c2140448",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "vulnStatus": "Received",
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    }
  ],
  "lastModified": "2026-10-19T10:19:20.360",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}