{"schema":"threatline.record/2","record":{"id":"CVE-2026-99008","aliases":[],"summary":"Bluetooth: RFCOMM: Fix NULL tty_dev dereference in rfcomm_dev_shutdown","details":"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.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99008","source_modified_at":"2026-10-23T12:20:33.355Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"Linux","vendor":"Linux","versions":[{"version":"cad348a17e170451ea8688b532a6ca3e98c63b60","lessThan":"d5c372ad03330f02962d4860df4d355ab25487df","status":"affected","versionType":"git"},{"version":"cad348a17e170451ea8688b532a6ca3e98c63b60","lessThan":"3fd5164bdb04635caa7942ddb554b0ec699a9433","status":"affected","versionType":"git"},{"version":"cad348a17e170451ea8688b532a6ca3e98c63b60","lessThan":"a661f401f83b8462f2d424e0a1a72b7681e92ea2","status":"affected","versionType":"git"},{"version":"cad348a17e170451ea8688b532a6ca3e98c63b60","lessThan":"d0aef0b0374678153244f162df507106d728af39","status":"affected","versionType":"git"},{"version":"cad348a17e170451ea8688b532a6ca3e98c63b60","lessThan":"08e90633377f1b2567ab5ad6810b74c552246a07","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99008","source_modified_at":"2026-10-23T12:20:33.355Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"Linux","vendor":"Linux","versions":[{"version":"3.12","status":"affected"},{"version":"0","lessThan":"3.12","status":"unaffected","versionType":"semver"},{"version":"6.6.160","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.113","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.57","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.11","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99008","source_modified_at":"2026-10-23T12:20:33.355Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"Linux","ecosystem":null},"version":"3fd5164bdb04635caa7942ddb554b0ec699a9433","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99008","source_modified_at":"2026-10-23T12:20:33.355Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"Linux","ecosystem":null},"version":"08e90633377f1b2567ab5ad6810b74c552246a07","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-23T12:20:33.355Z","modified_at":"2026-10-23T12:20:33.355Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99008","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23T12:20:33.355Z"}],"sources":["CVE List"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/d5c372ad03330f02962d4860df4d355ab25487df"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/3fd5164bdb04635caa7942ddb554b0ec699a9433"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/a661f401f83b8462f2d424e0a1a72b7681e92ea2"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/d0aef0b0374678153244f162df507106d728af39"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/08e90633377f1b2567ab5ad6810b74c552246a07"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-23T12:20:33.355Z","content_hash":"945200222368fc2307b10637e5fc5ce4d0bc4627adbe512c830a4f4bc4543864"}}
