GHSA-Q4JX-63FW-GPXC

Vulnerability from github – Published: 2026-11-30 15:32 – Updated: 2026-12-01 06:31
VLAI
Details

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

Bluetooth: ISO: Hold the listener during disconnect notification

An ISO listener must remain alive until a queued child's disconnect notification completes. bt_accept_enqueue() retains only the child and stores a raw parent pointer; iso_conn_ready() drops its temporary listener reference after setup. iso_chan_del() saves that pointer, unlinks the child and then calls parent->sk_data_ready() without holding a listener reference.

With an incoming CIS child still queued, disconnect and listener release can proceed in this order:

HCI disconnect Listener release iso_conn_del(): lock child iso_chan_del(): save parent bt_accept_unlink(child) iso_sock_cleanup_listen(): drain empty accept queue iso_sock_release(): orphan and kill listener final sock_put(listener) parent->sk_data_ready(parent)

After unlink, listener cleanup no longer has to take the child socket lock. The listener can therefore be freed before iso_chan_del() reads sk_data_ready, causing a use-after-free.

Take a temporary parent reference before bt_accept_unlink() and drop it after the notification. The child lock excludes accept dequeue while the child is still queued, so listener cleanup cannot complete before sock_hold(). The reference then keeps the listener alive across unlink and through the callback without changing lock order.

KASAN report as below:

==================================================================
BUG: KASAN: slab-use-after-free in iso_chan_del+0x302/0x320
Read of size 8 at addr ffff888105ca2188 by task kworker/2:1/50

    CPU: 2 UID: 0 PID: 50 Comm: kworker/2:1 Not tainted
7.2.0-rc6-pmb-bt-functional-v1+ #1 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: events iso_fixture_disconnect_work
Call Trace:
 <TASK>
 dump_stack_lvl+0x93/0xd0
 print_report+0xce/0x630
 ? iso_chan_del+0x302/0x320
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? __virt_addr_valid+0x20d/0x410
 ? iso_chan_del+0x302/0x320
 kasan_report+0xe0/0x110
 ? iso_chan_del+0x302/0x320
 iso_chan_del+0x302/0x320
 iso_conn_del+0x19d/0x3c0
 ? __pfx_iso_disconn_cfm+0x10/0x10
 iso_disconn_cfm+0x78/0x120
 hci_disconn_complete_evt+0x319/0xa30
 ? find_held_lock+0x2b/0x80
 hci_test_iso_disconn_event+0x85/0xb0
 ? __pfx_hci_test_iso_disconn_event+0x10/0x10
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? _raw_read_unlock+0x23/0x40
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? __hci_dev_get+0x15d/0x280
 iso_fixture_disconnect_work+0x67/0x290
 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
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? __kthread_parkme+0x175/0x220
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? __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 521:
 kasan_save_stack+0x33/0x60
 kasan_save_track+0x14/0x30
 __kasan_kmalloc+0xaa/0xb0
 __kmalloc_noprof+0x2d7/0x770
 sk_prot_alloc+0x13e/0x260
 sk_alloc+0x37/0xb40
 bt_sock_alloc+0x40/0x3b0
 iso_sock_alloc.constprop.0+0x3a/0x360
 iso_sock_create+0xc7/0x160
 bt_sock_cre

---truncated---

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-139377"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-30T14:19:04Z",
    "severity": "HIGH"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: ISO: Hold the listener during disconnect notification\n\nAn ISO listener must remain alive until a queued child\u0027s disconnect\nnotification completes. bt_accept_enqueue() retains only the child and\nstores a raw parent pointer; iso_conn_ready() drops its temporary\nlistener reference after setup. iso_chan_del() saves that pointer,\nunlinks the child and then calls parent-\u003esk_data_ready() without holding\na listener reference.\n\nWith an incoming CIS child still queued, disconnect and listener release\ncan proceed in this order:\n\n  HCI disconnect                   Listener release\n  iso_conn_del(): lock child\n  iso_chan_del(): save parent\n  bt_accept_unlink(child)\n                                   iso_sock_cleanup_listen():\n                                     drain empty accept queue\n                                   iso_sock_release():\n                                     orphan and kill listener\n                                     final sock_put(listener)\n  parent-\u003esk_data_ready(parent)\n\nAfter unlink, listener cleanup no longer has to take the child socket\nlock. The listener can therefore be freed before iso_chan_del() reads\nsk_data_ready, causing a use-after-free.\n\nTake a temporary parent reference before bt_accept_unlink() and drop it\nafter the notification. The child lock excludes accept dequeue while the\nchild is still queued, so listener cleanup cannot complete before\nsock_hold(). The reference then keeps the listener alive across unlink\nand through the callback without changing lock order.\n\nKASAN report as below:\n\n    ==================================================================\n    BUG: KASAN: slab-use-after-free in iso_chan_del+0x302/0x320\n    Read of size 8 at addr ffff888105ca2188 by task kworker/2:1/50\n\n        CPU: 2 UID: 0 PID: 50 Comm: kworker/2:1 Not tainted\n    7.2.0-rc6-pmb-bt-functional-v1+ #1 PREEMPT(lazy)\n        Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps\n    fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014\n    Workqueue: events iso_fixture_disconnect_work\n    Call Trace:\n     \u003cTASK\u003e\n     dump_stack_lvl+0x93/0xd0\n     print_report+0xce/0x630\n     ? iso_chan_del+0x302/0x320\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __virt_addr_valid+0x20d/0x410\n     ? iso_chan_del+0x302/0x320\n     kasan_report+0xe0/0x110\n     ? iso_chan_del+0x302/0x320\n     iso_chan_del+0x302/0x320\n     iso_conn_del+0x19d/0x3c0\n     ? __pfx_iso_disconn_cfm+0x10/0x10\n     iso_disconn_cfm+0x78/0x120\n     hci_disconn_complete_evt+0x319/0xa30\n     ? find_held_lock+0x2b/0x80\n     hci_test_iso_disconn_event+0x85/0xb0\n     ? __pfx_hci_test_iso_disconn_event+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? _raw_read_unlock+0x23/0x40\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __hci_dev_get+0x15d/0x280\n     iso_fixture_disconnect_work+0x67/0x290\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     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __kthread_parkme+0x175/0x220\n     ? srso_alias_return_thunk+0x5/0xfbef5\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 521:\n     kasan_save_stack+0x33/0x60\n     kasan_save_track+0x14/0x30\n     __kasan_kmalloc+0xaa/0xb0\n     __kmalloc_noprof+0x2d7/0x770\n     sk_prot_alloc+0x13e/0x260\n     sk_alloc+0x37/0xb40\n     bt_sock_alloc+0x40/0x3b0\n     iso_sock_alloc.constprop.0+0x3a/0x360\n     iso_sock_create+0xc7/0x160\n     bt_sock_cre\n---truncated---",
  "id": "GHSA-q4jx-63fw-gpxc",
  "modified": "2026-12-01T06:31:24Z",
  "published": "2026-11-30T15:32:29Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139377"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2aac3d8f993b35c83f694ba2091db43081c11dcb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b4a00dedc5cc6f6f98c07ec1b54d24a817d9fc88"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d56da3d8c5be6e8476e6a6f3f2f9b4822f201305"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d7a90e3122b46feb751bf0c60305a20829827d53"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e0259a01cea107040ab35e358029e7896858ed73"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ea864b3343d140f58fe1a85192d592cac8e5eb15"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}



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.