CVE-2022-49539

MEDIUM

Linux Kernel 5.16-5.18.3 - Use-After-Free in rtw89 SER L2 Reset

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0020
EPSS Percentile 10.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (8)
linux/Kernel 5.16.0 - 5.18.3linux
Linux/Linux < 5.16
Linux/Linux 5.16
Linux/Linux 5.18.3 - 5.18.*
Linux/Linux 5.19
Linux/Linux e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd - b169f877f001a474fb89939842c390518160bcc5
Linux/Linux e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd - f6aff772c9978844529618d86aafb53e5d3ae161
linux/linux_kernel 5.16 - 5.18.3
Published Feb 26, 2025
Tracked Since Feb 18, 2026