GHSA-65VC-57CP-XPJG

Vulnerability from github – Published: 2026-12-03 12:31 – Updated: 2026-12-03 12:31
VLAI
Details

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: hci_sync: Copy the resolving-list IRK under RCU

hci_le_add_resolve_list_sync() copies the peer IRK into the LE Add Device To Resolving List command after hci_find_irk_by_addr() has returned. The finder ends its RCU read-side section before returning the borrowed entry, and neither the request worker nor interleave_scan_work() holds hdev->lock here. The resolving-list membership check between the lookup and the copy takes hdev->lock and may sleep on it, which widens the window.

When LL privacy programs a peer with address resolution enabled, MGMT_OP_LOAD_IRKS can free its IRK before the copy:

Request worker Management / RCU reclamation hci_le_add_resolve_list_sync() irk = hci_find_irk_by_addr() load_irks() hci_dev_lock(hdev) hci_smp_irks_clear(hdev) list_del_rcu(), kfree_rcu() hci_dev_unlock(hdev) grace period ends, irk is freed resolving-list membership check memcpy(cp.peer_irk, irk->val, 16)

Copy the IRK value in an RCU read-side section right after the lookup, as hci_le_set_privacy_mode_sync() does for the identity address. The section ends before hdev->lock is taken and before the synchronous HCI command is sent.

KASAN reported this on a test kernel with scheduling hooks, whose frames appear in the trace. The report predates the hdev->lock taken by the membership check.

KASAN report as below:

==================================================================
BUG: KASAN: slab-use-after-free in hci_le_add_resolve_list_sync+0x8d9/0x910
Read of size 16 at addr ffff88810d21452d by task kworker/u17:0/504

CPU: 2 UID: 0 PID: 504 Comm: kworker/u17:0 Not tainted 7.2.0-rc6-pmb-bt-functional-v1+ #2 PREEMPT(lazy)
Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Workqueue: hci0 interleave_scan_work
Call Trace:
 <TASK>
 dump_stack_lvl+0x93/0xd0
 print_report+0xce/0x630
 ? hci_le_add_resolve_list_sync+0x8d9/0x910
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? __virt_addr_valid+0x20d/0x410
 ? hci_le_add_resolve_list_sync+0x8d9/0x910
 kasan_report+0xe0/0x110
 ? hci_le_add_resolve_list_sync+0x8d9/0x910
 hci_le_add_resolve_list_sync+0x8d9/0x910
 ? __pfx_hci_le_add_resolve_list_sync+0x10/0x10
 ? pmbd_probe_hit_cookie+0xe7/0x1c0
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? pmbd_probe_hit_cookie+0xee/0x1c0
 ? __pfx_pmbd_probe_hit_cookie+0x10/0x10
 hci_le_add_accept_list_sync+0x18e/0x820
 ? conn_params_copy+0x36e/0x650
 ? __pfx_hci_le_add_accept_list_sync+0x10/0x10
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? conn_params_copy+0x3a0/0x650
 hci_passive_scan_sync+0x95f/0x1f10
 ? __pfx_hci_passive_scan_sync+0x10/0x10
 ? debug_object_deactivate+0x2f8/0x3c0
 ? pwq_dec_nr_in_flight+0x880/0xdf0
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? lock_acquire+0x17b/0x2f0
 ? process_one_work+0x895/0x19c0
 interleave_scan_work+0x11b/0x470
 process_one_work+0x908/0x19c0
 ? __pfx_process_one_work+0x10/0x10
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? lock_is_held_type+0x8f/0x100
 ? srso_alias_return_thunk+0x5/0xfbef5
 worker_thread+0x65c/0xe40
 ? __pfx_worker_thread+0x10/0x10
 kthread+0x34f/0x460
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? __pfx_kthread+0x10/0x10
 ret_from_fork+0x659/0x940
 ? __pfx_ret_from_fork+0x10/0x10
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? __switch_to+0x74f/0xf80
 ? __pfx_kthread+0x10/0x10
 ret_from_fork_asm+0x1a/0x30
 </TASK>

Allocated by task 535:
 kasan_save_stack+0x33/0x60
 kasan_save_track+0x14/0x30
 __kasan_kmalloc+0

