CVE-2026-68188: Bluetooth: RFCOMM: Fix session UAF in set_termios

Published Aug 10, 2026
·
Updated

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

Bluetooth: RFCOMM: Fix session UAF in settermios

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

The race can proceed as follows:

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

KASAN reported:

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

Call Trace: rfcommsendrpn+0x297/0x2a0 rfcommttysettermios+0x50d/0x850 ttysettermios+0x596/0x950 settermios+0x46a/0x6e0 ttymodeioctl+0x152/0xbd0 ttyioctl+0x915/0x1240 x64sysioctl+0x134/0x1c0

Allocated by task 92: rfcommsessionadd+0x9e/0x2e0 rfcommdlcopen+0x8b1/0xe00 rfcommdevactivate+0x85/0x1a0 rfcommttyopen+0x90/0x280

Freed by task 68: kfree+0x131/0x3c0 rfcommsessiondel+0x119/0x180 rfcommrun+0x737/0x4710

Add rfcommdlcsendrpn(), which holds rfcommmutex 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.

Affected Software

1 affected component
Linux Kernel

Event History

Aug 10, 2026
CVE Published
via MITRE·12:00 PM
Data Sourced
via MITRE·12:00 PM
Description
Data Sourced
via NVD·01:20 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-68188?

CVE-2026-68188 has a risk rating of 37.

2

How do I fix CVE-2026-68188?

To fix CVE-2026-68188, update the Linux Kernel to the latest version where this vulnerability has been patched.

3

What is the nature of the vulnerability in CVE-2026-68188?

CVE-2026-68188 is a Use After Free vulnerability in the Bluetooth RFCOMM component of the Linux Kernel.

4

Which component of the Linux Kernel is affected by CVE-2026-68188?

CVE-2026-68188 affects the Bluetooth RFCOMM component and specifically the rfcomm_tty_set_termios function.

5

When was CVE-2026-68188 published?

CVE-2026-68188 was published on August 10, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203