CVE-2026-90253: Bluetooth: MGMT: free the mesh send cancel command when it is cancelled
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: MGMT: free the mesh send cancel command when it is cancelled
mesh_send_cancel() queues the pending command with a NULL destroy callback, so it is only freed if send_cancel() runs. A cancelled entry is leaked, as _hci_cmd_sync_cancel_entry() does not release entry->data when there is no destroy callback, and hci_cmd_sync_clear() cancels every pending entry when the controller is unregistered. Nothing else reclaims it either: mgmt_pending_new() does not put the command on hdev->mgmt_pending.
The leak also pins the socket reference taken by mgmt_pending_new(), so the mgmt socket is never released.
Free the command from a destroy callback.
The Linux kernel CVE team has assigned CVE-2026-90253 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.1 with commit b338d91703fae6f6afd67f3f75caa3b8f36ddef3 and fixed in 6.1.188 with commit b609341ee56967d9a45845ff26f79336d2114b55 Issue introduced in 6.1 with commit b338d91703fae6f6afd67f3f75caa3b8f36ddef3 and fixed in 6.6.157 with commit 416fabca9b7237b76aa9cafcf8c497b8ac00d88c Issue introduced in 6.1 with commit b338d91703fae6f6afd67f3f75caa3b8f36ddef3 and fixed in 6.12.110 with commit 88e30d036d777b00aed42bd35000de23ff40910c Issue introduced in 6.1 with commit b338d91703fae6f6afd67f3f75caa3b8f36ddef3 and fixed in 6.18.52 with commit 05438d338a875a9daa08ca3f6a35b4480cf13de4 Issue introduced in 6.1 with commit b338d91703fae6f6afd67f3f75caa3b8f36ddef3 and fixed in 7.2.6 with commit fa46d428c014e7b72a18634679815670418e67dc Issue introduced in 6.1 with commit b338d91703fae6f6afd67f3f75caa3b8f36ddef3 and fixed in 7.3-rc1 with commit 3c742feda8fcabf741a17bcf668b63c8f606f9c5
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-2026-90253
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/b609341ee56967d9a45845ff26f79336d2114b55 https://git.kernel.org/stable/c/416fabca9b7237b76aa9cafcf8c497b8ac00d88c https://git.kernel.org/stable/c/88e30d036d777b00aed42bd35000de23ff40910c https://git.kernel.org/stable/c/05438d338a875a9daa08ca3f6a35b4480cf13de4 https://git.kernel.org/stable/c/fa46d428c014e7b72a18634679815670418e67dc https://git.kernel.org/stable/c/3c742feda8fcabf741a17bcf668b63c8f606f9c5