← CVE Intelligence

CVE-2025-71273

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected e3037485c68ec1a299ff41160d8fedbd4abc29b9 before d57e31c8df7b8bb684c6b56854676972a8b7c8ed; affected e3037485c68ec1a299ff41160d8fedbd4abc29b9 before 9b5418070ee8468fac9e8bf641c83d46b85bff30; affected e3037485c68ec1a299ff41160d8fedbd4abc29b9 before ad9b80ee310ed734482a2e5da874b67f88ac0ef8; affected e3037485c68ec1a299ff41160d8fedbd4abc29b9 before 1bd90e0a99fdc8dc5deb3c92bf865e4496b4b311; affected e3037485c68ec1a299ff41160d8fedbd4abc29b9 before 2ba12401cc1f2d970fa2e7d5b15abde3f5abd40d
Linux / Linuxaffected 5.2; unaffected 0 before 5.2; unaffected 6.6.160 through 6.6.*; unaffected 6.12.75 through 6.12.*; unaffected 6.18.16 through 6.18.*; unaffected 6.19.6 through 6.19.*; unaffected 7.0 through *

CWE

No CWE identifiers supplied.

References