---truncated---

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-143310"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-12-03T10:18:17Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_sync: Copy the resolving-list IRK under RCU\n\nhci_le_add_resolve_list_sync() copies the peer IRK into the LE Add\nDevice To Resolving List command after hci_find_irk_by_addr() has\nreturned. The finder ends its RCU read-side section before returning\nthe borrowed entry, and neither the request worker nor\ninterleave_scan_work() holds hdev-\u003elock here. The resolving-list\nmembership check between the lookup and the copy takes hdev-\u003elock and\nmay sleep on it, which widens the window.\n\nWhen LL privacy programs a peer with address resolution enabled,\nMGMT_OP_LOAD_IRKS can free its IRK before the copy:\n\n  Request worker                   Management / RCU reclamation\n  hci_le_add_resolve_list_sync()\n    irk = hci_find_irk_by_addr()\n                                   load_irks()\n                                     hci_dev_lock(hdev)\n                                     hci_smp_irks_clear(hdev)\n                                       list_del_rcu(), kfree_rcu()\n                                     hci_dev_unlock(hdev)\n                                   grace period ends, irk is freed\n    resolving-list membership check\n    memcpy(cp.peer_irk, irk-\u003eval, 16)\n\nCopy the IRK value in an RCU read-side section right after the lookup,\nas hci_le_set_privacy_mode_sync() does for the identity address. The\nsection ends before hdev-\u003elock is taken and before the synchronous HCI\ncommand is sent.\n\nKASAN reported this on a test kernel with scheduling hooks, whose\nframes appear in the trace. The report predates the hdev-\u003elock taken\nby the membership check.\n\nKASAN report as below:\n\n    ==================================================================\n    BUG: KASAN: slab-use-after-free in hci_le_add_resolve_list_sync+0x8d9/0x910\n    Read of size 16 at addr ffff88810d21452d by task kworker/u17:0/504\n\n    CPU: 2 UID: 0 PID: 504 Comm: kworker/u17:0 Not tainted 7.2.0-rc6-pmb-bt-functional-v1+ #2 PREEMPT(lazy)\n    Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014\n    Workqueue: hci0 interleave_scan_work\n    Call Trace:\n     \u003cTASK\u003e\n     dump_stack_lvl+0x93/0xd0\n     print_report+0xce/0x630\n     ? hci_le_add_resolve_list_sync+0x8d9/0x910\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __virt_addr_valid+0x20d/0x410\n     ? hci_le_add_resolve_list_sync+0x8d9/0x910\n     kasan_report+0xe0/0x110\n     ? hci_le_add_resolve_list_sync+0x8d9/0x910\n     hci_le_add_resolve_list_sync+0x8d9/0x910\n     ? __pfx_hci_le_add_resolve_list_sync+0x10/0x10\n     ? pmbd_probe_hit_cookie+0xe7/0x1c0\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? pmbd_probe_hit_cookie+0xee/0x1c0\n     ? __pfx_pmbd_probe_hit_cookie+0x10/0x10\n     hci_le_add_accept_list_sync+0x18e/0x820\n     ? conn_params_copy+0x36e/0x650\n     ? __pfx_hci_le_add_accept_list_sync+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? conn_params_copy+0x3a0/0x650\n     hci_passive_scan_sync+0x95f/0x1f10\n     ? __pfx_hci_passive_scan_sync+0x10/0x10\n     ? debug_object_deactivate+0x2f8/0x3c0\n     ? pwq_dec_nr_in_flight+0x880/0xdf0\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lock_acquire+0x17b/0x2f0\n     ? process_one_work+0x895/0x19c0\n     interleave_scan_work+0x11b/0x470\n     process_one_work+0x908/0x19c0\n     ? __pfx_process_one_work+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lock_is_held_type+0x8f/0x100\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     worker_thread+0x65c/0xe40\n     ? __pfx_worker_thread+0x10/0x10\n     kthread+0x34f/0x460\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __pfx_kthread+0x10/0x10\n     ret_from_fork+0x659/0x940\n     ? __pfx_ret_from_fork+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __switch_to+0x74f/0xf80\n     ? __pfx_kthread+0x10/0x10\n     ret_from_fork_asm+0x1a/0x30\n     \u003c/TASK\u003e\n\n    Allocated by task 535:\n     kasan_save_stack+0x33/0x60\n     kasan_save_track+0x14/0x30\n     __kasan_kmalloc+0\n---truncated---",
  "id": "GHSA-65vc-57cp-xpjg",
  "modified": "2026-12-03T12:31:11Z",
  "published": "2026-12-03T12:31:11Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143310"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/08ffd6579dea0c2f182a06b228dac87f49705771"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3107440d0fd075c6a12292421cd970454ab95dd7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9ff737119177a6c1ce6083ef8c0fc06355f11869"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ce34273031603fb755fb352c134ce9c0a621b3f1"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



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
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

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.