In the Linux kernel, the following vulnerability has been resolved: wifi: ath11k: unregister PM notifier on QMI init failure path ath11k_core_init() registers a PM notifier before the QMI server becomes available. If the QMI server never arrives, the device remove() path can take the early-exit path introduced for QMI initialization failures, skipping ath11k_core_deinit(). As a result, the PM notifier remains registered after the ath11k base object has been freed. A subsequent suspend or resume event may invoke the stale notifier and trigger a use-after-free. Fix this by explicitly unregistering the PM notifier in the QMI failure cleanup path before releasing ath11k resources. Tested-on: WCN6750 hw1.0 AHB WLAN.MSL.2.0.c2-00204-QCAMSLSWPLZ-1
https://git.kernel.org/stable/c/ff47a322f7fd34c2c2f2fa9b9b2843215c648e5a
https://git.kernel.org/stable/c/e5db4a056855d09df9e73d4d1b5818e1e0d43828
https://git.kernel.org/stable/c/1d8e73163ef933624341075f576e2f36ef9133f7