wifi: rtw89: fix wrong pci_get_drvdata type in AER handlers
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.18.40, 7.1.5
- CVEs
- CVE-2026-74413
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 21:16 UTC · Revision 1
Source evidence
wifi: rtw89: fix wrong pci_get_drvdata type in AER handlers
core-osv · Original sourcePublished 15 Aug 2026, 05:59 UTC
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.
osv:CVE-2026-74413
Kernel
Fixed versions: 6.18.40, 7.1.5
Complete source record
{
"id": "43a4295f7554721068ce259262ccd476b4a9f10a2daea23466a118953011c570",
"url": "https://osv.dev/vulnerability/CVE-2026-74413",
"method": "structured",
"payload": {
"kind": "advisory",
"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_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.",
"evidence": "osv:CVE-2026-74413",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.18.40",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-74413",
"aliases": [
"CVE-2026-74413"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "16e3d93c6183649a3b210f82b83c1cb12aa5e8a3"
},
{
"fixed": "aefc30e4a829c1683f6ae999df7f9310c27eae6c"
},
{
"fixed": "c1907b9a4fa9cb33d11a9af138374dd2e93f7a93"
},
{
"fixed": "7068c379cf9aa8afe4dce4d9d82390187aa9c4d0"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74413.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.17.0"
},
{
"fixed": "6.18.40"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74413.json"
}
}
],
"modified": "2026-10-28T02:30:23.463230929Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/7068c379cf9aa8afe4dce4d9d82390187aa9c4d0",
"https://git.kernel.org/stable/c/aefc30e4a829c1683f6ae999df7f9310c27eae6c",
"https://git.kernel.org/stable/c/c1907b9a4fa9cb33d11a9af138374dd2e93f7a93",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74413.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-74413",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74413.json"
}
},
"related_cves": [
{
"value": "CVE-2026-74413",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490141,
"published_at": "2026-08-15T05:59:20.021+00:00"
}