Skip to content
Heist/ feed
High

Bluetooth: MGMT: Protect mgmt_pending list with its own lock

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: MGMT: Protect mgmt_pending list with its own lock This uses a mutex to protect from concurrent access of mgmt_pending list which can cause crashes like: ================================================================== BUG: KASAN: slab-use-after-free in hci_sock_get_channel+0x60/0x68 net/bluetooth/hci_sock.c:91 Read of size 2 at addr ffff0000c48885b2 by task syz.4.334/7318 CPU: 0 UID: 0 PID: 7318 Comm: syz.4.334 Not tainted 6.15.0-rc7-syzkaller-g187899f4124a #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:466 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 print_address_description+0xa8/0x254 mm/kasan/report.c:408 print_report+0x68/0x84 mm/kasan/report.c:521 kasan_report+0xb0/0x110 mm/kasan/report.c:634 __asan_report_load2_noabort+0x20/0x2c mm/kasan/report_generic.c:379 hci_sock_get_channel+0x60/0x68 net/bluetooth/hci_sock.c:91 mgmt_pending_find+0x7c/0x140 net/bluetooth/mgmt_util.c:223 pending_find net/bluetooth/mgmt.c:947 [inline] remove_adv_monitor+0x44/0x1a4 net/bluetooth/mgmt.c:5445 hci_mgmt_cmd+0x780/0xc00 net/bluetooth/hci_sock.c:1712 hci_sock_sendmsg+0x544/0xbb0 net/bluetooth/hci_sock.c:1832 sock_sendmsg_nosec net/socket.c:712 [inline] __sock_sendmsg net/socket.c:727 [inline] sock_write_iter+0x25c/0x378 net/socket.c:1131 new_sync_

Announced Source revision 1
Original source ↗

CVE-2025-38117

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2025-38117

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "a380b6cff1a2d2139772e88219d08330f84d0381",
        "lessThan": "7b5958332f20dc66b19be564c402dbc21b927a81",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "a380b6cff1a2d2139772e88219d08330f84d0381",
        "lessThan": "bdd56875c6926d8009914f427df71797693e90d4",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "a380b6cff1a2d2139772e88219d08330f84d0381",
        "lessThan": "4e83f2dbb2bf677e614109df24426c4dded472d4",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "a380b6cff1a2d2139772e88219d08330f84d0381",
        "lessThan": "d7882db79135c829a922daf3571f33ea1e056ae3",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "a380b6cff1a2d2139772e88219d08330f84d0381",
        "lessThan": "6fe26f694c824b8a4dbf50c635bee1302e3f099c",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "include/net/bluetooth/hci_core.h",
      "net/bluetooth/hci_core.c",
      "net/bluetooth/mgmt.c",
      "net/bluetooth/mgmt_util.c",
      "net/bluetooth/mgmt_util.h"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.1"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.1",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.1.184",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.94",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.34",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.15.3",
        "versionType": "semver",
        "lessThanOrEqual": "6.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.16",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "include/net/bluetooth/hci_core.h",
      "net/bluetooth/hci_core.c",
      "net/bluetooth/mgmt.c",
      "net/bluetooth/mgmt_util.c",
      "net/bluetooth/mgmt_util.h"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2025-38117

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#30525 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement