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-97541 Overview
CVE-2026-97541 affects the Linux kernel ath9k_htc wireless driver. The driver stored a pointer to usb_device_id beyond the lifetime of the probe() function. Because dynamic USB IDs can be added or removed at runtime, the referenced usb_device_id structure is not guaranteed to remain valid. Later dereferences could access freed or reassigned memory. Kernel maintainers resolved the issue by storing only driver_data and retrieving other fields from the usb_device directly.
Critical Impact
A stale pointer to usb_device_id in the ath9k_htc USB Wi-Fi driver can lead to invalid memory access when dynamic IDs are modified at runtime.
Affected Products
- Linux kernel (mainline) — drivers/net/wireless/ath/ath9k/ath9k_htc subsystem
- Linux kernel stable branches patched via commits 14d2ac4, 8e70a67, 9d5e396, and c34aa59
- Systems using Atheros AR7010/AR9271-based USB Wi-Fi adapters driven by ath9k_htc
Discovery Timeline
- 2026-09-25 - CVE-2026-97541 published to NVD
- 2026-09-28 - Last updated in NVD database
Technical Details for CVE-2026-97541
Vulnerability Analysis
The ath9k_htc driver supports Atheros USB Wi-Fi devices. During USB enumeration, the kernel calls the driver's probe() function and passes a usb_device_id pointer that identifies the matched entry. The driver retained this pointer in its device context and dereferenced it after probe() completed.
USB subsystems in Linux allow user space to add or remove device IDs at runtime through sysfs. When a dynamic ID is removed, the memory backing the corresponding usb_device_id entry can be freed. Any subsequent access through the stored pointer reads memory that is no longer valid.
The root concern is lifetime mismatch between a transient match structure and a long-lived driver context. The fix extracts driver_data at probe time and retrieves other device information from the live usb_device structure, which the kernel manages for the duration of the device's attachment.
Root Cause
The driver assumed that the usb_device_id pointer provided to probe() had the same lifetime as the device binding. Dynamic USB ID registration breaks that assumption. This is a lifetime-management defect that can produce a use-after-free condition on the stored pointer.
Attack Vector
Triggering the condition requires manipulation of dynamic USB IDs through privileged interfaces such as /sys/bus/usb/drivers/ath9k_htc/. The scenario is primarily a kernel robustness issue affecting systems where privileged users or management agents modify USB ID tables while an ath9k_htc device is bound. No remote network vector is identified in the upstream commit message.
No verified proof-of-concept code is available. See the upstream fix commits for implementation details: Linux Kernel Commit 14d2ac4 and Linux Kernel Commit 9d5e396.
Detection Methods for CVE-2026-97541
Indicators of Compromise
- Kernel oops or panic messages referencing ath9k_htc functions following USB dynamic ID operations
- KASAN (Kernel Address Sanitizer) reports flagging use-after-free in ath9k_htc probe or disconnect paths
- Unexpected disconnects or reinitialization of Atheros USB Wi-Fi adapters correlated with sysfs writes to new_id or remove_id
Detection Strategies
- Review dmesg and /var/log/kern.log for stack traces mentioning ath9k_htc symbols
- Enable KASAN on test kernels to catch invalid dereferences of freed usb_device_id structures
- Audit the running kernel version against the stable commits that merge the fix
Monitoring Recommendations
- Collect kernel logs centrally and alert on ath9k_htc oops traces or warnings
- Monitor writes to /sys/bus/usb/drivers/ath9k_htc/new_id and remove_id via auditd
- Track kernel package versions across the fleet to confirm patch rollout
How to Mitigate CVE-2026-97541
Immediate Actions Required
- Apply vendor kernel updates that include the upstream fix commits
- Inventory hosts using ath9k_htc by checking lsmod | grep ath9k_htc and USB device bindings
- Restrict privileged access that can write to USB driver sysfs attributes
Patch Information
The fix is distributed through the following stable kernel commits: 14d2ac4, 8e70a67, 9d5e396, and c34aa59. The patched driver stores only driver_data from the usb_device_id and derives remaining fields from the live usb_device structure.
Workarounds
- Unload the ath9k_htc module where the driver is not required: modprobe -r ath9k_htc
- Blacklist the module on systems without Atheros USB Wi-Fi hardware via /etc/modprobe.d/
- Avoid runtime manipulation of USB dynamic IDs for ath9k_htc until the patched kernel is deployed
# Verify module presence and blacklist if unused
lsmod | grep ath9k_htc
echo 'blacklist ath9k_htc' | sudo tee /etc/modprobe.d/blacklist-ath9k_htc.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

