CVE-2026-68188

Not scored yetLast modified Nov 6, 2026

Description

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

Bluetooth: RFCOMM: Fix session UAF in set_termios

rfcomm_tty_set_termios() tests dlc->session without rfcomm_mutex and later passes the pointer to rfcomm_send_rpn(). The latter dereferences both session->initiator and session->sock. Meanwhile, krfcommd can unlink the DLC and free the session while holding rfcomm_mutex.

The race can proceed as follows:

TTY ioctl task krfcommd -------------- -------- load dlc->session enter rfcomm_send_rpn() lock rfcomm_mutex clear dlc->session free session unlock rfcomm_mutex read session->initiator

KASAN reported:

BUG: KASAN: slab-use-after-free in rfcomm_send_rpn+0x297/0x2a0 Read of size 4 at addr ffff88810012a850 by task poc/92

Call Trace: rfcomm_send_rpn+0x297/0x2a0 rfcomm_tty_set_termios+0x50d/0x850 tty_set_termios+0x596/0x950 set_termios+0x46a/0x6e0 tty_mode_ioctl+0x152/0xbd0 tty_ioctl+0x915/0x1240 __x64_sys_ioctl+0x134/0x1c0

Allocated by task 92: rfcomm_session_add+0x9e/0x2e0 rfcomm_dlc_open+0x8b1/0xe00 rfcomm_dev_activate+0x85/0x1a0 rfcomm_tty_open+0x90/0x280

Freed by task 68: kfree+0x131/0x3c0 rfcomm_session_del+0x119/0x180 rfcomm_run+0x737/0x4710

Add rfcomm_dlc_send_rpn(), which holds rfcomm_mutex while it verifies that the DLC is still attached and sends the RPN frame. Have the TTY path use the helper and drop its unlocked session check. This keeps the session valid through both the frame construction and socket send.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 3a5e903c09aed19ca4a1bb26d87b8d6461a93818, < 4eac4576a072084b06459de6c054b4ebc764b4ea; >= 3a5e903c09aed19ca4a1bb26d87b8d6461a93818, < 82c383f9031f1ce919ac6c3c06bc5bd492a6b078; >= 3a5e903c09aed19ca4a1bb26d87b8d6461a93818, < c5c060597247131f90f39ea7c8c978fa0c2e79d0; >= 3a5e903c09aed19ca4a1bb26d87b8d6461a93818, < 2894bd8c68e97accd758ca6e5fc375d7e9e8882c; >= 3a5e903c09aed19ca4a1bb26d87b8d6461a93818, < a82a9d3891f5607030b0672c255087a12bb9837b; >= 3a5e903c09aed19ca4a1bb26d87b8d6461a93818, < 780b04d09c941262ee2a2b4a09906451b69df8a6; >= 3a5e903c09aed19ca4a1bb26d87b8d6461a93818, < 98bc68194e37bfa5e8ddc80b5c1eb0be4dc607ea; >= 3a5e903c09aed19ca4a1bb26d87b8d6461a93818, < c783399efc22d035443f1dfbf2a09bf9562aaa5e
LinuxLinux2.6.14

References

Timeline

Published
Aug 10, 2026
Last modified
Nov 6, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-681897.8In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: Protect UUID list traversal The hci_sync conversiCVE-2026-68198.8HKUDS OpenHarness prior to PR #156 remediation exposes plugin lifecycle commands including /plugin install, /plugin enable, /plugin disable,CVE-2026-68190In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix OOB reads in rtw_get_wps_ie() rtw_get_wps_ie()CVE-2026-68191In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix NULL pointer dereference in rhash table destroy WhenCVE-2026-681928.8In the Linux kernel, the following vulnerability has been resolved: wifi: brcmfmac: make release_scratchbuffers idempotent brcmf_pcie_releCVE-2026-68193In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7925: drop TXRX_NOTIFY on non-mmio buses PKT_TYPE_TXRX_NCVE-2026-68194In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7921: drop TXRX_NOTIFY on non-mmio buses PKT_TYPE_TXRX_NCVE-2026-68195In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7615: drop TXRX_NOTIFY on non-mmio buses PKT_TYPE_TXRX_NCVE-2026-681968.3In the Linux kernel, the following vulnerability has been resolved: wifi: wilc1000: validate assoc response length before subtracting headeCVE-2026-68197In the Linux kernel, the following vulnerability has been resolved: wifi: mwifiex: fix NULL dereference when the AP has HT-cap but no HT-opCVE-2026-681988.8In the Linux kernel, the following vulnerability has been resolved: wifi: ath6kl: fix use-after-free in aggr_reset_state() The aggr_reset_CVE-2026-681998.8In the Linux kernel, the following vulnerability has been resolved: wifi: ath6kl: fix OOB access from firmware ADDBA window size aggr_recv
CVE-2026-68188: Unscored | Vulnix