wifi: rtw89: pci: add .shutdown callback to stop rfkill polling on reboot (Linux Linux)

CVE-2026-80939
Not available

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 6 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: rtw89: pci: add .shutdown callback to stop rfkill polling on reboot Since the hardware rfkill polling was introduced, arm64 platforms can panic with an asynchronous SError during warm reboot: SError Interrupt on CPU8, code 0x00000000be000011 -- SError Workqueue: events_power_efficient rfkill_poll [rfkill] rtw89_pci_ops_read8+0x94/0x160 [rtw89_pci] rtw89_core_rfkill_poll+0x50/0x1e0 [rtw89_core] rtw89_ops_rfkill_poll+0x40/0x68 [rtw89_core] ieee80211_rfkill_poll+0x3c/0x70 [mac80211] cfg80211_rfkill_poll+0x40/0x2a0 [cfg80211] rfkill_poll+0x30/0x88 [rfkill] Kernel panic - not syncing: Asynchronous SError Interrupt On the reboot path the kernel only runs device_shutdown(), which calls each driver's .shutdown callback; .remove is not invoked. The rtw89 PCI driver had no .shutdown callback, so nothing stopped the rfkill polling work while the platform was tearing the PCIe link down. Once the link is gone, the next MMIO read from the poll handler targets a non-responding device and is reported as a fatal asynchronous SError on arm64. Add rtw89_pci_shutdown(), wired to all rtw89 PCI device drivers, which sets a new RTW89_FLAG_SHUTDOWN flag (mirroring the USB RTW89_FLAG_UNPLUGGED pattern). When the flag is set, rtw89_ops_rfkill_poll() returns early, so no MMIO read is issued to the chip after shutdown begins and the SError no longer occurs. This does not call the full .remove path from .shutdown, to keep the shutdown handler minimal and avoid running the non-idempotent teardown twice.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 0b38e6277aed8a59ccb64fcc1172d962c1f11b4c < dfe2b5b2056918d186ad890079a9e7ec1898429a ; affected 0b38e6277aed8a59ccb64fcc1172d962c1f11b4c < 9693980cd7d2f5b17e5ef5922b922f2e1a770fca ; affected 0b38e6277aed8a59ccb64fcc1172d962c1f11b4c < c1f214dd1351244156deb57761b14190a233aef6 ; affected 0b38e6277aed8a59ccb64fcc1172d962c1f11b4c < 667c12782aaf8dd3cb2213e528fe63a73cb63345
Linux · Linuxaffected 6.12 ; unaffected 0 < 6.12 ; unaffected 6.12.112 ≤ 6.12.* ; unaffected 6.18.52 ≤ 6.18.* ; unaffected 7.2.4 ≤ 7.2.* ; unaffected 7.3 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD