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

CVE-2026-98187: Linux Kernel p54 WiFi Use-After-Free Flaw

CVE-2026-98187 is a use-after-free vulnerability in the Linux kernel p54 WiFi driver that allows memory corruption through PDR_INTERFACE_LIST records. This article covers technical details, affected versions, and mitigation.

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

CVE-2026-98187 is an out-of-bounds read vulnerability in the Linux kernel p54 Wi-Fi driver. The flaw resides in the PDR_INTERFACE_LIST parsing loop, which validates only that a record's start offset falls within the EEPROM entry before reading a full struct exp_if from it. A truncated trailing record causes if_id and variant field reads to extend past the entry boundary into adjacent heap memory. The issue was confirmed with a KASAN reproducer. Because the variant field also drives synthesizer front-end selection, the defect can influence driver code paths beyond simple information disclosure. The upstream fix advances the loop pointer only when a complete record still fits in the entry.

Critical Impact

An attacker able to supply crafted EEPROM data to a vulnerable p54 Wi-Fi device can trigger an out-of-bounds heap read and influence synthesizer front-end selection, enabling information disclosure and potentially unsafe driver state.

Affected Products

  • Linux kernel p54 Wi-Fi driver (drivers/net/wireless/intersil/p54)
  • Multiple stable Linux kernel branches referenced by the backported fix commits
  • Systems using Prism54-based Wi-Fi hardware (USB/PCI p54 devices)

Discovery Timeline

  • 2026-10-06 - CVE-2026-98187 published to the National Vulnerability Database (NVD)
  • 2026-10-06 - Last updated in NVD database

Technical Details for CVE-2026-98187

Vulnerability Analysis

The p54 driver parses EEPROM data organized as a sequence of Product Data Records (PDRs). When processing a PDR_INTERFACE_LIST entry, the driver walks a packed array of struct exp_if records. The parsing loop verifies that the current record's starting offset is still inside the PDR payload, but does not confirm that the full sizeof(struct exp_if) bytes remain. If the final record is truncated, the driver reads the if_id and variant fields from memory past the EEPROM buffer, landing in neighboring heap allocations.

Two security consequences follow. First, heap contents adjacent to the EEPROM buffer are consumed as driver input, producing an out-of-bounds read [CWE-125]. Second, the variant byte selects the synthesizer front-end used by the radio, so attacker-influenced bytes alter runtime driver behavior rather than just leaking data.

Root Cause

The root cause is an incomplete bounds check in the PDR_INTERFACE_LIST iteration logic. The loop advances based on record start position alone, instead of requiring that an entire struct exp_if fit within the remaining entry length. The fix advances only while a complete record still fits in the entry.

Attack Vector

Exploitation requires supplying a malformed EEPROM image to the driver. This is typically possible via crafted firmware or EEPROM content loaded during device initialization, including on malicious or compromised USB p54 adapters. A KASAN reproducer of the loop confirmed the out-of-bounds read on affected builds.

No verified public code examples are available. Refer to the upstream patches, including Linux Kernel Commit 162dbe1 and Linux Kernel Commit d8efd84f, for the authoritative source-level details.

Detection Methods for CVE-2026-98187

Indicators of Compromise

  • KASAN splats referencing the p54 driver and PDR_INTERFACE_LIST processing routines in kernel logs.
  • Unexpected p54 driver initialization errors or synthesizer selection values that do not match known hardware variants.
  • Insertion of unrecognized USB Wi-Fi devices identifying as Prism54 / p54usb on endpoints or servers.

Detection Strategies

  • Inventory running kernels and loaded modules to identify systems with p54pci, p54usb, or p54common present.
  • Correlate dmesg output for p54 initialization failures with device insertion events from udev or auditd.
  • Monitor for kernel memory safety alerts (KASAN, slab corruption) on hosts that handle untrusted USB peripherals.

Monitoring Recommendations

  • Enable USB device auditing on sensitive endpoints and record vendor/product IDs for p54-class adapters.
  • Centralize kernel logs and alert on p54_parse_eeprom or PDR_INTERFACE_LIST error strings.
  • Track kernel package versions across the fleet and flag hosts running pre-patch builds.

How to Mitigate CVE-2026-98187

Immediate Actions Required

  • Apply the distribution kernel update that incorporates the upstream p54 fix as soon as it is available.
  • On systems that do not require Prism54 hardware, blacklist the p54pci, p54usb, and p54common modules.
  • Restrict physical and USB access on hosts where the driver cannot be removed, to prevent attacker-supplied EEPROM data.

Patch Information

The fix was merged upstream and backported to multiple stable branches. Reference commits: 162dbe1c, 487f9664, 70bf34b4, bc83c04b, d2fb6b58, d44c1bad, d82492fd, and d8efd84f. The patch tightens the loop to advance only when a full struct exp_if fits in the remaining entry.

Workarounds

  • Blacklist the p54 module family where the hardware is not required.
  • Disable or physically remove Prism54-based Wi-Fi adapters from critical systems until patched kernels are deployed.
  • Enforce USB device allowlisting to prevent insertion of untrusted Wi-Fi adapters that could supply malicious EEPROM data.
bash
# Prevent the vulnerable p54 drivers from loading until the kernel is patched
echo 'blacklist p54pci'    | sudo tee /etc/modprobe.d/blacklist-p54.conf
echo 'blacklist p54usb'   | sudo tee -a /etc/modprobe.d/blacklist-p54.conf
echo 'blacklist p54common'| sudo tee -a /etc/modprobe.d/blacklist-p54.conf
sudo update-initramfs -u

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.