Bluetooth: hci_vhci: Pin module for debugfs file operations (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.20 % · centile 10 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Produits affectés
- Linux · Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_vhci: Pin module for debugfs file operations An open debugfs file retains its file_operations pointer in the debugfs proxy state. However, force_suspend_fops, force_wakeup_fops, aosp_capable_fops, and force_devcoredump_fops have no .owner set to THIS_MODULE. As a result, full_proxy_open_regular() calls fops_get() which succeeds without taking a reference to the hci_vhci module. When userspace opens any of these debugfs files and later closes the /dev/vhci file descriptor (triggering vhci_release() and debugfs file removal), the open debugfs file descriptor remains valid in userspace. Because the module refcount was not incremented, the hci_vhci module can be unloaded via delete_module (rmmod hci_vhci). When the userspace process subsequently closes the debugfs file descriptor, full_proxy_release() accesses the already unmapped file_operations structure, resulting in a kernel page fault / oops: BUG: unable to handle page fault for address: fffffbfff846f18b #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page Oops: Oops: 0000 [#1] SMP KASAN NOPTI RIP: 0010:full_proxy_release+0x8e/0x140 Call Trace: <TASK> __fput+0x39f/0xa60 fput_close_sync+0xff/0x200 __x64_sys_close+0x8c/0xf0 do_syscall_64+0xc3/0x590 entry_SYSCALL_64_after_hwframe+0x76/0x7e </TASK> Modules linked in: ... [last unloaded: hci_vhci(E)] The issue was discovered via manual code audit of drivers/bluetooth/hci_vhci.c and verified on a Linux 7.3-rc6 test VM with CONFIG_BT_VHCI=m by keeping a debugfs file open across controller teardown and module unload. Set .owner = THIS_MODULE on all four file_operations structures so that debugfs pins the module until all file descriptors are closed.
Références
- https://git.kernel.org/stable/c/ede71f3136da3a0040c1407ce0a96a6802ce107a
- https://git.kernel.org/stable/c/a82b3dec02bd42eedbc2733b092910f3b6bc4948
- https://git.kernel.org/stable/c/d5cc1f1333d47593fcc71b73d1fade556c8ece76
- https://git.kernel.org/stable/c/19502449eeeafbf48ad1626cc356d178d549fcc0
- https://git.kernel.org/stable/c/645ee6b176c958579cff1c783413d5cff65c8197
Références européennes
- ENISA EUVD · EUVD-2026-130155
- GCVE · GCVE-0-2026-99481
Avis du CERT-FR
- CERTFR-2026-AVI-1676 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1639 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ bd75eba88e88d7b896b0c737b02a74a12afc235f < ede71f3136da3a0040c1407ce0a96a6802ce107a affectée : ≥ 1503756fffe76d5aea2371a4b8dee20c3577bcfd < a82b3dec02bd42eedbc2733b092910f3b6bc4948 affectée : ≥ 28010791193a4503f054e8d69a950ef815deb539 < d5cc1f1333d47593fcc71b73d1fade556c8ece76 affectée : ≥ 28010791193a4503f054e8d69a950ef815deb539 < 19502449eeeafbf48ad1626cc356d178d549fcc0 affectée : ≥ 28010791193a4503f054e8d69a950ef815deb539 < 645ee6b176c958579cff1c783413d5cff65c8197 affectée : 7cc08f2f127b9a66f46ea918e34353811a7cb378 affectée : ≥ 6.6.105 < 6.6.163 affectée : ≥ 6.12.46 < 6.12.117 affectée : ≥ 6.16.6 < 6.17 Autres versions : non affectée |
| Linux · Linux | affectée : 6.17 non affectée : ≥ 0 < 6.17 non affectée : ≥ 6.6.163 ≤ 6.6.* non affectée : ≥ 6.12.117 ≤ 6.12.* non affectée : ≥ 6.18.61 ≤ 6.18.* non affectée : ≥ 7.3.2 ≤ 7.3.* non affectée : ≥ 7.4-rc1 ≤ * Autres versions : affectée |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |