CVE-2026-68188
Bluetooth: RFCOMM: Fix session UAF in set_termios
Check your servers for CVE-2026-68188
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-68188 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 6 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 3a5e903c09aed19ca4a1bb26d87b8d6461a93818, before 4eac4576a072084b06459de6c054b4ebc764b4ea affected from 3a5e903c09aed19ca4a1bb26d87b8d6461a93818, before 82c383f9031f1ce919ac6c3c06bc5bd492a6b078 affected from 3a5e903c09aed19ca4a1bb26d87b8d6461a93818, before c5c060597247131f90f39ea7c8c978fa0c2e79d0 affected from 3a5e903c09aed19ca4a1bb26d87b8d6461a93818, before 2894bd8c68e97accd758ca6e5fc375d7e9e8882c affected from 3a5e903c09aed19ca4a1bb26d87b8d6461a93818, before a82a9d3891f5607030b0672c255087a12bb9837b affected from 3a5e903c09aed19ca4a1bb26d87b8d6461a93818, before 780b04d09c941262ee2a2b4a09906451b69df8a6 affected from 3a5e903c09aed19ca4a1bb26d87b8d6461a93818, before 98bc68194e37bfa5e8ddc80b5c1eb0be4dc607ea affected from 3a5e903c09aed19ca4a1bb26d87b8d6461a93818, before c783399efc22d035443f1dfbf2a09bf9562aaa5e
Other versions: unaffected
|
| Linux |
affected 2.6.14 unaffected before 2.6.14 unaffected from 5.10.265 up to and including 5.10.* unaffected from 5.15.216 up to and including 5.15.* unaffected from 6.1.183 up to and including 6.1.* unaffected from 6.6.148 up to and including 6.6.* unaffected from 6.12.101 up to and including 6.12.* unaffected from 6.18.42 up to and including 6.18.* unaffected from 7.1.6 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-68188 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-68188
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-68188
trivy image --scanners vuln IMAGE | grep CVE-2026-68188
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/4eac4576a072084b06459de6c054b4ebc764b4ea git.kernel.org
- https://git.kernel.org/stable/c/82c383f9031f1ce919ac6c3c06bc5bd492a6b078 git.kernel.org
- https://git.kernel.org/stable/c/c5c060597247131f90f39ea7c8c978fa0c2e79d0 git.kernel.org
- https://git.kernel.org/stable/c/2894bd8c68e97accd758ca6e5fc375d7e9e8882c git.kernel.org
- https://git.kernel.org/stable/c/a82a9d3891f5607030b0672c255087a12bb9837b git.kernel.org
- https://git.kernel.org/stable/c/780b04d09c941262ee2a2b4a09906451b69df8a6 git.kernel.org
- https://git.kernel.org/stable/c/98bc68194e37bfa5e8ddc80b5c1eb0be4dc607ea git.kernel.org
- https://git.kernel.org/stable/c/c783399efc22d035443f1dfbf2a09bf9562aaa5e git.kernel.org
Source: the record CVE-2026-68188 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse