Skip to content
Heist/ feed
Back to feed
UnratedFix available

Bluetooth: hci_sync: free the advertising instance on the failure and cancel paths

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: free the advertising instance on the failure and cancel paths adv_timeout_expire() hands a kmalloc()ed instance byte to hci_cmd_sync_queue() with a NULL destroy callback, and only adv_timeout_expire_sync() frees it. That leaks on two paths: - the return value is not checked, and hci_cmd_sync_queue() does not take ownership when it fails (-ENETDOWN, -ENODEV, -ENOMEM); - a cancelled entry is not released, as _hci_cmd_sync_cancel_entry() does not free entry->data when there is no destroy callback. hci_cmd_sync_clear() cancels every pending entry when the controller is unregistered. Free the buffer from a destroy callback, and in the caller when the entry could not be queued at all.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.188, 6.12.110, 6.18.52, 6.6.157, 7.2.6
CVEs
CVE-2026-90254
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 22:54 UTC · Revision 1

Source evidence

Bluetooth: hci_sync: free the advertising instance on the failure and cancel paths

core-osv · Original source

Published 17 Sept 2026, 16:07 UTC

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: free the advertising instance on the failure and cancel paths adv_timeout_expire() hands a kmalloc()ed instance byte to hci_cmd_sync_queue() with a NULL destroy callback, and only adv_timeout_expire_sync() frees it. That leaks on two paths: - the return value is not checked, and hci_cmd_sync_queue() does not take ownership when it fails (-ENETDOWN, -ENODEV, -ENOMEM); - a cancelled entry is not released, as _hci_cmd_sync_cancel_entry() does not free entry->data when there is no destroy callback. hci_cmd_sync_clear() cancels every pending entry when the controller is unregistered. Free the buffer from a destroy callback, and in the caller when the entry could not be queued at all.

osv:CVE-2026-90254

Kernel

Fixed versions: 6.1.188, 6.6.157, 6.12.110, 6.18.52, 7.2.6

Complete source record
{
  "id": "40e06f4b8e7db0775df9231220d238ac6a964411acc431f258ba7dee45608bd6",
  "url": "https://osv.dev/vulnerability/CVE-2026-90254",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Bluetooth: hci_sync: free the advertising instance on the failure and cancel paths",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: free the advertising instance on the failure and cancel paths adv_timeout_expire() hands a kmalloc()ed instance byte to hci_cmd_sync_queue() with a NULL destroy callback, and only adv_timeout_expire_sync() frees it. That leaks on two paths: - the return value is not checked, and hci_cmd_sync_queue() does not take ownership when it fails (-ENETDOWN, -ENODEV, -ENOMEM); - a cancelled entry is not released, as _hci_cmd_sync_cancel_entry() does not free entry->data when there is no destroy callback. hci_cmd_sync_clear() cancels every pending entry when the controller is unregistered. Free the buffer from a destroy callback, and in the caller when the entry could not be queued at all.",
    "evidence": "osv:CVE-2026-90254",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.188",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.157",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.110",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.52",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.6",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-90254",
      "aliases": [
        "CVE-2026-90254"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c249ea9b4309cf3250c5bbb42a05d38d0ed9071c"
                },
                {
                  "fixed": "c2019224a766245b7db39d87fdfe84c3fdc879d9"
                },
                {
                  "fixed": "193182c6467f508a8a61d5db506d796ffed6eee6"
                },
                {
                  "fixed": "2e3d827cd56865c14f6ca118bbccd7801091fb21"
                },
                {
                  "fixed": "9c3b6c1413bd0b4993642d987616331f84d9b7f5"
                },
                {
                  "fixed": "bb5ca1cc7744c41c59002bd6523714a685ae6595"
                },
                {
                  "fixed": "120d8dc042e3d45073bb6e50ee7b058a0b182627"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90254.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.1.0"
                },
                {
                  "fixed": "6.1.188"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.157"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.110"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.52"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.6"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90254.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:40.133582214Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/120d8dc042e3d45073bb6e50ee7b058a0b182627",
        "https://git.kernel.org/stable/c/193182c6467f508a8a61d5db506d796ffed6eee6",
        "https://git.kernel.org/stable/c/2e3d827cd56865c14f6ca118bbccd7801091fb21",
        "https://git.kernel.org/stable/c/9c3b6c1413bd0b4993642d987616331f84d9b7f5",
        "https://git.kernel.org/stable/c/bb5ca1cc7744c41c59002bd6523714a685ae6595",
        "https://git.kernel.org/stable/c/c2019224a766245b7db39d87fdfe84c3fdc879d9",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90254.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-90254",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90254.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-90254",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 507759,
  "published_at": "2026-09-17T16:07:54.123+00:00"
}