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_*").
Product status
e3037485c68ec1a299ff41160d8fedbd4abc29b9 (git) before 9b5418070ee8468fac9e8bf641c83d46b85bff30
e3037485c68ec1a299ff41160d8fedbd4abc29b9 (git) before ad9b80ee310ed734482a2e5da874b67f88ac0ef8
e3037485c68ec1a299ff41160d8fedbd4abc29b9 (git) before 1bd90e0a99fdc8dc5deb3c92bf865e4496b4b311
e3037485c68ec1a299ff41160d8fedbd4abc29b9 (git) before 2ba12401cc1f2d970fa2e7d5b15abde3f5abd40d
5.2
Any version before 5.2
6.12.75 (semver)
6.18.16 (semver)
6.19.6 (semver)
7.0 (original_commit_for_fix)
References
git.kernel.org/...c/9b5418070ee8468fac9e8bf641c83d46b85bff30
git.kernel.org/...c/ad9b80ee310ed734482a2e5da874b67f88ac0ef8
git.kernel.org/...c/1bd90e0a99fdc8dc5deb3c92bf865e4496b4b311
git.kernel.org/...c/2ba12401cc1f2d970fa2e7d5b15abde3f5abd40d