{"id":"CVE-2026-31691","aliases":["CVE-2026-31691"],"related":[],"kind":"vulnerability","state":"published","title":"igb: remove napi_synchronize() in igb_down()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nigb: remove napi_synchronize() in igb_down()\n\nWhen an AF_XDP zero-copy application terminates abruptly (e.g., kill -9),\nthe XSK buffer pool is destroyed but NAPI polling continues.\nigb_clean_rx_irq_zc() repeatedly returns the full budget, preventing\nnapi_complete_done() from clearing NAPI_STATE_SCHED.\n\nigb_down() calls napi_synchronize() before napi_disable() for each queue\nvector. napi_synchronize() spins waiting for NAPI_STATE_SCHED to clear,\nwhich never happens. igb_down() blocks indefinitely, the TX watchdog\nfires, and the TX queue remains permanently stalled.\n\nnapi_disable() already handles this correctly: it sets NAPI_STATE_DISABLE.\nAfter a full-budget poll, __napi_poll() checks napi_disable_pending(). If\nset, it forces completion and clears NAPI_STATE_SCHED, breaking the loop\nthat napi_synchronize() cannot.\n\nnapi_synchronize() was added in commit 41f149a285da (\"igb: Fix possible\npanic caused by Rx traffic arrival while interface is down\").\nnapi_disable() provides stronger guarantees: it prevents further\nscheduling and waits for any active poll to exit.\nOther Intel drivers (ixgbe, ice, i40e) use napi_disable() without a\npreceding napi_synchronize() in their down paths.\n\nRemove redundant napi_synchronize() call and reorder napi_disable()\nbefore igb_set_queue_napi() so the queue-to-NAPI mapping is only\ncleared after polling has fully stopped.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nigb: remove napi_synchronize() in igb_down()\n\nWhen an AF_XDP zero-copy application terminates abruptly (e.g., kill -9),\nthe XSK buffer pool is destroyed but NAPI polling continues.\nigb_clean_rx_irq_zc() repeatedly returns the full budget, preventing\nnapi_complete_done() from clearing NAPI_STATE_SCHED.\n\nigb_down() calls napi_synchronize() before napi_disable() for each queue\nvector. napi_synchronize() spins waiting for NAPI_STATE_SCHED to clear,\nwhich never happens. igb_down() blocks indefinitely, the TX watchdog\nfires, and the TX queue remains permanently stalled.\n\nnapi_disable() already handles this correctly: it sets NAPI_STATE_DISABLE.\nAfter a full-budget poll, __napi_poll() checks napi_disable_pending(). If\nset, it forces completion and clears NAPI_STATE_SCHED, breaking the loop\nthat napi_synchronize() cannot.\n\nnapi_synchronize() was added in commit 41f149a285da (\"igb: Fix possible\npanic caused by Rx traffic arrival while interface is down\").\nnapi_disable() provides stronger guarantees: it prevents further\nscheduling and waits for any active poll to exit.\nOther Intel drivers (ixgbe, ice, i40e) use napi_disable() without a\npreceding napi_synchronize() in their down paths.\n\nRemove redundant napi_synchronize() call and reorder napi_disable()\nbefore igb_set_queue_napi() so the queue-to-NAPI mapping is only\ncleared after polling has fully stopped.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nigb: eliminar napi_synchronize() en igb_down()\n\nCuando una aplicación AF_XDP de copia cero termina abruptamente (por ejemplo, kill -9), el pool de búferes XSK es destruido pero el sondeo NAPI continúa. igb_clean_rx_irq_zc() devuelve repetidamente el presupuesto completo, impidiendo que napi_complete_done() borre NAPI_STATE_SCHED.\n\nigb_down() llama a napi_synchronize() antes de napi_disable() para cada vector de cola. napi_synchronize() gira esperando que NAPI_STATE_SCHED se borre, lo cual nunca ocurre. igb_down() se bloquea indefinidamente, el watchdog TX se activa, y la cola TX permanece permanentemente estancada.\n\nnapi_disable() ya maneja esto correctamente: establece NAPI_STATE_DISABLE. Después de un sondeo de presupuesto completo, __napi_poll() verifica napi_disable_pending(). Si está establecido, fuerza la finalización y borra NAPI_STATE_SCHED, rompiendo el bucle que napi_synchronize() no puede.\n\nnapi_synchronize() fue añadido en el commit 41f149a285da (’igb: Solucionar posible pánico causado por la llegada de tráfico Rx mientras la interfaz está inactiva’). napi_disable() proporciona garantías más sólidas: previene la programación adicional y espera a que cualquier sondeo activo finalice. Otros controladores Intel (ixgbe, ice, i40e) usan napi_disable() sin un napi_synchronize() precedente en sus rutas de desactivación.\n\nEliminar la llamada redundante a napi_synchronize() y reordenar napi_disable() antes de igb_set_queue_napi() para que el mapeo de cola a NAPI solo se borre después de que el sondeo se haya detenido por completo.","source":"nvd"}],"published":"2026-04-27T17:34:29.738Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"2c6196013f84651772388a86dfd4bb033d0c0d45","fixed":"4700471775746058c962ded6e659bf908fd76e13","status":"affected"},{"type":"git","introduced":"2c6196013f84651772388a86dfd4bb033d0c0d45","fixed":"27f5997686ee7fb7ac01be72b2010f168a3409fc","status":"affected"},{"type":"git","introduced":"2c6196013f84651772388a86dfd4bb033d0c0d45","fixed":"b1e067240379f950a0022208e0685f3465c211cb","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"6.18.23","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.13","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.14","fixed":"6.18.23"},{"status":"affected","introduced":"6.19","fixed":"6.19.13"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/4700471775746058c962ded6e659bf908fd76e13","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/27f5997686ee7fb7ac01be72b2010f168a3409fc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b1e067240379f950a0022208e0685f3465c211cb","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T15:24:22.822Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31691","url":"https://www.cve.org/CVERecord?id=CVE-2026-31691","licence":"CVE Terms of Use","modified":"2026-11-06T15:32:23.128Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31691","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31691","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:19.690Z","epss":{"score":0.00117,"percentile":0.01841,"date":"2026-12-01T12:00:22.000Z"}}