{"api_version":"1","generated_at":"2026-10-03T22:38:24+00:00","cve":"CVE-2026-97975","urls":{"html":"https://cve.report/CVE-2026-97975","api":"https://cve.report/api/cve/CVE-2026-97975.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-97975","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-97975"},"summary":{"title":"Bluetooth: hci_sysfs: Fix NULL pointer dereference in device_del()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_sysfs: Fix NULL pointer dereference in device_del()\n\nA NULL pointer dereference in klist_put() occurs when a child device (such\nas a BNEP network device in bnep_session) is concurrently being\nunregistered while hci_conn_del_sysfs() reparents child devices.\n\nThis is caused by a race condition between hci_conn_del_sysfs() and\nconcurrent child device unregistration (e.g. bnep_session calling\nunregister_netdev()). During device unregistration, device_del() snapshots\na non-NULL parent pointer. Concurrently, hci_conn_del_sysfs() finds the\nchild device using device_find_any_child() and calls device_move() to\nreparent it to NULL, which removes the node from its parent's klist and\nclears knode_parent. Subsequently, device_del() calls\nklist_del(&dev->p->knode_parent) using the stale parent snapshot, causing\nklist_put() to dereference knode_klist(n)->put on an already removed node,\nresulting in a NULL pointer dereference.\n\nThis race was introduced by commit 27aabf27fd01 (\"Bluetooth: fix\nuse-after-free in device_for_each_child()\"), which replaced\ndevice_find_child(..., __match_tty) with device_find_any_child() in\nhci_conn_del_sysfs(). That change was intended to avoid a use-after-free\nwhere conn->dev outlived its parent hdev->dev when child devices held\nreferences to conn->dev, because conn->dev only held a reference to\nhdev->dev while registered in sysfs.\n\nFix the issue properly by taking an explicit reference to the parent device\nwith get_device(&hdev->dev) in hci_conn_init_sysfs() and dropping it with\nput_device(parent) in bt_link_release() when the conn device is freed. This\nensures that hdev->dev remains valid for the entire lifecycle of conn->dev,\nresolving the underlying use-after-free. With the parent reference held\nproperly, restore the __match_tty filter in hci_conn_del_sysfs() so that\ndevice_move() is only invoked on persistent RFCOMM TTY devices as\noriginally intended, eliminating the race condition with unregistering\nnetwork devices.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-25 11:17:25","updated_at":"2026-09-25 11:17:25"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/9e9ece97b8e716890793de261574b8efef7d8702","name":"https://git.kernel.org/stable/c/9e9ece97b8e716890793de261574b8efef7d8702","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9b851b09b392da68bd715601f10a5adb2d8d19b8","name":"https://git.kernel.org/stable/c/9b851b09b392da68bd715601f10a5adb2d8d19b8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/eeabdb25c3209569367e99a85ca9a503b64a646d","name":"https://git.kernel.org/stable/c/eeabdb25c3209569367e99a85ca9a503b64a646d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-97975","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97975","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 27aabf27fd014ae037cc179c61b0bee7cff55b3d eeabdb25c3209569367e99a85ca9a503b64a646d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 27aabf27fd014ae037cc179c61b0bee7cff55b3d 9e9ece97b8e716890793de261574b8efef7d8702 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 27aabf27fd014ae037cc179c61b0bee7cff55b3d 9b851b09b392da68bd715601f10a5adb2d8d19b8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6894717a1ea363c5a27010ba604f957c309d282d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fb91ce37dc9a37ea23cf32b6d7b667004e93d4c5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a9584c897d1cba6265c78010bbb45ca5722c88bc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0f67ca2a80acf8b207240405b7f72d660665d3df git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected de5a44f351ca7efd9add9851b218f5353e2224b7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 91e2a2e4d1336333804cd31162984f01ad8cc70f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7b277bd569bb6a2777f0014f84b4344f444fd49d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.4.297 5.5 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.10.231 5.11 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15.174 5.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.120 6.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6.64 6.7 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.11.11 6.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.12.2 6.13 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.13","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.13 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.53 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.7 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"97975","cve":"CVE-2026-97975","epss":"0.001660000","percentile":"0.051930000","score_date":"2026-09-27","updated_at":"2026-09-28 00:02:24"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/bluetooth/hci_sysfs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"eeabdb25c3209569367e99a85ca9a503b64a646d","status":"affected","version":"27aabf27fd014ae037cc179c61b0bee7cff55b3d","versionType":"git"},{"lessThan":"9e9ece97b8e716890793de261574b8efef7d8702","status":"affected","version":"27aabf27fd014ae037cc179c61b0bee7cff55b3d","versionType":"git"},{"lessThan":"9b851b09b392da68bd715601f10a5adb2d8d19b8","status":"affected","version":"27aabf27fd014ae037cc179c61b0bee7cff55b3d","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":"de5a44f351ca7efd9add9851b218f5353e2224b7","versionType":"git"},{"status":"affected","version":"91e2a2e4d1336333804cd31162984f01ad8cc70f","versionType":"git"},{"status":"affected","version":"7b277bd569bb6a2777f0014f84b4344f444fd49d","versionType":"git"},{"lessThan":"5.5","status":"affected","version":"5.4.297","versionType":"semver"},{"lessThan":"5.11","status":"affected","version":"5.10.231","versionType":"semver"},{"lessThan":"5.16","status":"affected","version":"5.15.174","versionType":"semver"},{"lessThan":"6.2","status":"affected","version":"6.1.120","versionType":"semver"},{"lessThan":"6.7","status":"affected","version":"6.6.64","versionType":"semver"},{"lessThan":"6.12","status":"affected","version":"6.11.11","versionType":"semver"},{"lessThan":"6.13","status":"affected","version":"6.12.2","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/bluetooth/hci_sysfs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.13"},{"lessThan":"6.13","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.53","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.53","versionStartIncluding":"6.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.7","versionStartIncluding":"6.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc3","versionStartIncluding":"6.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.297","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.231","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.174","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.120","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.64","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.2","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_sysfs: Fix NULL pointer dereference in device_del()\n\nA NULL pointer dereference in klist_put() occurs when a child device (such\nas a BNEP network device in bnep_session) is concurrently being\nunregistered while hci_conn_del_sysfs() reparents child devices.\n\nThis is caused by a race condition between hci_conn_del_sysfs() and\nconcurrent child device unregistration (e.g. bnep_session calling\nunregister_netdev()). During device unregistration, device_del() snapshots\na non-NULL parent pointer. Concurrently, hci_conn_del_sysfs() finds the\nchild device using device_find_any_child() and calls device_move() to\nreparent it to NULL, which removes the node from its parent's klist and\nclears knode_parent. Subsequently, device_del() calls\nklist_del(&dev->p->knode_parent) using the stale parent snapshot, causing\nklist_put() to dereference knode_klist(n)->put on an already removed node,\nresulting in a NULL pointer dereference.\n\nThis race was introduced by commit 27aabf27fd01 (\"Bluetooth: fix\nuse-after-free in device_for_each_child()\"), which replaced\ndevice_find_child(..., __match_tty) with device_find_any_child() in\nhci_conn_del_sysfs(). That change was intended to avoid a use-after-free\nwhere conn->dev outlived its parent hdev->dev when child devices held\nreferences to conn->dev, because conn->dev only held a reference to\nhdev->dev while registered in sysfs.\n\nFix the issue properly by taking an explicit reference to the parent device\nwith get_device(&hdev->dev) in hci_conn_init_sysfs() and dropping it with\nput_device(parent) in bt_link_release() when the conn device is freed. This\nensures that hdev->dev remains valid for the entire lifecycle of conn->dev,\nresolving the underlying use-after-free. With the parent reference held\nproperly, restore the __match_tty filter in hci_conn_del_sysfs() so that\ndevice_move() is only invoked on persistent RFCOMM TTY devices as\noriginally intended, eliminating the race condition with unregistering\nnetwork devices."}],"providerMetadata":{"dateUpdated":"2026-09-25T10:23:13.971Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/eeabdb25c3209569367e99a85ca9a503b64a646d"},{"url":"https://git.kernel.org/stable/c/9e9ece97b8e716890793de261574b8efef7d8702"},{"url":"https://git.kernel.org/stable/c/9b851b09b392da68bd715601f10a5adb2d8d19b8"}],"title":"Bluetooth: hci_sysfs: Fix NULL pointer dereference in device_del()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-97975","datePublished":"2026-09-25T10:23:13.971Z","dateReserved":"2026-09-25T10:18:58.207Z","dateUpdated":"2026-09-25T10:23:13.971Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-25 11:17:25","lastModifiedDate":"2026-09-25 11:17:25","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"97975","Ordinal":"1","Title":"Bluetooth: hci_sysfs: Fix NULL pointer dereference in device_del","CVE":"CVE-2026-97975","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"97975","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_sysfs: Fix NULL pointer dereference in device_del()\n\nA NULL pointer dereference in klist_put() occurs when a child device (such\nas a BNEP network device in bnep_session) is concurrently being\nunregistered while hci_conn_del_sysfs() reparents child devices.\n\nThis is caused by a race condition between hci_conn_del_sysfs() and\nconcurrent child device unregistration (e.g. bnep_session calling\nunregister_netdev()). During device unregistration, device_del() snapshots\na non-NULL parent pointer. Concurrently, hci_conn_del_sysfs() finds the\nchild device using device_find_any_child() and calls device_move() to\nreparent it to NULL, which removes the node from its parent's klist and\nclears knode_parent. Subsequently, device_del() calls\nklist_del(&dev->p->knode_parent) using the stale parent snapshot, causing\nklist_put() to dereference knode_klist(n)->put on an already removed node,\nresulting in a NULL pointer dereference.\n\nThis race was introduced by commit 27aabf27fd01 (\"Bluetooth: fix\nuse-after-free in device_for_each_child()\"), which replaced\ndevice_find_child(..., __match_tty) with device_find_any_child() in\nhci_conn_del_sysfs(). That change was intended to avoid a use-after-free\nwhere conn->dev outlived its parent hdev->dev when child devices held\nreferences to conn->dev, because conn->dev only held a reference to\nhdev->dev while registered in sysfs.\n\nFix the issue properly by taking an explicit reference to the parent device\nwith get_device(&hdev->dev) in hci_conn_init_sysfs() and dropping it with\nput_device(parent) in bt_link_release() when the conn device is freed. This\nensures that hdev->dev remains valid for the entire lifecycle of conn->dev,\nresolving the underlying use-after-free. With the parent reference held\nproperly, restore the __match_tty filter in hci_conn_del_sysfs() so that\ndevice_move() is only invoked on persistent RFCOMM TTY devices as\noriginally intended, eliminating the race condition with unregistering\nnetwork devices.","Type":"Description","Title":"Bluetooth: hci_sysfs: Fix NULL pointer dereference in device_del"}]}}}