Skip to main content

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: RFCOMM: Fix initial port reference race For RFCOMM_RELEASE_ONHUP… (CVE-2026-98739)

0
High
Published: 10/18/2026 (10/18/2026, 18:32:01 UTC)
Source: GCVE Database

Description

A race condition vulnerability in the Linux kernel's Bluetooth RFCOMM implementation was resolved. The issue involves improper handling of the initial port reference in RFCOMM_RELEASE_ONHUP devices, where concurrent install and release operations can cause a use-after-free condition. This occurs because both rfcomm_tty_install() and __rfcomm_release_dev() functions can drop the same reference due to a race in setting and testing the RFCOMM_TTY_OWNED bit. The flaw was detected by KASAN as a slab-use-after-free error.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 22:24:43 UTC

Technical Analysis

The vulnerability in the Linux kernel Bluetooth RFCOMM subsystem arises from a race condition between rfcomm_tty_install() and __rfcomm_release_dev() functions regarding the management of the initial tty_port reference. Both functions use the RFCOMM_TTY_OWNED bit to decide who should drop this reference, but the release path tests the bit separately from the install path setting it, allowing both to drop the same reference. This leads to a use-after-free scenario when the tty_port is freed and then accessed again. The fix involves using test_and_set_bit() in both paths to ensure only the caller that sets the RFCOMM_TTY_OWNED bit drops the initial reference, preserving proper reference counting and preventing the race.

Potential Impact

The vulnerability can lead to a use-after-free condition in the Bluetooth RFCOMM code of the Linux kernel, which may cause kernel memory corruption or crashes. This could potentially be exploited to cause denial of service or other unintended kernel behavior. No known exploits in the wild have been reported.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to address this race condition by using atomic operations to manage the RFCOMM_TTY_OWNED bit, ensuring correct reference counting. Users should update to the fixed kernel version once available. Since this is a kernel-level issue, applying the official kernel patch or upgrading to a patched kernel release is the recommended remediation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-jg2j-fxrh-w676
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98739"]

Threat ID: 6ad520ab2cdf04f6569939de

Added to database: 10/18/2026, 19:40:27 UTC

Last enriched: 10/18/2026, 22:24:43 UTC

Last updated: 10/19/2026, 02:28:25 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses