VDB

CVE-2026-68188

CVE-2026-68188 PUBLISHED

Bluetooth: RFCOMM: Fix session UAF in set_termios

Reported by linux · Published August 10, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-toolserrata.rockylinux.org6.12.0-211.58.1.el10
kernel-debuginfo-common-x86_64errata.rockylinux.org4.18.0-553.166.1.el8
kernel-debug-debuginfoerrata.rockylinux.org6.12.0-211.58.1.el10, 5.14.0-687.50.1.el9, 4.18.0-553.166.1.el8
kernel-coreerrata.rockylinux.org6.12.0-211.58.1.el10
kernel-64k-coreerrata.rockylinux.org5.14.0-687.50.1.el9
rtlaerrata.rockylinux.org6.12.0-211.58.1.el10, 5.14.0-687.50.1.el9
libperferrata.rockylinux.org6.12.0-211.58.1.el10
kernel-modules-extraerrata.rockylinux.org5.14.0-687.50.1.el9
kernel-tools-debuginfoerrata.rockylinux.org6.12.0-211.58.1.el10, 5.14.0-687.50.1.el9, 4.18.0-553.166.1.el8
kernel-debug-moduleserrata.rockylinux.org6.12.0-211.58.1.el10, 4.18.0-553.166.1.el8
kernel-64k-moduleserrata.rockylinux.org6.12.0-211.58.1.el10, 5.14.0-687.50.1.el9
kernel-debug-uki-virterrata.rockylinux.org6.12.0-211.58.1.el10, 5.14.0-687.50.1.el9

51 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinux3a5e903c09aed19ca4a1bb26d87b8d6461a93818, 3a5e903c09aed19ca4a1bb26d87b8d6461a93818, 3a5e903c09aed19ca4a1bb26d87b8d6461a93818
LinuxLinux2.6.14, 0, 5.10.265
linuxlinux_kernel2.6.14, 2.6.14, 2.6.14
LinuxLinux3a5e903c09aed19ca4a1bb26d87b8d6461a93818, 3a5e903c09aed19ca4a1bb26d87b8d6461a93818, 3a5e903c09aed19ca4a1bb26d87b8d6461a93818

Timeline

  • Aug 10, 2026 CVE Published
  • Aug 11, 2026 Coalition ESS Score
  • Aug 16, 2026 Security Advisory (3 in total, the first dated here)
  • Aug 24, 2026 EPSS Score (17 in total, the first dated here)
  • Sep 23, 2026 Distribution Patch (6 in total, the first dated here)
  • Oct 7, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-68188
vulnetix vdb fixes CVE-2026-68188

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-68188/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›