GHSA-f4w3-pjj6-cfwjunknown
In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7915: unwind...
🔗 CVE IDs covered (1)
📋 Description
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7915: unwind state on add_interface failure
When mt76_wcid_alloc() fails, mt7915_add_interface() returned without clearing the vif_mask/omac_mask bits it had already set, without removing the firmware dev info added earlier, and without clearing a monitor_vif pointer to the vif mac80211 is about to free. mac80211 does not call remove_interface() for a failed add, so the indices and firmware dev entry leaked permanently and testmode could dereference the stale monitor_vif. Add a proper error unwind.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-90368
- https://git.kernel.org/stable/c/218fdf0fcb796b8d281dbdd4a6144c5a8fc7fd0f
- https://git.kernel.org/stable/c/2fb6480c52f611338e1b0abe5e6219be1fc9ab75
- https://git.kernel.org/stable/c/507eddb8175a67df5086354b92d6a4fd7f6f1f96
- https://git.kernel.org/stable/c/71bf9de2ab3fb2c54bedb0b4c9b468d2e1d55280
- https://github.com/advisories/GHSA-f4w3-pjj6-cfwj