GHSA-9393-HGMF-6GVH

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

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

Bluetooth: MGMT: Reject quality report requests during unregister

A quality report request must not call a driver callback after its module text has been released. hci_mgmt_cmd() holds an hci_dev reference through set_exp_feature(), but that reference only preserves the device allocation. set_quality_report_func() takes req_lock and invokes hdev->set_quality_report without checking HCI_UNREGISTER.

This is unsafe when a SET_EXP_FEATURE request for an Intel controller would change HCI_QUALITY_REPORT and is delayed before taking req_lock while the controller is removed. With btintel_pcie and btintel built as modules and no other btintel dependents, the following order is possible:

Management request Removal and module unload ------------------ ------------------------- hci_mgmt_cmd(): retain hdev hci_unregister_dev(): set HCI_UNREGISTER remove hdev from lookup close under req_lock release req_lock btintel_pcie_remove(): return unload btintel_pcie, then btintel set_quality_report_func(): take req_lock call hdev->set_quality_report

When the request resumes after btintel unload, the indirect call targets released module text and can cause an instruction-fetch page fault. The close operation serializes with a running callback but does not prevent a delayed management handler from invoking it afterwards.

Check HCI_UNREGISTER immediately after acquiring the existing req_lock and return MGMT_STATUS_INVALID_INDEX via the common unlock path. If unregister passed its close section first, the request now rejects the removed controller before accessing the callback. If the request passes the check first, hci_dev_do_close() must wait for req_lock until the callback has returned, so unregister cannot finish before the use.

Oops report as below:

