---
id: CVE-2025-71273
title: |-
  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_registe…
summary: |-
  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_registe…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-401
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 5.2, < 6.12.75'
  - 'linux_kernel >= 6.13, < 6.18.16'
  - 'linux_kernel >= 6.19, < 6.19.6'
patched:
  - linux_kernel 6.19.6
published: '2026-05-06'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T13:10:00.187'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-71273'
references:
  - url: 'https://git.kernel.org/stable/c/1bd90e0a99fdc8dc5deb3c92bf865e4496b4b311'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/2ba12401cc1f2d970fa2e7d5b15abde3f5abd40d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9b5418070ee8468fac9e8bf641c83d46b85bff30'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ad9b80ee310ed734482a2e5da874b67f88ac0ef8'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00122
epssPercentile: 0.01791
ingestedAt: '2026-10-14T13:30:58.485Z'
---

## Overview

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

## Affected

- `linux_kernel >= 5.2, < 6.12.75`
- `linux_kernel >= 6.13, < 6.18.16`
- `linux_kernel >= 6.19, < 6.19.6`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.19.6`
