wifi: mt76: mt7915: fix ext PHY use-after-free on register error path
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ad706fcf6255494613b94418e7243d98065dbeaf, Kernel 15b960014f24dce5388d4a2e7274e6490cb3c421, Kernel 34058ad122f7524e33df8e38caba4b1d803b025a and 8 more.
In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7915: fix ext PHY use-after-free on register error path After mt7915_register_ext_phy() succeeded, a failure of the main PHY mt7915_init_debugfs() or mt7915_coredump_register() unwound through free_phy2, which called ieee80211_free_hw() on the ext PHY hw while it was still registered with mac80211, since mt76_unregister_device() only unregisters the main hw. Unregister the ext PHY (thermal + phy + hw) first and skip the redundant free.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=7b8e1ae886e45aed9274048f2836a70b75ecfa40 <ad706fcf6255494613b94418e7243d98065dbeaf, >=7b8e1ae886e45aed9274048f2836a70b75ecfa40 <15b960014f24dce5388d4a2e7274e6490cb3c421, >=7b8e1ae886e45aed9274048f2836a70b75ecfa40 <34058ad122f7524e33df8e38caba4b1d803b025a, >=7b8e1ae886e45aed9274048f2836a70b75ecfa40 <648f5f03ff50d4bd719106ace0cdf1d8be02cbdd, >=7b8e1ae886e45aed9274048f2836a70b75ecfa40 <a7fd3bae8e11a7c00df6a5021d9ef248ae9f9bf5, >=7b8e1ae886e45aed9274048f2836a70b75ecfa40 <aa55bec92ba7747dd08feff409f8074c5e052e71, =5.19 | ad706fcf6255494613b94418e7243d98065dbeaf, 15b960014f24dce5388d4a2e7274e6490cb3c421, 34058ad122f7524e33df8e38caba4b1d803b025a, 648f5f03ff50d4bd719106ace0cdf1d8be02cbdd, a7fd3bae8e11a7c00df6a5021d9ef248ae9f9bf5, aa55bec92ba7747dd08feff409f8074c5e052e71 |
| linux-kernel: Kernel | >=6.13.0 <6.18.52, >=6.19.0 <7.2.6, >=6.2.0 <6.6.157, >=6.7.0 <6.12.110, >=5.19.0 <6.1.188 | 6.18.52, 7.2.6, 6.6.157, 6.12.110, 6.1.188 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket