[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024122725-CVE-2024-56535-4683@gregkh>
Date: Fri, 27 Dec 2024 15:11:26 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-56535: wifi: rtw89: coex: check NULL return of kmalloc in btc_fw_set_monreg()
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: rtw89: coex: check NULL return of kmalloc in btc_fw_set_monreg()
kmalloc may fail, return value might be NULL and will cause
NULL pointer dereference. Add check NULL return of kmalloc in
btc_fw_set_monreg().
The Linux kernel CVE team has assigned CVE-2024-56535 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.10 with commit b952cb0a6e2d2e6942de3f8c6a1bd985815b9550 and fixed in 6.11.11 with commit 051577414271961f3f4c3bff87b427924b486219
Issue introduced in 6.10 with commit b952cb0a6e2d2e6942de3f8c6a1bd985815b9550 and fixed in 6.12.2 with commit 64db1a42d98307001a48cec1b3e68ce9f905e73d
Issue introduced in 6.10 with commit b952cb0a6e2d2e6942de3f8c6a1bd985815b9550 and fixed in 6.13-rc1 with commit 81df5ed446b448bdc327b7c7f0b50121fc1f4aa2
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2024-56535
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/wireless/realtek/rtw89/coex.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/051577414271961f3f4c3bff87b427924b486219
https://git.kernel.org/stable/c/64db1a42d98307001a48cec1b3e68ce9f905e73d
https://git.kernel.org/stable/c/81df5ed446b448bdc327b7c7f0b50121fc1f4aa2
Powered by blists - more mailing lists