{"id":"CVE-2026-90113","aliases":["CVE-2026-90113"],"related":[],"kind":"vulnerability","state":"published","title":"netdevsim: update queue NAPI association on queue reset","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetdevsim: update queue NAPI association on queue reset\n\nIn netdevsim, receive queues (struct nsim_rq) embed their own struct\nnapi_struct. When queue reset is performed (e.g. via queue_reset\ndebugfs), nsim_queue_start() swaps in a newly allocated struct nsim_rq,\nand nsim_queue_mem_free() later deletes and frees the old one.\n\nHowever, nsim_queue_start() failed to update the queue-to-NAPI mapping\nvia netif_queue_set_napi(). As a result, dev->_rx[idx].napi continued to\npoint to the old NAPI struct. After the old queue was freed, a subsequent\nqueue dump via Netlink (NETDEV_CMD_QUEUE_GET) triggered a KASAN\nslab-use-after-free read in nla_put_napi_id() when accessing\nrxq->napi->napi_id.\n\nFix this by calling netif_queue_set_napi() in nsim_queue_start() to\nassociate the new NAPI with the RX queue, and clear the association\nwith netif_queue_set_napi(..., NULL) in nsim_del_napi() during teardown.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetdevsim: update queue NAPI association on queue reset\n\nIn netdevsim, receive queues (struct nsim_rq) embed their own struct\nnapi_struct. When queue reset is performed (e.g. via queue_reset\ndebugfs), nsim_queue_start() swaps in a newly allocated struct nsim_rq,\nand nsim_queue_mem_free() later deletes and frees the old one.\n\nHowever, nsim_queue_start() failed to update the queue-to-NAPI mapping\nvia netif_queue_set_napi(). As a result, dev->_rx[idx].napi continued to\npoint to the old NAPI struct. After the old queue was freed, a subsequent\nqueue dump via Netlink (NETDEV_CMD_QUEUE_GET) triggered a KASAN\nslab-use-after-free read in nla_put_napi_id() when accessing\nrxq->napi->napi_id.\n\nFix this by calling netif_queue_set_napi() in nsim_queue_start() to\nassociate the new NAPI with the RX queue, and clear the association\nwith netif_queue_set_napi(..., NULL) in nsim_del_napi() during teardown.","source":"cvelist"}],"published":"2026-09-17T16:06:20.070Z","modified":"2026-10-19T09:19:00.733Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5bc8e8dbef27b73bd7b6d1fd5108b4fd4c6d469f","fixed":"b8f32b0804b4bf0cba0ee0a093e3fd74f11d7166","status":"affected"},{"type":"git","introduced":"5bc8e8dbef27b73bd7b6d1fd5108b4fd4c6d469f","fixed":"db038ac4dca0fa626199e9c297eddd8362be0550","status":"affected"},{"type":"git","introduced":"5bc8e8dbef27b73bd7b6d1fd5108b4fd4c6d469f","fixed":"07e98a4d5e9c292eae97c9cc5ab0937384e48492","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.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/b8f32b0804b4bf0cba0ee0a093e3fd74f11d7166","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/db038ac4dca0fa626199e9c297eddd8362be0550","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/07e98a4d5e9c292eae97c9cc5ab0937384e48492","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90113","url":"https://www.cve.org/CVERecord?id=CVE-2026-90113","licence":"CVE Terms of Use","modified":"2026-10-19T08:58:11.732Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90113","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90113","licence":"Public domain","modified":"2026-10-19T09:19:00.733Z"}],"updatedAt":"2026-11-25T22:59:39.307Z","epss":{"score":0.00206,"percentile":0.06018,"date":"2026-11-30T12:00:22.000Z"}}