# CVE-2025-71273: wifi: rtw88: Use devm_kmemdup() in rtw_set_supported_band()

- 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.16%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-05-06T11:27:06.825Z
- Modified: 2026-11-05T22:17:39.907Z
- 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:

wifi: rtw88: Use devm_kmemdup() in rtw_set_supported_band()

Simplify the code by using device managed memory allocations.

This also fixes a memory leak in rtw_register_hw(). The supported bands
were not freed in the error path.

Copied from commit 145df52a8671 ("wifi: rtw89: Convert
rtw89_core_set_supported_band to use devm_*").

(As written by CVE List.)

## Affected

- Linux Linux: from e3037485c68ec1a299ff41160d8fedbd4abc29b9 before 537723ada6d6655f0a2f48ab000fd9b0358bb442; from e3037485c68ec1a299ff41160d8fedbd4abc29b9 before d57e31c8df7b8bb684c6b56854676972a8b7c8ed; from e3037485c68ec1a299ff41160d8fedbd4abc29b9 before 9b5418070ee8468fac9e8bf641c83d46b85bff30; from e3037485c68ec1a299ff41160d8fedbd4abc29b9 before ad9b80ee310ed734482a2e5da874b67f88ac0ef8; from e3037485c68ec1a299ff41160d8fedbd4abc29b9 before 1bd90e0a99fdc8dc5deb3c92bf865e4496b4b311; from e3037485c68ec1a299ff41160d8fedbd4abc29b9 before 2ba12401cc1f2d970fa2e7d5b15abde3f5abd40d; 5.2 (not affected: before 5.2; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.75 up to 6.12.*; from 6.18.16 up to 6.18.*; from 6.19.6 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 5.2 before 6.12.75; from 6.13 before 6.18.16; from 6.19 before 6.19.6

## References

- <https://git.kernel.org/stable/c/537723ada6d6655f0a2f48ab000fd9b0358bb442>
- <https://git.kernel.org/stable/c/d57e31c8df7b8bb684c6b56854676972a8b7c8ed>
- <https://git.kernel.org/stable/c/9b5418070ee8468fac9e8bf641c83d46b85bff30> (patch)
- <https://git.kernel.org/stable/c/ad9b80ee310ed734482a2e5da874b67f88ac0ef8> (patch)
- <https://git.kernel.org/stable/c/1bd90e0a99fdc8dc5deb3c92bf865e4496b4b311> (patch)
- <https://git.kernel.org/stable/c/2ba12401cc1f2d970fa2e7d5b15abde3f5abd40d> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2025-71273 · Whole record: https://cve.day/CVE-2025-71273.json · Rebuilt by cve.day 2026-11-25T22:59:12.137Z
