# CVE-2022-49539: rtw89: ser: fix CAM leaks occurring in L2 reset

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-02-26T02:13:55.529Z
- Modified: 2026-06-17T05:18:23.243Z
- Weaknesses: CWE-401
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: from 5.16 before 5.18.3

## References

- <https://git.kernel.org/stable/c/f6aff772c9978844529618d86aafb53e5d3ae161> (patch)
- <https://git.kernel.org/stable/c/b169f877f001a474fb89939842c390518160bcc5> (patch)

## Sources

- CVE List: [CVE-2022-49539](https://www.cve.org/CVERecord?id=CVE-2022-49539), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49539](https://nvd.nist.gov/vuln/detail/CVE-2022-49539), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49539 · Whole record: https://cve.day/CVE-2022-49539.json · Rebuilt by cve.day 2026-11-25T22:58:20.717Z
