CVE-2022-49479
JSON

8.8high

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

Severity
8.8high CVSS:3.1 by Linux
Exploit likelihood
0.31% (higher than 26% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom bd1e3e7b693c17a04e7d2bd9119daa482b7c7720 before ef7f9f894cfd0b2e471206409a529af4a26ddd55, from bd1e3e7b693c17a04e7d2bd9119daa482b7c7720 before ddd426d72aca4054045a9bd3b80a4ce1d398f11f, from bd1e3e7b693c17a04e7d2bd9119daa482b7c7720 before fcfe1b5e162bf473c1d47760962cec8523c00466, 5.16
Not affected: before 5.16, from 5.17.14 up to 5.17.*, from 5.18.3 up to 5.18.*, from 5.19 up to *
CVE List
linux linux_kernelfrom 5.16 before 5.17.14, from 5.18 before 5.18.3NVD

All scores

Linux8.8high CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA-ADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mt76: se corrige la ejecución de use-after-free relacionada con el estado de la tx al eliminar la estación. Hay una pequeña ventana de ejecución donde la actividad de tx en curso puede provocar que se agregue un skb al idr de seguimiento de estado después de que ese idr ya se haya limpiado, lo que mantendrá el wcid vinculado en la lista de sondeo de estado. Solucione esto agregando skbs de estado solo si el puntero wcid aún está asignado en dev->wcid, que se limpia antes con mt76_sta_pre_rcu_remove

References

Sources

SourceRecordLicence
CVE ListCVE-2022-49479 changed 2026-08-05CVE Terms of Use
NVDCVE-2022-49479 changed 2026-08-04Public domain