Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-53256

Опубликовано: 25 июн. 2026
Источник: redhat
CVSS3: 7.5
EPSS Низкий

Описание

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: RFCOMM: hold listener socket in rfcomm_connect_ind() rfcomm_get_sock_by_channel() scans rfcomm_sk_list under the list lock, but returns the selected listener after dropping that lock without taking a reference. rfcomm_connect_ind() then locks the listener, queues a child socket on it, and may notify it after unlocking it. The buggy scenario involves two paths, with each column showing the order within that path: rfcomm_connect_ind(): listener close:

  1. Find parent in 1. close() enters rfcomm_get_sock_by_channel() rfcomm_sock_release().
  2. Drop rfcomm_sk_list.lock 2. rfcomm_sock_shutdown() without pinning parent. closes the listener.
  3. Call lock_sock(parent) and 3. rfcomm_sock_kill() bt_accept_enqueue(parent, unlinks and puts parent. sk, true).
  4. Read parent flags and may 4. parent can be freed. call sk_state_change(). If close wins the race, parent can be freed before rfcomm_connect_ind() reaches lock_sock(), bt_accept_enqueue(), or the deferred-setup callback. Take a reference on the listener before leaving rfcomm_sk_list.lock. After lock_sock() succeeds, recheck that it is still in BT_LISTEN before queueing a child, cache the deferred-setup bit while the parent is locked, and drop the reference after the last parent use. KASAN reported a slab-use-after-free in lock_sock_nested() from rfcomm_connect_ind(), with the freeing stack going through rfcomm_sock_kill() and rfcomm_sock_release().

    A flaw was found in the Linux kernel's Bluetooth RFCOMM (Radio Frequency Communication) subsystem. A race condition in the rfcomm_connect_ind() function, specifically during the handling of listener sockets, can lead to a use-after-free vulnerability. A local attacker could exploit this to cause a denial of service or potentially achieve arbitrary code execution.

Отчет

A race in Bluetooth RFCOMM can leave rfcomm_connect_ind using a listener socket after it was closed and freed by another path. The selected listener was returned after dropping rfcomm_sk_list.lock without holding a reference, so close can unlink and free the parent before lock_sock, bt_accept_enqueue, or the deferred setup callback uses it. KASAN reported a slab use after free in lock_sock_nested, which makes this a memory safety issue rather than a pure DoS only bug. For the CVSS the PR:N is used for the paranoid score because an adjacent Bluetooth peer may trigger connection indications without local privileges on the victim, assuming a reachable RFCOMM listener and suitable Bluetooth access. The issue is not Internet reachable and should be treated as AV:A because exploitation requires Bluetooth proximity or access to the local Bluetooth network.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelAffected
Red Hat Enterprise Linux 7kernel-rtAffected
Red Hat Enterprise Linux 9kernel-rtAffected
Red Hat Enterprise Linux 10kernelFixedRHSA-2026:6533408.09.2026
Red Hat Enterprise Linux 8kernel-rtFixedRHSA-2026:7040322.09.2026
Red Hat Enterprise Linux 8kernelFixedRHSA-2026:7040222.09.2026
Red Hat Enterprise Linux 9kernelFixedRHSA-2026:6715014.09.2026
Red Hat Enterprise Linux 9kernelFixedRHSA-2026:6715014.09.2026

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-416
https://bugzilla.redhat.com/show_bug.cgi?id=2492717kernel: Bluetooth: RFCOMM: hold listener socket in rfcomm_connect_ind()

EPSS

Процентиль: 18%
0.00264
Низкий

7.5 High

CVSS3

Связанные уязвимости

CVSS3: 8
ubuntu
5 месяцев назад

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: RFCOMM: hold listener socket in rfcomm_connect_ind() rfcomm_get_sock_by_channel() scans rfcomm_sk_list under the list lock, but returns the selected listener after dropping that lock without taking a reference. rfcomm_connect_ind() then locks the listener, queues a child socket on it, and may notify it after unlocking it. The buggy scenario involves two paths, with each column showing the order within that path: rfcomm_connect_ind(): listener close: 1. Find parent in 1. close() enters rfcomm_get_sock_by_channel() rfcomm_sock_release(). 2. Drop rfcomm_sk_list.lock 2. rfcomm_sock_shutdown() without pinning parent. closes the listener. 3. Call lock_sock(parent) and 3. rfcomm_sock_kill() bt_accept_enqueue(parent, unlinks and puts parent. sk, true). 4. Read parent flags and may 4. parent can be freed. call sk_state_change(). If close wins the race, parent can be free...

CVSS3: 8
nvd
5 месяцев назад

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: RFCOMM: hold listener socket in rfcomm_connect_ind() rfcomm_get_sock_by_channel() scans rfcomm_sk_list under the list lock, but returns the selected listener after dropping that lock without taking a reference. rfcomm_connect_ind() then locks the listener, queues a child socket on it, and may notify it after unlocking it. The buggy scenario involves two paths, with each column showing the order within that path: rfcomm_connect_ind(): listener close: 1. Find parent in 1. close() enters rfcomm_get_sock_by_channel() rfcomm_sock_release(). 2. Drop rfcomm_sk_list.lock 2. rfcomm_sock_shutdown() without pinning parent. closes the listener. 3. Call lock_sock(parent) and 3. rfcomm_sock_kill() bt_accept_enqueue(parent, unlinks and puts parent. sk, true). 4. Read parent flags and may 4. parent can be freed. call sk_state_change(). If clos

CVSS3: 8
debian
5 месяцев назад

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

CVSS3: 8
redos
около 2 месяцев назад

Уязвимость kernel-lt

CVSS3: 8
redos
около 2 месяцев назад

Уязвимость kernel-lt

EPSS

Процентиль: 18%
0.00264
Низкий

7.5 High

CVSS3