Bug 2275678 (CVE-2024-26886) - CVE-2024-26886 kernel: Bluetooth: af_bluetooth: Fix deadlock
Summary: CVE-2024-26886 kernel: Bluetooth: af_bluetooth: Fix deadlock
Keywords:
Status: NEW
Alias: CVE-2024-26886
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2275679
Blocks: 2275696
TreeView+ depends on / blocked
 
Reported: 2024-04-17 18:04 UTC by Robb Gatica
Modified: 2024-09-27 15:33 UTC (History)
49 users (show)

Fixed In Version: kernel 6.1.83, kernel 6.6.23, kernel 6.7.11, kernel 6.8.2, kernel 6.9-rc1
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel’s Bluetooth subsystem, specifically within the af_bluetooth module. The issue arises when attempting to perform a sock_lock on the .recvmsg method, leading to a deadlock situation. In this scenario, multiple tasks wait indefinitely for a resource, causing significant performance degradation or system crashes. The vulnerability occurs during Bluetooth operations, where tasks are blocked for more than 30 seconds, creating potential instability. The solution was to replace the sock_sock lock with the sk_receive_queue.lock in the bt_sock_ioctl function to prevent a use-after-free (UAF) condition and avoid the deadlock.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2024:6650 0 None None None 2024-09-12 14:28:18 UTC
Red Hat Product Errata RHSA-2024:6567 0 None None None 2024-09-11 00:57:12 UTC
Red Hat Product Errata RHSA-2024:6744 0 None None None 2024-09-18 00:16:57 UTC
Red Hat Product Errata RHSA-2024:6745 0 None None None 2024-09-18 00:06:33 UTC

Description Robb Gatica 2024-04-17 18:04:25 UTC
In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: af_bluetooth: Fix deadlock

The Linux kernel CVE team has assigned CVE-2024-26886 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024041742-CVE-2024-26886-6345@gregkh/T

Comment 1 Robb Gatica 2024-04-17 18:04:58 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2275679]

Comment 10 Alex 2024-06-09 15:22:19 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2024-26886 is: CHECK	Maybe valid. Check manually. with impact MODERATE (that is approximation based on flags REMOTE LOCK DEADLOCK UAF NETWORK SKB  ; these flags parsed automatically based on patche data). Such automatic check happens only for Low/Moderates (and only when not from reporter, but parsing already existing CVE). Highs always checked manually (I check it myself and then we check it again in Remediation team). In rare cases some of the Moderates could be increased to High later.

Comment 12 errata-xmlrpc 2024-09-11 00:57:09 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:6567 https://access.redhat.com/errata/RHSA-2024:6567

Comment 13 errata-xmlrpc 2024-09-18 00:06:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:6745 https://access.redhat.com/errata/RHSA-2024:6745

Comment 14 errata-xmlrpc 2024-09-18 00:16:54 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:6744 https://access.redhat.com/errata/RHSA-2024:6744


Note You need to log in before you can comment on or make changes to this bug.