{"id":"CVE-2026-74698","aliases":["CVE-2026-74698"],"related":[],"kind":"vulnerability","state":"published","title":"net/mlx5e: fix BQL reset on SQ re-activation","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: fix BQL reset on SQ re-activation\n\nmlx5e_queue_start() deactivates and re-activates all channels but closes\nonly the queue being restarted. mlx5e_activate_txqsq() then\nunconditionally calls netdev_tx_reset_queue(), zeroing the BQL counters\nof channels that kept their in-flight TX WQEs. The next completion then\nover-charges and trips the BUG_ON() in dql_completed():\n\n  kernel BUG at lib/dynamic_queue_limits.c:99!\n  RIP: 0010:dql_completed+0x23d/0x280\n  Call Trace:\n   <IRQ>\n   mlx5e_poll_tx_cq+0x668/0xa60\n   mlx5e_napi_poll+0x5b/0x7b0\n   net_rx_action+0x15a/0x580\n\nReset BQL only when the SQ has no bytes in flight (sq->cc == sq->pc).\n\nIn the case that reset is skipped, the outstanding WQEs will eventually\ncomplete and rebalance the dql. The dql->limit is carried across the\nreset.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: fix BQL reset on SQ re-activation\n\nmlx5e_queue_start() deactivates and re-activates all channels but closes\nonly the queue being restarted. mlx5e_activate_txqsq() then\nunconditionally calls netdev_tx_reset_queue(), zeroing the BQL counters\nof channels that kept their in-flight TX WQEs. The next completion then\nover-charges and trips the BUG_ON() in dql_completed():\n\n  kernel BUG at lib/dynamic_queue_limits.c:99!\n  RIP: 0010:dql_completed+0x23d/0x280\n  Call Trace:\n   <IRQ>\n   mlx5e_poll_tx_cq+0x668/0xa60\n   mlx5e_napi_poll+0x5b/0x7b0\n   net_rx_action+0x15a/0x580\n\nReset BQL only when the SQ has no bytes in flight (sq->cc == sq->pc).\n\nIn the case that reset is skipped, the outstanding WQEs will eventually\ncomplete and rebalance the dql. The dql->limit is carried across the\nreset.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnet/mlx5e: corrige el reinicio de BQL en la reactivación de SQ\n\nmlx5e_queue_start() desactiva y reactiva todos los canales, pero cierra solo la cola que se está reiniciando. mlx5e_activate_txqsq() luego llama incondicionalmente a netdev_tx_reset_queue(), poniendo a cero los contadores BQL de los canales que mantuvieron sus WQE TX en vuelo. La siguiente finalización luego sobrecarga y activa el BUG_ON() en dql_completed():\n\nBUG del kernel en lib/dynamic_queue_limits.c:99!\nRIP: 0010:dql_completed+0x23d/0x280\nTraza de Llamadas:\n <IRQ>\n mlx5e_poll_tx_cq+0x668/0xa60\n mlx5e_napi_poll+0x5b/0x7b0\n net_rx_action+0x15a/0x580\n\nReinicia BQL solo cuando el SQ no tiene bytes en vuelo (sq -> cc == sq -> pc).\n\nEn el caso de que se omita el reinicio, los WQE pendientes finalmente se completarán y reequilibrarán el dql. El dql -> limit se mantiene a través del reinicio.","source":"nvd"}],"published":"2026-08-22T15:32:59.703Z","modified":"2026-10-14T13:10:00.187Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b2588ea40ec9472688289c1a644627c0f4a1f33f","fixed":"88664c48d7d1eca8e1ac92da85c89c26af741cf1","status":"affected"},{"type":"git","introduced":"b2588ea40ec9472688289c1a644627c0f4a1f33f","fixed":"d2897717cd222e575599d903d885c48602699800","status":"affected"},{"type":"git","introduced":"b2588ea40ec9472688289c1a644627c0f4a1f33f","fixed":"e7386770be1bf810bcd6af39d1e4bfeab3408430","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.17","status":"unaffected"},{"type":"semver","introduced":"6.18.45","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.9","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/88664c48d7d1eca8e1ac92da85c89c26af741cf1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d2897717cd222e575599d903d885c48602699800","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e7386770be1bf810bcd6af39d1e4bfeab3408430","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74698","url":"https://www.cve.org/CVERecord?id=CVE-2026-74698","licence":"CVE Terms of Use","modified":"2026-08-22T15:32:59.703Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74698","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74698","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:34.939Z","epss":{"score":0.00166,"percentile":0.06133,"date":"2026-12-01T12:00:22.000Z"}}