Skip to content
CVE PROGRAM SOURCE RECORD8.8 High

CVE-2022-49479

mt76: fix tx status related use-after-free race on station removal

Description

In the Linux kernel, the following vulnerability has been resolved: mt76: fix tx status related use-after-free race on station removal There is a small race window where ongoing tx activity can lead to a skb getting added to the status tracking idr after that idr has already been cleaned up, which will keep the wcid linked in the status poll list. Fix this by only adding status skbs if the wcid pointer is still assigned in dev->wcid, which gets cleared early by mt76_sta_pre_rcu_remove

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

  • bd1e3e7b693c17a04e7d2bd9119daa482b7c7720 to < ef7f9f894cfd0b2e471206409a529af4a26ddd55affected
  • bd1e3e7b693c17a04e7d2bd9119daa482b7c7720 to < ddd426d72aca4054045a9bd3b80a4ce1d398f11faffected
  • bd1e3e7b693c17a04e7d2bd9119daa482b7c7720 to < fcfe1b5e162bf473c1d47760962cec8523c00466affected

Linux Linux

Default version status: affected

  • 5.16affected
  • 0 to < 5.16unaffected
  • 5.17.14 to ≤ 5.17.*unaffected
  • 5.18.3 to ≤ 5.18.*unaffected
  • 5.19 to ≤ *unaffected

References