Bluetooth: MGMT: free the mesh send cancel command when it is cancelled (Linux Linux)

CVE-2026-90253
Not available

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected b338d91703fae6f6afd67f3f75caa3b8f36ddef3 < b609341ee56967d9a45845ff26f79336d2114b55 ; affected b338d91703fae6f6afd67f3f75caa3b8f36ddef3 < 416fabca9b7237b76aa9cafcf8c497b8ac00d88c ; affected b338d91703fae6f6afd67f3f75caa3b8f36ddef3 < 88e30d036d777b00aed42bd35000de23ff40910c ; affected b338d91703fae6f6afd67f3f75caa3b8f36ddef3 < 05438d338a875a9daa08ca3f6a35b4480cf13de4 ; affected b338d91703fae6f6afd67f3f75caa3b8f36ddef3 < fa46d428c014e7b72a18634679815670418e67dc ; affected b338d91703fae6f6afd67f3f75caa3b8f36ddef3 < 3c742feda8fcabf741a17bcf668b63c8f606f9c5
Linux · Linuxaffected 6.1 ; unaffected 0 < 6.1 ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.* ; unaffected 6.12.110 ≤ 6.12.* ; unaffected 6.18.52 ≤ 6.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD