Skip to content
Heist/ feed
Unrated

Bluetooth: hci_sysfs: Fix NULL pointer dereference in device_del()

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sysfs: Fix NULL pointer dereference in device_del() A NULL pointer dereference in klist_put() occurs when a child device (such as a BNEP network device in bnep_session) is concurrently being unregistered while hci_conn_del_sysfs() reparents child devices. This is caused by a race condition between hci_conn_del_sysfs() and concurrent child device unregistration (e.g. bnep_session calling unregister_netdev()). During device unregistration, device_del() snapshots a non-NULL parent pointer. Concurrently, hci_conn_del_sysfs() finds the child device using device_find_any_child() and calls device_move() to reparent it to NULL, which removes the node from its parent's klist and clears knode_parent. Subsequently, device_del() calls klist_del(&dev->p->knode_parent) using the stale parent snapshot, causing klist_put() to dereference knode_klist(n)->put on an already removed node, resulting in a NULL pointer dereference. This race was introduced by commit 27aabf27fd01 ("Bluetooth: fix use-after-free in device_for_each_child()"), which replaced device_find_child(..., __match_tty) with device_find_any_child() in hci_conn_del_sysfs(). That change was intended to avoid a use-after-free where conn->dev outlived its parent hdev->dev when child devices held references to conn->dev, because conn->dev only held a reference to hdev->dev while registered in sysfs. Fix the issue properly by taking an explicit referenc

Announced Group revision 1
Original source ↗

CVE-2026-97975

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-2026-97975

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": "de5a44f351ca7efd9add9851b218f5353e2224b7",
        "lessThan": "55b76500546e5f2e7fdd7ae7283530b620de6e61",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "7b277bd569bb6a2777f0014f84b4344f444fd49d",
        "lessThan": "66cc55b69928b742d24b4c5b66d195ae96900e48",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "27aabf27fd014ae037cc179c61b0bee7cff55b3d",
        "lessThan": "eeabdb25c3209569367e99a85ca9a503b64a646d",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "27aabf27fd014ae037cc179c61b0bee7cff55b3d",
        "lessThan": "9e9ece97b8e716890793de261574b8efef7d8702",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "27aabf27fd014ae037cc179c61b0bee7cff55b3d",
        "lessThan": "9b851b09b392da68bd715601f10a5adb2d8d19b8",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6894717a1ea363c5a27010ba604f957c309d282d",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "fb91ce37dc9a37ea23cf32b6d7b667004e93d4c5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "a9584c897d1cba6265c78010bbb45ca5722c88bc",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0f67ca2a80acf8b207240405b7f72d660665d3df",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "91e2a2e4d1336333804cd31162984f01ad8cc70f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6.6.64",
        "lessThan": "6.6.160",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "6.12.2",
        "lessThan": "6.12.114",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "5.4.297",
        "lessThan": "5.5",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "5.10.231",
        "lessThan": "5.11",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "5.15.174",
        "lessThan": "5.16",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "6.1.120",
        "lessThan": "6.2",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "6.11.11",
        "lessThan": "6.12",
        "versionType": "semver"
      }
    ],
    "programFiles": [
      "net/bluetooth/hci_sysfs.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.13"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.13",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.114",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.53",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.7",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "net/bluetooth/hci_sysfs.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-97975

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

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