Description
In the Linux kernel, the following vulnerability has been resolved:

wifi: rtw89: fix wrong pci_get_drvdata type in AER handlers

rtw89 stores an ieee80211_hw pointer via pci_set_drvdata() at probe
time, but io_error_detected() and io_resume() retrieve it as a
net_device pointer. This causes netif_device_detach/attach to
operate on an ieee80211_hw struct, reading and writing at wrong
offsets. The adjacent io_slot_reset() already does it correctly.

Use ieee80211_stop_queues/wake_queues instead, consistent with
every other queue stop/start path in the driver.

Tested on RTL8852CE by calling the handlers from a test module
before and after the fix.
Published: 2026-08-15
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel driver for Realtek rtw89 networking hardware contains a type mismatch in the advanced error recovery (AER) handlers. At probe time the driver stores a pointer to an ieee80211_hw structure using pci_set_drvdata, but the io_error_detected() and io_resume() functions incorrectly interpret this pointer as a net_device structure. When netif_device_detach/attach are then called, they operate on the wrong data type, writing and reading at offsets that belong to an ieee80211_hw, which corrupts kernel memory. This fault can trigger a kernel panic or other critical failures when the AER paths are exercised.

Affected Systems

All Linux kernel builds that include the rtw89 driver for Realtek 8852C‑type Wi‑Fi adapters are affected. No specific kernel versions were enumerated, so any release that predates the patch commit (7068c379cf9aa8afe4dce4d9d82390187aa9c4d0) should be considered vulnerable until updated.

Risk and Exploitability

The fault leads to memory corruption that can result in a kernel crash, effectively causing a denial of service. The CVSS score is 8.8, indicating high severity. Since the AER handlers can be triggered by normal adapter error events, an attacker with local access to the affected device could force the kernel to crash. The EPSS score of < 1% indicates a very low probability of exploitation, and the vulnerability is not listed in CISA KEV. Based on the description, it is inferred that the attack vector is local and depends on the kernel’s handling of Wi‑Fi error events.

Generated by OpenCVE AI on August 21, 2026 at 22:33 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that contains the rtw89 driver fix (commit 7068c379cf9aa8afe4dce4d9d82390187aa9c4d0).
  • Rebuild the driver with the patched commit if a full kernel upgrade is not feasible.
  • Monitor system logs for any io_error_detected or io_resume related crashes to detect the presence of a regression or residual issue.

Generated by OpenCVE AI on August 21, 2026 at 22:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 21 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-843
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 17 Aug 2026 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-122
CWE-20

Mon, 17 Aug 2026 13:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787

Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Sat, 15 Aug 2026 17:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787

Sat, 15 Aug 2026 06:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: wifi: rtw89: fix wrong pci_get_drvdata type in AER handlers rtw89 stores an ieee80211_hw pointer via pci_set_drvdata() at probe time, but io_error_detected() and io_resume() retrieve it as a net_device pointer. This causes netif_device_detach/attach to operate on an ieee80211_hw struct, reading and writing at wrong offsets. The adjacent io_slot_reset() already does it correctly. Use ieee80211_stop_queues/wake_queues instead, consistent with every other queue stop/start path in the driver. Tested on RTL8852CE by calling the handlers from a test module before and after the fix.
Title wifi: rtw89: fix wrong pci_get_drvdata type in AER handlers
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:46:57.094Z

Reserved: 2026-08-15T05:44:03.893Z

Link: CVE-2026-74413

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:43.410

Modified: 2026-08-17T06:19:36.790

Link: CVE-2026-74413

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-74413 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T22:45:04Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

  • CWE-20

    Improper Input Validation

  • CWE-843

    Access of Resource Using Incompatible Type ('Type Confusion')