CVE-2026-98617 (GCVE-0-2026-98617)
Vulnerability from cvelistv5
Published
2026-10-18 15:19
Modified
2026-10-19 09:22
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: eth: fbnic: use the Rx queue napi pointer to find the napi vector The queue management ndos pick the napi vector for an Rx queue with: nv = fbn->napi[idx % fbn->num_napi]; The issue is this is only correct in the cases where there are no standalone Tx vectors. In those cases we were allocating the Tx vectors first and then the Rx so the queues would be pointing to Tx NAPI vectors instead of the Rx ones. The mapping the ndos want is already recorded. fbnic_set_netif_napi() publishes it with netif_queue_set_napi(), which stores the napi pointer in netdev_rx_queue.napi, and fbnic_reset_netif_napi() clears it again. Both run under the netdev instance lock that the queue management ndos also hold, so the pointer can be read directly. Use it and drop the divide. The pointer is NULL exactly while the datapath is down, so fbnic_queue_mem_alloc() can reject that case rather than reaching into freed state: netdev_rx_queue_restart() calls it before it tests netif_running(), and fbnic_pm_suspend() leaves netif_running() true across a PCIe recovery that never completes, so a queue restart can arrive after fbnic_stop() has freed the rings and the vectors. fbnic_stop() clears the association in fbnic_reset_netif_queues() before fbnic_free_napi_vectors(), so the NULL is always published first. fbnic_queue_start() and fbnic_queue_stop() need no check of their own, as netdev_rx_queue_reconfig() only reaches them once fbnic_queue_mem_alloc() has succeeded under the same instance lock.
Impacted products
Vendor Product Version
Linux Linux Version: da43127a8edc7498cce7b2554533f4027c618933
Version: da43127a8edc7498cce7b2554533f4027c618933
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/meta/fbnic/fbnic_txrx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "1fb569cf3bf97e552f465b2c719e36b48ae7c18b",
              "status": "affected",
              "version": "da43127a8edc7498cce7b2554533f4027c618933",
              "versionType": "git"
            },
            {
              "lessThan": "b5d9e9d4d0c13bc8b60d8d97e7a07fb25fea639e",
              "status": "affected",
              "version": "da43127a8edc7498cce7b2554533f4027c618933",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/meta/fbnic/fbnic_txrx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.18"
            },
            {
              "lessThan": "6.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.9",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\neth: fbnic: use the Rx queue napi pointer to find the napi vector\n\nThe queue management ndos pick the napi vector for an Rx queue with:\n\tnv = fbn-\u003enapi[idx % fbn-\u003enum_napi];\n\nThe issue is this is only correct in the cases where there are no\nstandalone Tx vectors. In those cases we were allocating the Tx vectors\nfirst and then the Rx so the queues would be pointing to Tx NAPI vectors\ninstead of the Rx ones.\n\nThe mapping the ndos want is already recorded.  fbnic_set_netif_napi()\npublishes it with netif_queue_set_napi(), which stores the napi pointer\nin netdev_rx_queue.napi, and fbnic_reset_netif_napi() clears it again.\nBoth run under the netdev instance lock that the queue management ndos\nalso hold, so the pointer can be read directly.\n\nUse it and drop the divide.  The pointer is NULL exactly while the\ndatapath is down, so fbnic_queue_mem_alloc() can reject that case rather\nthan reaching into freed state: netdev_rx_queue_restart() calls it\nbefore it tests netif_running(), and fbnic_pm_suspend() leaves\nnetif_running() true across a PCIe recovery that never completes, so a\nqueue restart can arrive after fbnic_stop() has freed the rings and the\nvectors.  fbnic_stop() clears the association in\nfbnic_reset_netif_queues() before fbnic_free_napi_vectors(), so the\nNULL is always published first.  fbnic_queue_start() and\nfbnic_queue_stop() need no check of their own, as\nnetdev_rx_queue_reconfig() only reaches them once fbnic_queue_mem_alloc()\nhas succeeded under the same instance lock."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:22:45.221Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/1fb569cf3bf97e552f465b2c719e36b48ae7c18b"
        },
        {
          "url": "https://git.kernel.org/stable/c/b5d9e9d4d0c13bc8b60d8d97e7a07fb25fea639e"
        }
      ],
      "title": "eth: fbnic: use the Rx queue napi pointer to find the napi vector",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98617",
    "datePublished": "2026-10-18T15:19:37.060Z",
    "dateReserved": "2026-09-25T10:25:14.360Z",
    "dateUpdated": "2026-10-19T09:22:45.221Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…