← Back to CVE Explorer

CVE-2026-90113

Full vulnerability record from the local CVENow database.

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.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-17 17:17:03.367000
Last modified
2026-10-19 09:19:00.733000
View original CVE JSON
{
  "id": "CVE-2026-90113",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-17T17:17:03.367",
  "lastModified": "2026-10-19T09:19:00.733",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/net/netdevsim/netdev.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "5bc8e8dbef27b73bd7b6d1fd5108b4fd4c6d469f",
              "lessThan": "b8f32b0804b4bf0cba0ee0a093e3fd74f11d7166",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "5bc8e8dbef27b73bd7b6d1fd5108b4fd4c6d469f",
              "lessThan": "db038ac4dca0fa626199e9c297eddd8362be0550",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "5bc8e8dbef27b73bd7b6d1fd5108b4fd4c6d469f",
              "lessThan": "07e98a4d5e9c292eae97c9cc5ab0937384e48492",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/net/netdevsim/netdev.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "6.14",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "6.14",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.52",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.6",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/07e98a4d5e9c292eae97c9cc5ab0937384e48492",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/b8f32b0804b4bf0cba0ee0a093e3fd74f11d7166",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/db038ac4dca0fa626199e9c297eddd8362be0550",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}