CVE-2022-49539
JSON

5.5medium

rtw89: ser: fix CAM leaks occurring in L2 reset

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.24% (higher than 9% of CVEs)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: rtw89: ser: fix CAM leaks occurring in L2 reset The CAM, meaning address CAM and bssid CAM here, will get leaks during SER (system error recover) L2 reset process and ieee80211_restart_hw() which is called by L2 reset process eventually. The normal flow would be like -> add interface (acquire 1) -> enter ips (release 1) -> leave ips (acquire 1) -> connection (occupy 1) <(A) 1 leak after L2 reset if non-sec connection> The ieee80211_restart_hw() flow (under connection) -> ieee80211 reconfig -> add interface (acquire 1) -> leave ips (acquire 1) -> connection (occupy (A) + 2) <(B) 1 more leak> Originally, CAM is released before HW restart only if connection is under security. Now, release CAM whatever connection it is to fix leak in (A). OTOH, check if CAM is already valid to avoid acquiring multiple times to fix (B). Besides, if AP mode, release address CAM of all stations before HW restart.

Affected

Product or packageVersionsReported by
Linux Linuxfrom e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd before f6aff772c9978844529618d86aafb53e5d3ae161, from e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd before b169f877f001a474fb89939842c390518160bcc5, 5.16
Not affected: before 5.16, from 5.18.3 up to 5.18.*, from 5.19 up to *
CVE List
linux linux_kernelfrom 5.16 before 5.18.3NVD

Classification

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: rtw89: ser: fix CAM leaks occurring in L2 reset The CAM, meaning address CAM and bssid CAM here, will get leaks during SER (system error recover) L2 reset process and ieee80211_restart_hw() which is called by L2 reset process eventually. The normal flow would be like -> add interface (acquire 1) -> enter ips (release 1) -> leave ips (acquire 1) -> connection (occupy 1) <(A) 1 leak after L2 reset if non-sec connection> The ieee80211_restart_hw() flow (under connection) -> ieee80211 reconfig -> add interface (acquire 1) -> leave ips (acquire 1) -> connection (occupy (A) + 2) <(B) 1 more leak> Originally, CAM is released before HW restart only if connection is under security. Now, release CAM whatever connection it is to fix leak in (A). OTOH, check if CAM is already valid to avoid acquiring multiple times to fix (B). Besides, if AP mode, release address CAM of all stations before HW restart.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: rtw89: ser: corrige las fugas de CAM que ocurren en el reinicio de L2 El CAM, es decir, la dirección CAM y el bssid CAM aquí, tendrán fugas durante el proceso de reinicio de L2 de SER (recuperación de error del sistema) y ieee80211_restart_hw() que es llamado por el proceso de reinicio de L2 eventualmente. El flujo normal sería como -&gt; agregar interfaz (adquirir 1) -&gt; ingresar ips (liberar 1) -&gt; dejar ips (adquirir 1) -&gt; conexión (ocupar 1) &lt;(A) 1 fuga después del reinicio de L2 si la conexión no es segura&gt; El flujo ieee80211_restart_hw() (bajo conexión) -&gt; ieee80211 reconfig -&gt; agregar interfaz (adquirir 1) -&gt; dejar ips (adquirir 1) -&gt; conexión (ocupar (A) + 2) &lt;(B) 1 fuga más&gt; Originalmente, CAM se libera antes del reinicio de HW solo si la conexión está bajo seguridad. Ahora, libere la CAM de cualquier conexión para reparar la fuga en (A). Por otra parte, verifique si la CAM ya es válida para evitar realizar múltiples adquisiciones para reparar (B). Además, si está en modo AP, libere la dirección CAM de todas las estaciones antes de reiniciar el hardware.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-49539 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-49539 changed 2026-06-17Public domain