# CVE-2026-90113: netdevsim: update queue NAPI association on queue reset

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 6% of CVEs (2026-11-30)
- Published: 2026-09-17T16:06:20.070Z
- Modified: 2026-10-19T09:19:00.733Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

netdevsim: update queue NAPI association on queue reset

In netdevsim, receive queues (struct nsim_rq) embed their own struct
napi_struct. When queue reset is performed (e.g. via queue_reset
debugfs), nsim_queue_start() swaps in a newly allocated struct nsim_rq,
and nsim_queue_mem_free() later deletes and frees the old one.

However, nsim_queue_start() failed to update the queue-to-NAPI mapping
via netif_queue_set_napi(). As a result, dev->_rx[idx].napi continued to
point to the old NAPI struct. After the old queue was freed, a subsequent
queue dump via Netlink (NETDEV_CMD_QUEUE_GET) triggered a KASAN
slab-use-after-free read in nla_put_napi_id() when accessing
rxq->napi->napi_id.

Fix this by calling netif_queue_set_napi() in nsim_queue_start() to
associate the new NAPI with the RX queue, and clear the association
with netif_queue_set_napi(..., NULL) in nsim_del_napi() during teardown.

(As written by CVE List.)

## Affected

- Linux Linux: from 5bc8e8dbef27b73bd7b6d1fd5108b4fd4c6d469f before b8f32b0804b4bf0cba0ee0a093e3fd74f11d7166; from 5bc8e8dbef27b73bd7b6d1fd5108b4fd4c6d469f before db038ac4dca0fa626199e9c297eddd8362be0550; from 5bc8e8dbef27b73bd7b6d1fd5108b4fd4c6d469f before 07e98a4d5e9c292eae97c9cc5ab0937384e48492; 6.14 (not affected: before 6.14; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/b8f32b0804b4bf0cba0ee0a093e3fd74f11d7166>
- <https://git.kernel.org/stable/c/db038ac4dca0fa626199e9c297eddd8362be0550>
- <https://git.kernel.org/stable/c/07e98a4d5e9c292eae97c9cc5ab0937384e48492>

## Sources

- CVE List: [CVE-2026-90113](https://www.cve.org/CVERecord?id=CVE-2026-90113), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-90113](https://nvd.nist.gov/vuln/detail/CVE-2026-90113), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-90113 · Whole record: https://cve.day/CVE-2026-90113.json · Rebuilt by cve.day 2026-11-25T22:59:39.307Z
