Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98617 Overview
CVE-2026-98617 affects the Linux kernel's fbnic Ethernet driver. The queue management net device operations (ndos) incorrectly derived the NAPI vector for a receive queue using a modulo expression (nv = fbn->napi[idx % fbn->num_napi];). This mapping only held when no standalone transmit vectors were allocated. When Tx vectors were allocated first, Rx queues referenced Tx NAPI vectors instead of Rx ones. The flaw also permitted queue restart paths to reach freed state during PCIe recovery after fbnic_pm_suspend() left netif_running() true.
Critical Impact
Incorrect NAPI vector association in the fbnic driver can cause queue restart operations to dereference freed ring and vector memory during PCIe recovery scenarios.
Affected Products
- Linux kernel builds containing the fbnic Meta Platforms Ethernet driver
- Stable kernel branches prior to the referenced upstream fixes
- Systems using Meta fbnic NICs with standalone Tx vector allocation
Discovery Timeline
- 2026-10-18 - CVE-2026-98617 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-98617
Vulnerability Analysis
The fbnic queue management ndos selected a NAPI vector for a given Rx queue index by indexing into the fbn->napi[] array with idx % fbn->num_napi. This arithmetic assumed a specific allocation order where Rx vectors occupied contiguous positions aligned with Rx queue indices. When standalone Tx vectors were allocated first, Rx queue indices mapped to Tx NAPI vectors, producing incorrect queue-to-NAPI associations used by subsequent queue management operations.
A secondary condition arose during PCIe recovery. fbnic_pm_suspend() leaves netif_running() set to true, so a queue restart could execute after fbnic_stop() had already freed the rings and NAPI vectors. The queue restart path would then reach into freed state, creating a use-after-free condition on kernel memory.
Root Cause
The root cause is an incorrect assumption about NAPI vector layout in fbnic. The modulo-based index computation did not reflect the actual allocation ordering when standalone Tx vectors existed. The authoritative mapping was already recorded elsewhere: fbnic_set_netif_napi() publishes it via netif_queue_set_napi(), which stores the NAPI pointer in netdev_rx_queue.napi, and fbnic_reset_netif_napi() clears it. Both run under the netdev instance lock also held by the queue management ndos.
Attack Vector
This is a kernel-local reliability and memory-safety defect, not a remotely reachable exploitation primitive. Triggering the fault requires conditions on a host using the fbnic driver, specifically queue restart operations occurring while standalone Tx vectors are present or during an incomplete PCIe recovery following fbnic_pm_suspend(). The fix replaces the divide with a direct read of netdev_rx_queue.napi and adds a NULL check in fbnic_queue_mem_alloc() to reject restarts arriving against freed state. See the upstream kernel commit and the backport commit for implementation details.
Detection Methods for CVE-2026-98617
Indicators of Compromise
- Kernel oops or NULL pointer dereference traces referencing fbnic_queue_mem_alloc, fbnic_queue_start, or fbnic_queue_stop
- Unexpected NAPI vector association logs on hosts with fbnic NICs following queue reconfiguration
- Crashes correlated with PCIe error recovery events on fbnic-equipped systems
Detection Strategies
- Inventory running kernel versions against the fixed commits listed in the upstream references
- Monitor dmesg and journal entries for fbnic driver warnings during ethtool channel changes or queue resets
- Correlate PCIe AER events with subsequent queue restart failures on affected hosts
Monitoring Recommendations
- Enable kernel crash collection (kdump) on systems using fbnic to capture stack traces for post-incident analysis
- Track driver and firmware versions across the fleet to confirm patch coverage
- Alert on repeated NIC resets or interface flaps on hosts running pre-patch kernels
How to Mitigate CVE-2026-98617
Immediate Actions Required
- Identify Linux hosts running the fbnic driver and record their current kernel versions
- Schedule kernel updates to a stable release containing the referenced upstream commits
- Validate PCIe recovery and queue reconfiguration behavior in a test environment prior to broad rollout
Patch Information
The fix is upstream in the Linux kernel. The queue management ndos now read the NAPI pointer directly from netdev_rx_queue.napi under the netdev instance lock, removing the incorrect idx % fbn->num_napi computation. fbnic_queue_mem_alloc() rejects calls when the pointer is NULL, which is guaranteed to be published before fbnic_free_napi_vectors() runs inside fbnic_stop(). Apply updates referenced in the primary upstream commit and the stable backport.
Workarounds
- Avoid runtime queue reconfiguration (for example ethtool -L) on affected fbnic hosts until patched
- Minimize suspend and PCIe recovery cycles on production fbnic systems until the fixed kernel is deployed
- Where feasible, drain workloads from affected hosts before performing NIC maintenance operations
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

