# CVE-2022-49231: rtw88: fix memory overrun and memory leak during hw_scan

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.23%, higher than 15% of CVEs (2026-12-02)
- Published: 2025-02-26T01:55:58.139Z
- Modified: 2026-08-05T08:54:25.244Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

rtw88: fix memory overrun and memory leak during hw_scan

Previously we allocated less memory than actual required, overwrite
to the buffer causes the mm module to complaint and raise access
violation faults. Along with potential memory leaks when returned
early. Fix these by passing the correct size and proper deinit flow.

(As written by CVE List.)

## Affected

- Linux Linux: from 10d162b2ed395e69720926b4f8d87f1f25ca920f before ec5da191bfcd5fd22b95459b623694f66c1cc10b; from 10d162b2ed395e69720926b4f8d87f1f25ca920f before d95984b5580dcb8b1c0036577c52b609990a1dab; 5.17 (not affected: before 5.17; from 5.17.2 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: from 5.17 before 5.17.2

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/ec5da191bfcd5fd22b95459b623694f66c1cc10b> (patch)
- <https://git.kernel.org/stable/c/d95984b5580dcb8b1c0036577c52b609990a1dab> (patch)

## Sources

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

---

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