-

CVE-2026-99008

Bluetooth: RFCOMM: Fix NULL tty_dev dereference in rfcomm_dev_shutdown

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

Bluetooth: RFCOMM: Fix NULL tty_dev dereference in rfcomm_dev_shutdown

syzbot hit a NULL pointer dereference in rfcomm_dev_shutdown() when an
RFCOMM tty is closed.

rfcomm_dev_add() puts the new device on rfcomm_dev_list first and only
then registers the tty device and saves it in dev->tty_dev. If that
registration fails, dev->tty_dev is never set at all. The device can be
looked up in the meantime, so an open() of /dev/rfcommN gets through
rfcomm_tty_install() and attaches to it. When that tty is closed again,
rfcomm_dev_shutdown() uses dev->tty_dev without checking it:

  Oops: general protection fault, probably for non-canonical address
  KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047]
  RIP: 0010:rfcomm_dev_shutdown+0x48/0xb0 net/bluetooth/rfcomm/tty.c:131
  Call Trace:
   tty_port_shutdown+0x1bf/0x220 drivers/tty/tty_port.c:372
   tty_port_close+0x4e/0x150 drivers/tty/tty_port.c:705
   tty_release+0x359/0x1670 drivers/tty/tty_io.c:1718
   __fput+0x418/0xa50 fs/file_table.c:512

rfcomm_dev_destruct() already copes with a NULL dev->tty_dev. Add the
same check to rfcomm_dev_shutdown(), so the tty device is only moved
when it was actually registered.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version cad348a17e170451ea8688b532a6ca3e98c63b60
Version < b2b915042be073637d9f93dc51ef15fc0685ae8a
Status affected
Version cad348a17e170451ea8688b532a6ca3e98c63b60
Version < a43452d8c1015ac2f0e43ff946be5425427b02cc
Status affected
Version cad348a17e170451ea8688b532a6ca3e98c63b60
Version < 3f6394f6c6d1b6817065d3b402f55d437063a704
Status affected
Version cad348a17e170451ea8688b532a6ca3e98c63b60
Version < d5c372ad03330f02962d4860df4d355ab25487df
Status affected
Version cad348a17e170451ea8688b532a6ca3e98c63b60
Version < 3fd5164bdb04635caa7942ddb554b0ec699a9433
Status affected
Version cad348a17e170451ea8688b532a6ca3e98c63b60
Version < a661f401f83b8462f2d424e0a1a72b7681e92ea2
Status affected
Version cad348a17e170451ea8688b532a6ca3e98c63b60
Version < d0aef0b0374678153244f162df507106d728af39
Status affected
Version cad348a17e170451ea8688b532a6ca3e98c63b60
Version < 08e90633377f1b2567ab5ad6810b74c552246a07
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 3.12
Status affected
Version 0
Version < 3.12
Status unaffected
Version <= 5.10.*
Version 5.10.273
Status unaffected
Version <= 5.15.*
Version 5.15.224
Status unaffected
Version <= 6.1.*
Version 6.1.191
Status unaffected
Version <= 6.6.*
Version 6.6.160
Status unaffected
Version <= 6.12.*
Version 6.12.113
Status unaffected
Version <= 6.18.*
Version 6.18.57
Status unaffected
Version <= 7.2.*
Version 7.2.11
Status unaffected
Version <= *
Version 7.3
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.17% 0.062
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/d5c372ad03330f02962d4860df4d355ab25487df
https://git.kernel.org/stable/c/3fd5164bdb04635caa7942ddb554b0ec699a9433
https://git.kernel.org/stable/c/a661f401f83b8462f2d424e0a1a72b7681e92ea2
https://git.kernel.org/stable/c/d0aef0b0374678153244f162df507106d728af39
https://git.kernel.org/stable/c/08e90633377f1b2567ab5ad6810b74c552246a07
https://git.kernel.org/stable/c/3f6394f6c6d1b6817065d3b402f55d437063a704
https://git.kernel.org/stable/c/a43452d8c1015ac2f0e43ff946be5425427b02cc
https://git.kernel.org/stable/c/b2b915042be073637d9f93dc51ef15fc0685ae8a