---
id: CVE-2026-74413
title: 'wifi: rtw89: fix wrong pci_get_drvdata type in AER handlers'
summary: |-
  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_re…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 16e3d93c6183649a3b210f82b83c1cb12aa5e8a3 <
    aefc30e4a829c1683f6ae999df7f9310c27eae6c
  - >-
    Linux >= 16e3d93c6183649a3b210f82b83c1cb12aa5e8a3 <
    c1907b9a4fa9cb33d11a9af138374dd2e93f7a93
  - >-
    Linux >= 16e3d93c6183649a3b210f82b83c1cb12aa5e8a3 <
    7068c379cf9aa8afe4dce4d9d82390187aa9c4d0
  - Linux 6.17
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-16T18:56:13.259106Z'
published: '2026-08-15'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T19:05:44.523Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-74413'
references:
  - url: 'https://git.kernel.org/stable/c/aefc30e4a829c1683f6ae999df7f9310c27eae6c'
  - url: 'https://git.kernel.org/stable/c/c1907b9a4fa9cb33d11a9af138374dd2e93f7a93'
  - url: 'https://git.kernel.org/stable/c/7068c379cf9aa8afe4dce4d9d82390187aa9c4d0'
tags:
  - cve.org
epss: 0.00375
epssPercentile: 0.29895
ingestedAt: '2026-10-16T19:46:24.366Z'
---

## Overview

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.

## Affected

- `Linux >= 16e3d93c6183649a3b210f82b83c1cb12aa5e8a3 < aefc30e4a829c1683f6ae999df7f9310c27eae6c`
- `Linux >= 16e3d93c6183649a3b210f82b83c1cb12aa5e8a3 < c1907b9a4fa9cb33d11a9af138374dd2e93f7a93`
- `Linux >= 16e3d93c6183649a3b210f82b83c1cb12aa5e8a3 < 7068c379cf9aa8afe4dce4d9d82390187aa9c4d0`
- `Linux 6.17`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