BUG: unable to handle page fault for address: ffffffffc0408e10
#PF: supervisor instruction fetch in kernel mode
#PF: error_code(0x0010) - not-present page
PGD 80a9067 P4D 80a9067 PUD 80ab067 PMD 0
Oops: Oops: 0010 [#1] SMP KASAN NOPTI
CPU: 1 UID: 0 PID: 439 Comm: btmgmt Tainted: G           O        7.2.0-rc6-pmb-bt-functional-v1+ #1 PREEMPT(lazy)
Tainted: [O]=OOT_MODULE
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
RIP: 0010:0xffffffffc0408e10
Code: Unable to access opcode bytes at 0xffffffffc0408de6.
RSP: 0018:ffff888110927838 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 1ffff11022124f0c RCX: ffffffff85b1a1b6
RDX: ffff888117511d00 RSI: 0000000000000001 RDI: ffff888117598000
RBP: ffff888110927950 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff893d3057 R11: ffff888117511d00 R12: ffff888117598000
R13: 0000000000000001 R14: ffffffffc0408e10 R15: ffff888117599970
FS:  00007f15453f2040(0000) GS:ffff8881fd852000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffc0408de6 CR3: 000000010b832005 CR4: 0000000000770ef0
PKRU: 55555554
Call Trace:
 <TASK>
 ? set_quality_report_func+0x232/0x660
 ? __pfx_set_quality_report_func+0x10/0x10
 ? pmbd_gate_maybe+0x47/0x60
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? pmbd_probe_hit_cookie+0xe7/0x1c0
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? pmbd_probe_hit_cookie+0xee/0x1c0
 set_exp_feature+0xf7/0x260
 ? set_exp_feature+0xf7/0x260
 ? hci_sock_sendmsg+0x12b2/0x2400
 ? __pfx_hci_sock_sendmsg+0x10/0x10
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? selinux_socket_sendmsg+0x160/0x280
 ? sock_write_iter+0x4c0/0x550
 ? __pfx_hci_sock

---truncated---

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-142906"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-12-03T04:18:30Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: MGMT: Reject quality report requests during unregister\n\nA quality report request must not call a driver callback after its\nmodule text has been released. hci_mgmt_cmd() holds an hci_dev reference\nthrough set_exp_feature(), but that reference only preserves the device\nallocation. set_quality_report_func() takes req_lock and invokes\nhdev-\u003eset_quality_report without checking HCI_UNREGISTER.\n\nThis is unsafe when a SET_EXP_FEATURE request for an Intel controller\nwould change HCI_QUALITY_REPORT and is delayed before taking req_lock\nwhile the controller is removed. With btintel_pcie and btintel built as\nmodules and no other btintel dependents, the following order is\npossible:\n\n  Management request                Removal and module unload\n  ------------------                -------------------------\n  hci_mgmt_cmd(): retain hdev\n                                    hci_unregister_dev():\n                                      set HCI_UNREGISTER\n                                      remove hdev from lookup\n                                      close under req_lock\n                                      release req_lock\n                                    btintel_pcie_remove(): return\n                                    unload btintel_pcie, then btintel\n  set_quality_report_func():\n    take req_lock\n    call hdev-\u003eset_quality_report\n\nWhen the request resumes after btintel unload, the indirect call targets\nreleased module text and can cause an instruction-fetch page fault. The\nclose operation serializes with a running callback but does not prevent\na delayed management handler from invoking it afterwards.\n\nCheck HCI_UNREGISTER immediately after acquiring the existing req_lock\nand return MGMT_STATUS_INVALID_INDEX via the common unlock path. If\nunregister passed its close section first, the request now rejects the\nremoved controller before accessing the callback. If the request passes\nthe check first, hci_dev_do_close() must wait for req_lock until the\ncallback has returned, so unregister cannot finish before the use.\n\nOops report as below:\n\n    BUG: unable to handle page fault for address: ffffffffc0408e10\n    #PF: supervisor instruction fetch in kernel mode\n    #PF: error_code(0x0010) - not-present page\n    PGD 80a9067 P4D 80a9067 PUD 80ab067 PMD 0\n    Oops: Oops: 0010 [#1] SMP KASAN NOPTI\n    CPU: 1 UID: 0 PID: 439 Comm: btmgmt Tainted: G           O        7.2.0-rc6-pmb-bt-functional-v1+ #1 PREEMPT(lazy)\n    Tainted: [O]=OOT_MODULE\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    RIP: 0010:0xffffffffc0408e10\n    Code: Unable to access opcode bytes at 0xffffffffc0408de6.\n    RSP: 0018:ffff888110927838 EFLAGS: 00010293\n    RAX: 0000000000000000 RBX: 1ffff11022124f0c RCX: ffffffff85b1a1b6\n    RDX: ffff888117511d00 RSI: 0000000000000001 RDI: ffff888117598000\n    RBP: ffff888110927950 R08: 0000000000000001 R09: 0000000000000001\n    R10: ffffffff893d3057 R11: ffff888117511d00 R12: ffff888117598000\n    R13: 0000000000000001 R14: ffffffffc0408e10 R15: ffff888117599970\n    FS:  00007f15453f2040(0000) GS:ffff8881fd852000(0000) knlGS:0000000000000000\n    CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n    CR2: ffffffffc0408de6 CR3: 000000010b832005 CR4: 0000000000770ef0\n    PKRU: 55555554\n    Call Trace:\n     \u003cTASK\u003e\n     ? set_quality_report_func+0x232/0x660\n     ? __pfx_set_quality_report_func+0x10/0x10\n     ? pmbd_gate_maybe+0x47/0x60\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? pmbd_probe_hit_cookie+0xe7/0x1c0\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? pmbd_probe_hit_cookie+0xee/0x1c0\n     set_exp_feature+0xf7/0x260\n     ? set_exp_feature+0xf7/0x260\n     ? hci_sock_sendmsg+0x12b2/0x2400\n     ? __pfx_hci_sock_sendmsg+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? selinux_socket_sendmsg+0x160/0x280\n     ? sock_write_iter+0x4c0/0x550\n     ? __pfx_hci_sock\n---truncated---",
  "id": "GHSA-9393-hgmf-6gvh",
  "modified": "2026-12-03T06:30:38Z",
  "published": "2026-12-03T06:30:38Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142906"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1324c6162cd509cbb756b53e8a9f7180b091ec27"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/213e7a99bea19e2f29f394321b86c792eec73a24"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6f11e3ee73f273804ad334aaeded9988e58c2f2a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/98419431012ac1b91db75245a1a98f26db43ad16"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/aab51467d0f81808e0efaed0609c43d705c418c2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/dc3d003daef044bb2b40df7d69a7f84ab5e73e4d"
    }
  ],
  "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.