Skip to main content
Vulnerability Database/CVE-2026-98277

CVE-2026-98277: Linux Kernel fbnic DoS Vulnerability

CVE-2026-98277 is a denial of service vulnerability in the Linux kernel fbnic ethernet driver that can cause network transmission stalls. This post explains its technical details, impact, and mitigation steps.

Published:

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-98277 Overview

CVE-2026-98277 affects the Linux kernel's fbnic Ethernet driver. The flaw lives in the transmit path, specifically fbnic_tx_map(), which batches packet descriptors when xmit_more is set. The driver relies on the final packet in a burst to ring the hardware doorbell and request a completion. When that terminal packet is dropped by skb_put_padto(), skb_cow_head(), or a DMA mapping failure, the doorbell is never written. Descriptors for prior packets remain invisible to the hardware, and a burst-then-idle workload can stall the transmit queue indefinitely.

Critical Impact

A dropped packet at the end of a transmit burst leaves the fbnic transmit ring stalled, causing traffic loss and potential denial of service on affected network interfaces.

Affected Products

  • Linux kernel versions containing the fbnic driver prior to the fix commits
  • Systems using Meta's fbnic network interface controller
  • Linux stable branches referenced in the upstream fix commits

Discovery Timeline

  • 2026-10-06 - CVE-2026-98277 published to NVD
  • 2026-10-06 - Last updated in NVD database

Technical Details for CVE-2026-98277

Vulnerability Analysis

The fbnic driver optimizes transmit throughput by deferring doorbell writes when the kernel sets xmit_more on an skb. Each packet in a burst skips the memory-mapped I/O doorbell and the per-packet completion request, deferring both to the final packet in the burst. This batching reduces PCIe transactions and improves line-rate throughput.

The optimization assumes the terminating packet always reaches the point where it rings the doorbell. The vulnerability breaks that assumption. When the final skb fails skb_put_padto() padding, skb_cow_head() header expansion, or DMA mapping, the driver's error path releases the packet without flushing the accumulated descriptors. The hardware never observes the queued work.

The queue remains populated with valid descriptors that the NIC cannot see. For bursty workloads followed by idle periods, no subsequent transmit arrives to publish the pending descriptors. The ring fills over time and transmits stall permanently. The condition is reproducible under QEMU with fault injection and has not been observed in production environments.

Root Cause

The root cause is a missing error-path flush in fbnic_tx_map(). The function tracks neither the meta descriptor of the last packet left without a doorbell nor a mechanism to publish deferred descriptors when the terminating packet is dropped. The completion request bit must be set on the flushed descriptor; a bare tail write would cause the hardware to transmit packets without ever reporting a head, filling the ring and causing a permanent stall.

Attack Vector

The issue triggers under conditions that cause packet drops at the tail of a transmit burst. These include memory pressure that fails skb_cow_head(), DMA mapping exhaustion, and malformed small packets requiring padding via skb_put_padto(). Local workloads generating specific traffic patterns could trigger queue stalls, resulting in a denial-of-service condition on the network interface. No remote exploitation vector has been documented.

For technical details, see the upstream fix commits: Kernel Git Commit Fix, Kernel Git Commit Changes, and Kernel Git Commit Update.

Detection Methods for CVE-2026-98277

Indicators of Compromise

  • Transmit queue watchdog timeouts logged against interfaces using the fbnic driver
  • Growing tx_queue_stopped or stalled TX ring counters in ethtool -S output
  • Interface transmit throughput dropping to zero after bursty traffic patterns
  • Kernel log entries indicating transmit timeout on fbnic interfaces

Detection Strategies

  • Monitor kernel ring buffer for NETDEV WATCHDOG messages targeting fbnic-backed interfaces
  • Correlate increases in skb_cow_head() or DMA mapping failure counters with subsequent TX ring stalls
  • Audit running kernel versions against the fixed commit hashes listed in the upstream references

Monitoring Recommendations

  • Collect per-queue transmit statistics from fbnic interfaces at regular intervals and alert on queue-stop events
  • Track kernel version inventory across fleet systems to identify hosts running vulnerable fbnic builds
  • Instrument network telemetry pipelines to flag sustained zero-throughput intervals on previously active interfaces

How to Mitigate CVE-2026-98277

Immediate Actions Required

  • Identify systems running Linux kernels that include the fbnic driver without the referenced fix commits
  • Apply the upstream patch commits 490599ab2313, 28fb764d670a, and 60ef74357a36 or update to a stable kernel containing these fixes
  • Schedule reboots on affected hosts after patched kernels are installed

Patch Information

The fix remembers the meta descriptor of the last packet left without a doorbell and flushes it from the error paths in fbnic_tx_map(). The patch sets the completion request bit on that descriptor rather than merely writing the tail, preventing the hardware from transmitting packets without reporting a head. Patched commits are available in the upstream Linux stable tree.

Workarounds

  • No official workaround exists; apply the kernel patches as the primary remediation
  • Reduce exposure by avoiding workloads that generate bursty traffic followed by idle intervals on fbnic interfaces until patched
  • Monitor transmit queue health and reset affected interfaces administratively if stalls are observed on unpatched systems
bash
# Verify running kernel version and check for fbnic driver
uname -r
modinfo fbnic | grep -E 'version|filename'

# After patching, confirm fix commits are present in your kernel source
git log --oneline | grep -E '490599ab2313|28fb764d670a|60ef74357a36'

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.