0.0
NA
CVE-2026-68188
Bluetooth: RFCOMM: Fix session UAF in set_termios
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.

INFO

Published Date :

Aug. 10, 2026, 1:20 p.m.

Last Modified :

Aug. 17, 2026, 5:18 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-68188 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Address a use-after-free condition in the Bluetooth RFCOMM module by adding mutex protection.
  • Add helper function rfcomm_dlc_send_rpn with mutex protection.
  • Use helper in TTY path to synchronize access.
  • Remove unlocked session check.
  • Apply updates to the Linux kernel.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-68188 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-68188 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-68188 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-68188 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 17, 2026

    Action Type Old Value New Value
    Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3a5e903c09aed19ca4a1bb26d87b8d6461a93818', 'lessThan': '2894bd8c68e97accd758ca6e5fc375d7e9e8882c', 'versionType': 'git'}, {'status': 'affected', 'version': '3a5e903c09aed19ca4a1bb26d87b8d6461a93818', 'lessThan': 'a82a9d3891f5607030b0672c255087a12bb9837b', 'versionType': 'git'}, {'status': 'affected', 'version': '3a5e903c09aed19ca4a1bb26d87b8d6461a93818', 'lessThan': '780b04d09c941262ee2a2b4a09906451b69df8a6', 'versionType': 'git'}, {'status': 'affected', 'version': '3a5e903c09aed19ca4a1bb26d87b8d6461a93818', 'lessThan': '98bc68194e37bfa5e8ddc80b5c1eb0be4dc607ea', 'versionType': 'git'}, {'status': 'affected', 'version': '3a5e903c09aed19ca4a1bb26d87b8d6461a93818', 'lessThan': 'c783399efc22d035443f1dfbf2a09bf9562aaa5e', 'versionType': 'git'}], 'programFiles': ['include/net/bluetooth/rfcomm.h', 'net/bluetooth/rfcomm/core.c', 'net/bluetooth/rfcomm/tty.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2.6.14'}, {'status': 'unaffected', 'version': '0', 'lessThan': '2.6.14', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc5', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['include/net/bluetooth/rfcomm.h', 'net/bluetooth/rfcomm/core.c', 'net/bluetooth/rfcomm/tty.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3a5e903c09aed19ca4a1bb26d87b8d6461a93818', 'lessThan': '2894bd8c68e97accd758ca6e5fc375d7e9e8882c', 'versionType': 'git'}, {'status': 'affected', 'version': '3a5e903c09aed19ca4a1bb26d87b8d6461a93818', 'lessThan': 'a82a9d3891f5607030b0672c255087a12bb9837b', 'versionType': 'git'}, {'status': 'affected', 'version': '3a5e903c09aed19ca4a1bb26d87b8d6461a93818', 'lessThan': '780b04d09c941262ee2a2b4a09906451b69df8a6', 'versionType': 'git'}, {'status': 'affected', 'version': '3a5e903c09aed19ca4a1bb26d87b8d6461a93818', 'lessThan': '98bc68194e37bfa5e8ddc80b5c1eb0be4dc607ea', 'versionType': 'git'}, {'status': 'affected', 'version': '3a5e903c09aed19ca4a1bb26d87b8d6461a93818', 'lessThan': 'c783399efc22d035443f1dfbf2a09bf9562aaa5e', 'versionType': 'git'}], 'programFiles': ['include/net/bluetooth/rfcomm.h', 'net/bluetooth/rfcomm/core.c', 'net/bluetooth/rfcomm/tty.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2.6.14'}, {'status': 'unaffected', 'version': '0', 'lessThan': '2.6.14', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['include/net/bluetooth/rfcomm.h', 'net/bluetooth/rfcomm/core.c', 'net/bluetooth/rfcomm/tty.c'], 'defaultStatus': 'affected'}]
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 10, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3a5e903c09aed19ca4a1bb26d87b8d6461a93818', 'lessThan': '2894bd8c68e97accd758ca6e5fc375d7e9e8882c', 'versionType': 'git'}, {'status': 'affected', 'version': '3a5e903c09aed19ca4a1bb26d87b8d6461a93818', 'lessThan': 'a82a9d3891f5607030b0672c255087a12bb9837b', 'versionType': 'git'}, {'status': 'affected', 'version': '3a5e903c09aed19ca4a1bb26d87b8d6461a93818', 'lessThan': '780b04d09c941262ee2a2b4a09906451b69df8a6', 'versionType': 'git'}, {'status': 'affected', 'version': '3a5e903c09aed19ca4a1bb26d87b8d6461a93818', 'lessThan': '98bc68194e37bfa5e8ddc80b5c1eb0be4dc607ea', 'versionType': 'git'}, {'status': 'affected', 'version': '3a5e903c09aed19ca4a1bb26d87b8d6461a93818', 'lessThan': 'c783399efc22d035443f1dfbf2a09bf9562aaa5e', 'versionType': 'git'}], 'programFiles': ['include/net/bluetooth/rfcomm.h', 'net/bluetooth/rfcomm/core.c', 'net/bluetooth/rfcomm/tty.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2.6.14'}, {'status': 'unaffected', 'version': '0', 'lessThan': '2.6.14', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc5', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['include/net/bluetooth/rfcomm.h', 'net/bluetooth/rfcomm/core.c', 'net/bluetooth/rfcomm/tty.c'], 'defaultStatus': 'affected'}]
    Added 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.
    Added Reference https://git.kernel.org/stable/c/2894bd8c68e97accd758ca6e5fc375d7e9e8882c
    Added Reference https://git.kernel.org/stable/c/780b04d09c941262ee2a2b4a09906451b69df8a6
    Added Reference https://git.kernel.org/stable/c/98bc68194e37bfa5e8ddc80b5c1eb0be4dc607ea
    Added Reference https://git.kernel.org/stable/c/a82a9d3891f5607030b0672c255087a12bb9837b
    Added Reference https://git.kernel.org/stable/c/c783399efc22d035443f1dfbf2a09bf9562aaa5e
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.