[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022637-CVE-2024-57988-db3b@gregkh>
Date: Wed, 26 Feb 2025 18:05:47 -0800
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-57988: Bluetooth: btbcm: Fix NULL deref in btbcm_get_board_name()
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: btbcm: Fix NULL deref in btbcm_get_board_name()
devm_kstrdup() can return a NULL pointer on failure,but this
returned value in btbcm_get_board_name() is not checked.
Add NULL check in btbcm_get_board_name(), to handle kernel NULL
pointer dereference error.
The Linux kernel CVE team has assigned CVE-2024-57988 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.9 with commit f9183eaad91521ba1c04a19e5606ae61560a735e and fixed in 6.12.13 with commit df2f2d9199e61819cca5da0121dfa4d4cb57000f
Issue introduced in 6.9 with commit f9183eaad91521ba1c04a19e5606ae61560a735e and fixed in 6.13.2 with commit 74af8b9d0e79deefd2d43e14b84575839a849169
Issue introduced in 6.9 with commit f9183eaad91521ba1c04a19e5606ae61560a735e and fixed in 6.14-rc1 with commit b88655bc6593c6a7fdc1248b212d17e581c4334e
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-57988
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/bluetooth/btbcm.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/df2f2d9199e61819cca5da0121dfa4d4cb57000f
https://git.kernel.org/stable/c/74af8b9d0e79deefd2d43e14b84575839a849169
https://git.kernel.org/stable/c/b88655bc6593c6a7fdc1248b212d17e581c4334e
Powered by blists - more mailing lists