CVE-2026-98737 (GCVE-0-2026-98737)

Vulnerability from cvelistv5 – Published: 2026-10-18 15:47 – Updated: 2026-10-21 12:56
VLAI
Title
Bluetooth: hci_sync: Fix inquiry cache use-after-free
Summary
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: Fix inquiry cache use-after-free The sync command worker holds hdev->req_lock, but inquiry-cache updates and flushes use hdev->lock. Both hci_acl_create_conn_sync() and hci_stop_discovery_sync() look up entries and read their fields without taking hdev->lock. After either lookup returns, a concurrent HCIINQUIRY ioctl can acquire hdev->lock and flush the cache, freeing the entry. The worker then reads the freed entry while preparing a create-connection or remote-name-cancel command. The list traversal also races with cache updates and removal. KASAN reported these accesses: BUG: KASAN: slab-use-after-free in hci_acl_create_conn_sync+0x5f1/0x650 Workqueue: hci0 hci_cmd_sync_work Call Trace: hci_acl_create_conn_sync+0x5f1/0x650 hci_cmd_sync_work+0x13c/0x290 Allocated by task 90: hci_inquiry_cache_update+0x3e6/0x7d0 hci_inquiry_result_evt+0x3cb/0x560 Freed by task 93: hci_inquiry_cache_flush+0x111/0x2b0 hci_inquiry+0x2f2/0x780 hci_sock_ioctl+0x269/0x5f0 BUG: KASAN: slab-use-after-free in hci_stop_discovery_sync+0x3b1/0x3c0 Workqueue: hci0 hci_cmd_sync_work Call Trace: hci_stop_discovery_sync+0x3b1/0x3c0 hci_cmd_sync_work+0x173/0x300 Allocated by task 86: hci_inquiry_cache_update+0x483/0x940 hci_inquiry_result_evt+0x3cb/0x560 Freed by task 91: hci_inquiry_cache_flush+0x13e/0x2f0 hci_inquiry+0x2f2/0x780 hci_sock_ioctl+0x269/0x5f0 Hold hdev->lock across each lookup and all reads from its result. Copy the remote address before unlocking so discovery cancellation does not retain a cache entry pointer. Release the lock before sending synchronous HCI commands, since their completion handlers may need the same lock.
Severity
No CVSS data available.
Assigner
Linux CNA under the mitre root
CNA scorecard D 53/100 over 7063 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: cf75ad8b41d2aa06f98f365d42a3ae8b059daddd , < ddc9edb244cc8b5266595e8fc220e7813f2b603a (git)
Affected: cf75ad8b41d2aa06f98f365d42a3ae8b059daddd , < 52edf1c0e59dea37b8368c4a2559dca96b2fdfea (git)
Affected: cf75ad8b41d2aa06f98f365d42a3ae8b059daddd , < 333257e6e4a7bcaaea82fd357121d0f1e6b76c7b (git)
Affected: cf75ad8b41d2aa06f98f365d42a3ae8b059daddd , < a642f498f0b08f2aa9f4a69468db92f57a72349d (git)
Affected: cf75ad8b41d2aa06f98f365d42a3ae8b059daddd , < 8ed67535fdff40ca652bcd4ac7da68d11d01bd34 (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.17
Unaffected: 0 , < 5.17 (semver)
Unaffected: 6.6.160 , ≤ 6.6.* (semver)
Unaffected: 6.12.113 , ≤ 6.12.* (semver)
Unaffected: 6.18.56 , ≤ 6.18.* (semver)
Unaffected: 7.2.10 , ≤ 7.2.* (semver)
Unaffected: 7.3 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/bluetooth/hci_sync.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ddc9edb244cc8b5266595e8fc220e7813f2b603a",
              "status": "affected",
              "version": "cf75ad8b41d2aa06f98f365d42a3ae8b059daddd",
              "versionType": "git"
            },
            {
              "lessThan": "52edf1c0e59dea37b8368c4a2559dca96b2fdfea",
              "status": "affected",
              "version": "cf75ad8b41d2aa06f98f365d42a3ae8b059daddd",
              "versionType": "git"
            },
            {
              "lessThan": "333257e6e4a7bcaaea82fd357121d0f1e6b76c7b",
              "status": "affected",
              "version": "cf75ad8b41d2aa06f98f365d42a3ae8b059daddd",
              "versionType": "git"
            },
            {
              "lessThan": "a642f498f0b08f2aa9f4a69468db92f57a72349d",
              "status": "affected",
              "version": "cf75ad8b41d2aa06f98f365d42a3ae8b059daddd",
              "versionType": "git"
            },
            {
              "lessThan": "8ed67535fdff40ca652bcd4ac7da68d11d01bd34",
              "status": "affected",
              "version": "cf75ad8b41d2aa06f98f365d42a3ae8b059daddd",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/bluetooth/hci_sync.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.17"
            },
            {
              "lessThan": "5.17",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.113",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.56",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.160",
                  "versionStartIncluding": "5.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.113",
                  "versionStartIncluding": "5.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.56",
                  "versionStartIncluding": "5.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.10",
                  "versionStartIncluding": "5.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "5.17",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_sync: Fix inquiry cache use-after-free\n\nThe sync command worker holds hdev-\u003ereq_lock, but inquiry-cache updates\nand flushes use hdev-\u003elock. Both hci_acl_create_conn_sync() and\nhci_stop_discovery_sync() look up entries and read their fields without\ntaking hdev-\u003elock.\n\nAfter either lookup returns, a concurrent HCIINQUIRY ioctl can acquire\nhdev-\u003elock and flush the cache, freeing the entry. The worker then reads\nthe freed entry while preparing a create-connection or remote-name-cancel\ncommand. The list traversal also races with cache updates and removal.\n\nKASAN reported these accesses:\n\n  BUG: KASAN: slab-use-after-free in hci_acl_create_conn_sync+0x5f1/0x650\n  Workqueue: hci0 hci_cmd_sync_work\n  Call Trace:\n   hci_acl_create_conn_sync+0x5f1/0x650\n   hci_cmd_sync_work+0x13c/0x290\n\n  Allocated by task 90:\n   hci_inquiry_cache_update+0x3e6/0x7d0\n   hci_inquiry_result_evt+0x3cb/0x560\n\n  Freed by task 93:\n   hci_inquiry_cache_flush+0x111/0x2b0\n   hci_inquiry+0x2f2/0x780\n   hci_sock_ioctl+0x269/0x5f0\n\n  BUG: KASAN: slab-use-after-free in hci_stop_discovery_sync+0x3b1/0x3c0\n  Workqueue: hci0 hci_cmd_sync_work\n  Call Trace:\n   hci_stop_discovery_sync+0x3b1/0x3c0\n   hci_cmd_sync_work+0x173/0x300\n\n  Allocated by task 86:\n   hci_inquiry_cache_update+0x483/0x940\n   hci_inquiry_result_evt+0x3cb/0x560\n\n  Freed by task 91:\n   hci_inquiry_cache_flush+0x13e/0x2f0\n   hci_inquiry+0x2f2/0x780\n   hci_sock_ioctl+0x269/0x5f0\n\nHold hdev-\u003elock across each lookup and all reads from its result. Copy the\nremote address before unlocking so discovery cancellation does not retain\na cache entry pointer. Release the lock before sending synchronous HCI\ncommands, since their completion handlers may need the same lock."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-21T12:56:13.421Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ddc9edb244cc8b5266595e8fc220e7813f2b603a"
        },
        {
          "url": "https://git.kernel.org/stable/c/52edf1c0e59dea37b8368c4a2559dca96b2fdfea"
        },
        {
          "url": "https://git.kernel.org/stable/c/333257e6e4a7bcaaea82fd357121d0f1e6b76c7b"
        },
        {
          "url": "https://git.kernel.org/stable/c/a642f498f0b08f2aa9f4a69468db92f57a72349d"
        },
        {
          "url": "https://git.kernel.org/stable/c/8ed67535fdff40ca652bcd4ac7da68d11d01bd34"
        }
      ],
      "title": "Bluetooth: hci_sync: Fix inquiry cache use-after-free",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98737",
    "datePublished": "2026-10-18T15:47:14.936Z",
    "dateReserved": "2026-09-25T10:25:14.367Z",
    "dateUpdated": "2026-10-21T12:56:13.421Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-98737",
      "date": "2026-10-27",
      "epss": "0.002",
      "percentile": "0.09734"
    },
    "microsoft_vex": {
      "current_release_date": "2026-10-21T18:42:12.000Z",
      "cve": "CVE-2026-98737",
      "id": "msrc_CVE-2026-98737",
      "initial_release_date": "2026-10-20T01:06:56.000Z",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "Bluetooth: hci_sync: Fix inquiry cache use-after-free",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-98737.json",
      "version": "3"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "net/bluetooth/hci_sync.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "ddc9edb244cc8b5266595e8fc220e7813f2b603a",
                    "status": "affected",
                    "version": "cf75ad8b41d2aa06f98f365d42a3ae8b059daddd",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "52edf1c0e59dea37b8368c4a2559dca96b2fdfea",
                    "status": "affected",
                    "version": "cf75ad8b41d2aa06f98f365d42a3ae8b059daddd",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "333257e6e4a7bcaaea82fd357121d0f1e6b76c7b",
                    "status": "affected",
                    "version": "cf75ad8b41d2aa06f98f365d42a3ae8b059daddd",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "a642f498f0b08f2aa9f4a69468db92f57a72349d",
                    "status": "affected",
                    "version": "cf75ad8b41d2aa06f98f365d42a3ae8b059daddd",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "8ed67535fdff40ca652bcd4ac7da68d11d01bd34",
                    "status": "affected",
                    "version": "cf75ad8b41d2aa06f98f365d42a3ae8b059daddd",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "net/bluetooth/hci_sync.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.17"
                  },
                  {
                    "lessThan": "5.17",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.160",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.113",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.56",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.10",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_sync: Fix inquiry cache use-after-free\n\nThe sync command worker holds hdev-\u003ereq_lock, but inquiry-cache updates\nand flushes use hdev-\u003elock. Both hci_acl_create_conn_sync() and\nhci_stop_discovery_sync() look up entries and read their fields without\ntaking hdev-\u003elock.\n\nAfter either lookup returns, a concurrent HCIINQUIRY ioctl can acquire\nhdev-\u003elock and flush the cache, freeing the entry. The worker then reads\nthe freed entry while preparing a create-connection or remote-name-cancel\ncommand. The list traversal also races with cache updates and removal.\n\nKASAN reported these accesses:\n\n  BUG: KASAN: slab-use-after-free in hci_acl_create_conn_sync+0x5f1/0x650\n  Workqueue: hci0 hci_cmd_sync_work\n  Call Trace:\n   hci_acl_create_conn_sync+0x5f1/0x650\n   hci_cmd_sync_work+0x13c/0x290\n\n  Allocated by task 90:\n   hci_inquiry_cache_update+0x3e6/0x7d0\n   hci_inquiry_result_evt+0x3cb/0x560\n\n  Freed by task 93:\n   hci_inquiry_cache_flush+0x111/0x2b0\n   hci_inquiry+0x2f2/0x780\n   hci_sock_ioctl+0x269/0x5f0\n\n  BUG: KASAN: slab-use-after-free in hci_stop_discovery_sync+0x3b1/0x3c0\n  Workqueue: hci0 hci_cmd_sync_work\n  Call Trace:\n   hci_stop_discovery_sync+0x3b1/0x3c0\n   hci_cmd_sync_work+0x173/0x300\n\n  Allocated by task 86:\n   hci_inquiry_cache_update+0x483/0x940\n   hci_inquiry_result_evt+0x3cb/0x560\n\n  Freed by task 91:\n   hci_inquiry_cache_flush+0x13e/0x2f0\n   hci_inquiry+0x2f2/0x780\n   hci_sock_ioctl+0x269/0x5f0\n\nHold hdev-\u003elock across each lookup and all reads from its result. Copy the\nremote address before unlocking so discovery cancellation does not retain\na cache entry pointer. Release the lock before sending synchronous HCI\ncommands, since their completion handlers may need the same lock."
          }
        ],
        "id": "CVE-2026-98737",
        "lastModified": "2026-10-21T13:21:40.930",
        "metrics": {},
        "published": "2026-10-18T16:17:27.370",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/333257e6e4a7bcaaea82fd357121d0f1e6b76c7b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/52edf1c0e59dea37b8368c4a2559dca96b2fdfea"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/8ed67535fdff40ca652bcd4ac7da68d11d01bd34"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/a642f498f0b08f2aa9f4a69468db92f57a72349d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/ddc9edb244cc8b5266595e8fc220e7813f2b603a"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-10-21T02:11:29+00:00",
      "cve": "CVE-2026-98737",
      "id": "CVE-2026-98737",
      "initial_release_date": "2026-10-18T15:47:14.936000+00:00",
      "product_status:known_affected": "77",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of service via Bluetooth inquiry cache use-after-free",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98737.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-10-22T23:45:53Z",
      "cve": "CVE-2026-98737",
      "id": "CVE-2026-98737",
      "initial_release_date": "2026-10-18T23:42:54Z",
      "product_status:known_affected": "17",
      "product_status:known_not_affected": "331",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-98737",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-98737.json",
      "version": "5"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.