Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: check the owner of a remain-on-channel request mvif->roc_phy points to the phy of the request that started last for the interface. That request can end, and the phy can start a request for a different interface. The driver does not always clear the pointer. Two callers trust the pointer: - mt76_vif_cleanup() aborts the request on that phy when the driver removes the interface. - mt76_cancel_remain_on_channel() aborts the request on that phy for the interface. If the phy holds a request for a different interface, both callers abort the wrong request. The request of the interface stays active. Its work then runs after the driver removes the interface. The work tears the link down through the freed bss_conf. Compare phy->roc_vif with the interface in both callers before the abort.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
a8f424c1287cc79a06c21816658feea87dfcb83f to < 991a458d9848d33f814abbe0f6e85ac925c4c895affecteda8f424c1287cc79a06c21816658feea87dfcb83f to < 29035e4450d7d2f6bfec428d0e548baaef40b6a5affecteda8f424c1287cc79a06c21816658feea87dfcb83f to < d6173b8b36e5cefc7cce34c31a0cc63fb3bd77f4affected
Linux Linux
Default version status: affected
6.14affected0 to < 6.14unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected