{"id":"CVE-2026-99008","aliases":["CVE-2026-99008"],"related":[],"kind":"vulnerability","state":"published","title":"Bluetooth: RFCOMM: Fix NULL tty_dev dereference in rfcomm_dev_shutdown","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: RFCOMM: Fix NULL tty_dev dereference in rfcomm_dev_shutdown\n\nsyzbot hit a NULL pointer dereference in rfcomm_dev_shutdown() when an\nRFCOMM tty is closed.\n\nrfcomm_dev_add() puts the new device on rfcomm_dev_list first and only\nthen registers the tty device and saves it in dev->tty_dev. If that\nregistration fails, dev->tty_dev is never set at all. The device can be\nlooked up in the meantime, so an open() of /dev/rfcommN gets through\nrfcomm_tty_install() and attaches to it. When that tty is closed again,\nrfcomm_dev_shutdown() uses dev->tty_dev without checking it:\n\n  Oops: general protection fault, probably for non-canonical address\n  KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047]\n  RIP: 0010:rfcomm_dev_shutdown+0x48/0xb0 net/bluetooth/rfcomm/tty.c:131\n  Call Trace:\n   tty_port_shutdown+0x1bf/0x220 drivers/tty/tty_port.c:372\n   tty_port_close+0x4e/0x150 drivers/tty/tty_port.c:705\n   tty_release+0x359/0x1670 drivers/tty/tty_io.c:1718\n   __fput+0x418/0xa50 fs/file_table.c:512\n\nrfcomm_dev_destruct() already copes with a NULL dev->tty_dev. Add the\nsame check to rfcomm_dev_shutdown(), so the tty device is only moved\nwhen it was actually registered.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: RFCOMM: Fix NULL tty_dev dereference in rfcomm_dev_shutdown\n\nsyzbot hit a NULL pointer dereference in rfcomm_dev_shutdown() when an\nRFCOMM tty is closed.\n\nrfcomm_dev_add() puts the new device on rfcomm_dev_list first and only\nthen registers the tty device and saves it in dev->tty_dev. If that\nregistration fails, dev->tty_dev is never set at all. The device can be\nlooked up in the meantime, so an open() of /dev/rfcommN gets through\nrfcomm_tty_install() and attaches to it. When that tty is closed again,\nrfcomm_dev_shutdown() uses dev->tty_dev without checking it:\n\n  Oops: general protection fault, probably for non-canonical address\n  KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047]\n  RIP: 0010:rfcomm_dev_shutdown+0x48/0xb0 net/bluetooth/rfcomm/tty.c:131\n  Call Trace:\n   tty_port_shutdown+0x1bf/0x220 drivers/tty/tty_port.c:372\n   tty_port_close+0x4e/0x150 drivers/tty/tty_port.c:705\n   tty_release+0x359/0x1670 drivers/tty/tty_io.c:1718\n   __fput+0x418/0xa50 fs/file_table.c:512\n\nrfcomm_dev_destruct() already copes with a NULL dev->tty_dev. Add the\nsame check to rfcomm_dev_shutdown(), so the tty device is only moved\nwhen it was actually registered.","source":"cvelist"}],"published":"2026-10-23T12:20:33.355Z","modified":"2026-10-30T13:21:35.450Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"cad348a17e170451ea8688b532a6ca3e98c63b60","fixed":"b2b915042be073637d9f93dc51ef15fc0685ae8a","status":"affected"},{"type":"git","introduced":"cad348a17e170451ea8688b532a6ca3e98c63b60","fixed":"a43452d8c1015ac2f0e43ff946be5425427b02cc","status":"affected"},{"type":"git","introduced":"cad348a17e170451ea8688b532a6ca3e98c63b60","fixed":"3f6394f6c6d1b6817065d3b402f55d437063a704","status":"affected"},{"type":"git","introduced":"cad348a17e170451ea8688b532a6ca3e98c63b60","fixed":"d5c372ad03330f02962d4860df4d355ab25487df","status":"affected"},{"type":"git","introduced":"cad348a17e170451ea8688b532a6ca3e98c63b60","fixed":"3fd5164bdb04635caa7942ddb554b0ec699a9433","status":"affected"},{"type":"git","introduced":"cad348a17e170451ea8688b532a6ca3e98c63b60","fixed":"a661f401f83b8462f2d424e0a1a72b7681e92ea2","status":"affected"},{"type":"git","introduced":"cad348a17e170451ea8688b532a6ca3e98c63b60","fixed":"d0aef0b0374678153244f162df507106d728af39","status":"affected"},{"type":"git","introduced":"cad348a17e170451ea8688b532a6ca3e98c63b60","fixed":"08e90633377f1b2567ab5ad6810b74c552246a07","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.12","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.11","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b2b915042be073637d9f93dc51ef15fc0685ae8a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a43452d8c1015ac2f0e43ff946be5425427b02cc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3f6394f6c6d1b6817065d3b402f55d437063a704","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d5c372ad03330f02962d4860df4d355ab25487df","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3fd5164bdb04635caa7942ddb554b0ec699a9433","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a661f401f83b8462f2d424e0a1a72b7681e92ea2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d0aef0b0374678153244f162df507106d728af39","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/08e90633377f1b2567ab5ad6810b74c552246a07","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99008","url":"https://www.cve.org/CVERecord?id=CVE-2026-99008","licence":"CVE Terms of Use","modified":"2026-10-30T12:40:53.373Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99008","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99008","licence":"Public domain","modified":"2026-10-30T13:21:35.450Z"}],"updatedAt":"2026-11-25T22:59:46.944Z","epss":{"score":0.00211,"percentile":0.12011,"date":"2026-12-02T12:00:21.000Z"}}