← CVE Intelligence

CVE-2026-90373

wifi: mt76: mt7915: clear wcid mask under mutex after RCU pointer clear PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7915: clear wcid mask under mutex after RCU pointer clear mt7915_remove_interface() cleared the wcid mask bit with no lock held and before clearing the RCU wcid pointer. The mask is a non-atomic RMW shared with the allocators, which all run under dev->mt76.mutex; on DBDC the two wiphys share one mt76_dev, so this raced add_interface/sta_add on the other band and could leak or double-hand-out a wcid. Clearing the bit before the RCU pointer also let a concurrent allocation reuse the index and publish its wcid, which the subsequent NULL assignment then wiped. Move the clear into the existing mutex section, after the RCU pointer is cleared.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected f3049b88b2b32326df97461813ae73e8bbc296fc before 5dce25f1d609ba991a9c22c27be586c92f03ed77; affected f3049b88b2b32326df97461813ae73e8bbc296fc before b4a41a47a67c788e6b0625fa517ec8872e99bb6c; affected f3049b88b2b32326df97461813ae73e8bbc296fc before a97b2b942d2f8f12fbd6a7caafc735d1ad115e6b; affected f3049b88b2b32326df97461813ae73e8bbc296fc before 6486e11a6e2f679597af2d5bb48c3b07a2b2a7ba; affected a582b1d54313dcdc96e7d8e1f49495dd71ddaf3e; affected 6.6.160 before 6.7
Linux / Linuxaffected 6.12; unaffected 0 before 6.12; unaffected 6.12.110 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through *

CWE

No CWE identifiers supplied.

References