[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025040134-CVE-2025-21936-fe95@gregkh>
Date: Tue, 1 Apr 2025 16:40:00 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2025-21936: Bluetooth: Add check for mgmt_alloc_skb() in mgmt_device_connected()
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: Add check for mgmt_alloc_skb() in mgmt_device_connected()
Add check for the return value of mgmt_alloc_skb() in
mgmt_device_connected() to prevent null pointer dereference.
The Linux kernel CVE team has assigned CVE-2025-21936 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.17 with commit e96741437ef0a5d18144e790ac894397efda0924 and fixed in 6.1.131 with commit dc516e66fb28c61b248b393e2ddd63bd7f104969
Issue introduced in 5.17 with commit e96741437ef0a5d18144e790ac894397efda0924 and fixed in 6.6.83 with commit bdb1805c248e9694dbb3ffa8867cef2e52cf7261
Issue introduced in 5.17 with commit e96741437ef0a5d18144e790ac894397efda0924 and fixed in 6.12.19 with commit 7841180342c9a0fd97d54f3e62c7369309b5cd84
Issue introduced in 5.17 with commit e96741437ef0a5d18144e790ac894397efda0924 and fixed in 6.13.7 with commit 7d39387886ffe220323cbed5c155233c3276926b
Issue introduced in 5.17 with commit e96741437ef0a5d18144e790ac894397efda0924 and fixed in 6.14 with commit d8df010f72b8a32aaea393e36121738bb53ed905
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-2025-21936
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:
net/bluetooth/mgmt.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/dc516e66fb28c61b248b393e2ddd63bd7f104969
https://git.kernel.org/stable/c/bdb1805c248e9694dbb3ffa8867cef2e52cf7261
https://git.kernel.org/stable/c/7841180342c9a0fd97d54f3e62c7369309b5cd84
https://git.kernel.org/stable/c/7d39387886ffe220323cbed5c155233c3276926b
https://git.kernel.org/stable/c/d8df010f72b8a32aaea393e36121738bb53ed905
Powered by blists - more mailing lists