Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp739407lqc; Fri, 8 Mar 2024 10:11:09 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWW5rrOZ8hGn4fbn7xU9YS7sHvJoR6li5yFVFTYiFlkUSG4mHe9AqnfkiZpcgD+KeS9iYHm9KaJjFa5Fpg3s5c/RSqU1abDS8iyV5Wuvg== X-Google-Smtp-Source: AGHT+IEJQomeccf/MaRLib0vRL2OaU50126WW0lkO6mIvsUM9ViobATYlu5tfWJKwFS3J0GK2W6D X-Received: by 2002:ac8:5888:0:b0:42f:20f5:8b8b with SMTP id t8-20020ac85888000000b0042f20f58b8bmr827287qta.61.1709921469450; Fri, 08 Mar 2024 10:11:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709921469; cv=pass; d=google.com; s=arc-20160816; b=iuiCe56ZIMSGmvsatotAVRIyJ9snrxyf+93ZYcKlN6vXZ/PujYUHxlhURmIFjnh2ef FXFcTDvZoeuuTa2vD6wXs+//k5GpsGSAzp1idto73N5wzZpK1MlHzY91YKOroD4eYAmL /XFFjH6Za0qkZPo8SN9guhYTbVtAVtS7LS6jdeZXZX8mo+SyHwjAYy9hE9VUX5Jgf16q t3O++1okyAQlbzaZu+jeK6lWSmSXtHoTspCv0cIfasNF1zsvSMw3WArSSXItQM39jYEU CEqi/rT+rhm7VpBGm0LG75tS5qoq272WuEFuEAMqNsMylTJWHw2/q/N8PBlUtU7CJ7qs 4ZgQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=OMga39SQ9wf6iw2TDzDEKZteotW8dIG4eHHX7jroGRs=; fh=3ICA+xTrlqIHvBuKYK6KmzqEUC3sq0zT/mKGk3tt0nI=; b=QD74rrRfEGQjbBtwEbaARmPYDoxIq8ReBCbA1RdNXGrM6G6YJQe9tYSeedzp1I6ibK WsKe1j7Z3CVkToqvdP3J7nReW+fsUE3YoQtTUOrobRV4a706CM7rDEsrsvlcdpTkcEto KL4vHJi9kU5uvzLDdv7VSKdrC9cXka6IEXtr4fWQJPTRvA2nOkvaP63skg7efeRPfkqY Xe2E1F7U5onz4OrJ0h7wpj8vFs4H4PBWKz8Exs2oogUOEK2DPhX/b4PiV4xgfuMYXE/9 0xxMHDbZzpAxOH73d8LVj8rEMDf6Pf3UNkv6aIa0svxDDQuS7VJgkHLO6esi2q7W0e41 Jjow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=IaSoK7kY; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-bluetooth+bounces-2390-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-2390-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id n5-20020ac85a05000000b0042ee1236befsi29089qta.170.2024.03.08.10.11.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 10:11:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-2390-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=IaSoK7kY; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-bluetooth+bounces-2390-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-2390-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 208471C21154 for ; Fri, 8 Mar 2024 18:11:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 01F5D5579F; Fri, 8 Mar 2024 18:11:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IaSoK7kY" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail-ot1-f43.google.com (mail-ot1-f43.google.com [209.85.210.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D40B02C853; Fri, 8 Mar 2024 18:10:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709921461; cv=none; b=jTxa+XgrJkjzWpMpNqrn68tPiPPPWSI/5agm1iHUhKj583az/9DRig8ZaE821NzCXHJjZpsfPlQF9nU7Wf00UX/AcG5+chWc712kx6NkPaf258Cqb+LYvo1+FK5tXQGoKil1SR5rNRhW4Rvd2uFQPBc0Fhr3/KmDDq/qtR9nShk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709921461; c=relaxed/simple; bh=EzbdSX/328RfA3ycYArK6uuK3uzLACBuHbi88lCKcoU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=ZFd99KrejS/5jTHoqEthlwYM+OPPK+I/RQgS8DzxpOLN7ORePzWLpSYZ/D1Oav+7BiYMW7kJmo88OZdlpUHPnFm8TWWSnODl7DkUHY4UWGlzoDmY1YoGPhjHCgpltaZmCe3z2n/del4c9trJNR57h378F3cKF2H7SgiUrjXA/v4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=IaSoK7kY; arc=none smtp.client-ip=209.85.210.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ot1-f43.google.com with SMTP id 46e09a7af769-6e5027608a9so1090188a34.1; Fri, 08 Mar 2024 10:10:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709921459; x=1710526259; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=OMga39SQ9wf6iw2TDzDEKZteotW8dIG4eHHX7jroGRs=; b=IaSoK7kYKxUS5YqVIYDHwA5qnpjfk7gTvWp8LVfMsf7RpmYy0R6FK6mUGBtLhbJV5O NrAsg7ns+n20YRnU7r2/uxwaY6BAed2oan8HGbKM6X9tvN0cyTAXbK99CjWpVFTGl0uF AXqISma4/WgMlDg7GQ8baBFYFMhVr/6kwOVKmnuVGtgmoquy4lxLcatRtTz0mldBGGOC /lUCSMUsF1DQhJRxoN1rPlzVZtioRMeXTv7ZblOWpLq3ZHiZgeeck9AwP6/xYb6jVn+d T52TH++fAv/R1BIti94NWs/HjiLvI1LVbBTN6jy2DaRqHnFHur+SfHcU7wkQ/nCLeDMZ 4+yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709921459; x=1710526259; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OMga39SQ9wf6iw2TDzDEKZteotW8dIG4eHHX7jroGRs=; b=GoI0Su2qNnKe/vUBC38coSgSPkdcolgzh0DcGstNA7IyhGaw99CMAxRQoIh6n62dC/ dR0BZmeydgrt4oXlN/+Bjuz+iNcbtogqgr66fFT1qy2HI9WOCUKLzlrYTmQzlcVuI2vI 0BMb2FjNA2SKquezhNRSu0Fz20HTzbqJfr+XecTMyt/cOfsUGWEcQZCHmwsyhItq0Hlr tn5V3MoT3+8WK/XwIe0Utt6feQC+n14btQuLc+qfD+buIcTj3oCpZPFPHgWJb3ZYGtjV 35BWGeYUNZ10zn/t3JQO4XsGfmh5XUfyc7v9KplCXYc5m46zqqVQs/Z8/RJ2Lz5O8J3B wa9w== X-Forwarded-Encrypted: i=1; AJvYcCX+iIvghcyCz4zVu3crRZIcUKlt4mlO85PZ8CgmQ0HuT0VXJFy+FSGZb1hJqlXryrGdMH1Dji5GTXmJZy9BRQppNdLCBbSK X-Gm-Message-State: AOJu0Yx83xcrdHLp7OW5BABh+apOcxWs4iE2mcmlsWUKPPlhZcKnsN7s GnqfSwJfNWGhOvHZTyAVpjK1mpmzg9GlN/rP69sMcJqujYyKMXFtPDflmHnc X-Received: by 2002:a05:6830:114f:b0:6e4:dc5c:f627 with SMTP id x15-20020a056830114f00b006e4dc5cf627mr13474010otq.13.1709921458868; Fri, 08 Mar 2024 10:10:58 -0800 (PST) Received: from lvondent-mobl4.. (107-146-107-067.biz.spectrum.com. [107.146.107.67]) by smtp.gmail.com with ESMTPSA id m7-20020ac5cfc7000000b004d33a7860ddsm2081091vkf.17.2024.03.08.10.10.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 10:10:58 -0800 (PST) From: Luiz Augusto von Dentz To: davem@davemloft.net, kuba@kernel.org Cc: linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org Subject: pull request: bluetooth-next 2024-03-22 Date: Fri, 8 Mar 2024 13:10:55 -0500 Message-ID: <20240308181056.120547-1-luiz.dentz@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The following changes since commit eeb78df4063c0b162324a9408ef573b24791871f: inet: Add getsockopt support for IP_ROUTER_ALERT and IPV6_ROUTER_ALERT (2024-03-06 12:37:06 +0000) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git tags/for-net-next-2024-03-08 for you to fetch changes up to 3d1c16e920c88eb5e583e1b4a10b95a5dc97ec22: Bluetooth: hci_sync: Fix UAF in hci_acl_create_conn_sync (2024-03-08 11:06:14 -0500) ---------------------------------------------------------------- bluetooth-next pull request for net-next: - hci_conn: Only do ACL connections sequentially - hci_core: Cancel request on command timeout - Remove CONFIG_BT_HS - btrtl: Add the support for RTL8852BT/RTL8852BE-VT - btusb: Add support Mediatek MT7920 - btusb: Add new VID/PID 13d3/3602 for MT7925 - Add new quirk for broken read key length on ATS2851 ---------------------------------------------------------------- Andrey Skvortsov (2): Bluetooth: hci_h5: Add ability to allocate memory for private data Bluetooth: btrtl: fix out of bounds memory access Bartosz Golaszewski (1): Bluetooth: hci_qca: don't use IS_ERR_OR_NULL() with gpiod_get_optional() Christophe JAILLET (3): Bluetooth: Remove usage of the deprecated ida_simple_xx() API Bluetooth: btbcm: Use strreplace() Bluetooth: btbcm: Use devm_kstrdup() Dan Carpenter (1): Bluetooth: ISO: Clean up returns values in iso_connect_ind() Edward Adam Davis (1): Bluetooth: btintel: Fix null ptr deref in btintel_read_version Frédéric Danis (1): Bluetooth: Fix eir name length Iulia Tanasescu (2): Bluetooth: ISO: Add hcon for listening bis sk Bluetooth: ISO: Reassemble PA data for bcast sink Jonas Dreßler (8): Bluetooth: Remove HCI_POWER_OFF_TIMEOUT Bluetooth: mgmt: Remove leftover queuing of power_off work Bluetooth: Add new state HCI_POWERING_DOWN Bluetooth: Disconnect connected devices before rfkilling adapter Bluetooth: Remove superfluous call to hci_conn_check_pending() Bluetooth: hci_event: Use HCI error defines instead of magic values Bluetooth: hci_conn: Only do ACL connections sequentially Bluetooth: Remove pending ACL connection attempts Kiran K (1): Bluetooth: btintel: Print Firmware Sequencer information Luiz Augusto von Dentz (20): Bluetooth: hci_core: Cancel request on command timeout Bluetooth: Remove BT_HS Bluetooth: hci_event: Fix not indicating new connection for BIG Sync Bluetooth: hci_conn: Always use sk_timeo as conn_timeout Bluetooth: hci_conn: Fix UAF Write in __hci_acl_create_connection_sync Bluetooth: hci_sync: Add helper functions to manipulate cmd_sync queue Bluetooth: hci_sync: Attempt to dequeue connection attempt Bluetooth: hci_sync: Fix UAF on hci_abort_conn_sync Bluetooth: hci_sync: Fix UAF on create_le_conn_complete Bluetooth: btintel: Fixe build regression Bluetooth: hci_sync: Use address filtering when HCI_PA_SYNC is set Bluetooth: hci_sync: Use QoS to determine which PHY to scan Bluetooth: hci_sync: Fix overwriting request callback Bluetooth: hci_core: Fix possible buffer overflow Bluetooth: msft: Fix memory leak Bluetooth: btusb: Fix memory leak Bluetooth: bnep: Fix out-of-bound access Bluetooth: af_bluetooth: Fix deadlock Bluetooth: ISO: Align broadcast sync_timeout with connection timeout Bluetooth: hci_sync: Fix UAF in hci_acl_create_conn_sync Lukas Bulwahn (1): Bluetooth: hci_event: Remove code to removed CONFIG_BT_HS Marcel Ziswiler (1): Bluetooth: btnxpuart: Fix btnxpuart_close Max Chou (1): Bluetooth: btrtl: Add the support for RTL8852BT/RTL8852BE-VT Neeraj Sanjay Kale (1): Bluetooth: btnxpuart: Resolve TX timeout error in power save stress test Pauli Virtanen (1): Bluetooth: fix use-after-free in accessing skb after sending it Peter Tsao (1): Bluetooth: btusb: Add support Mediatek MT7920 Ricardo B. Marliere (1): Bluetooth: constify the struct device_type usage Roman Smirnov (2): Bluetooth: mgmt: remove NULL check in mgmt_set_connectable_complete() Bluetooth: mgmt: remove NULL check in add_ext_adv_params_complete() Takashi Iwai (1): Bluetooth: btmtk: Add MODULE_FIRMWARE() for MT7922 Ulrik Strid (1): Bluetooth: btusb: Add new VID/PID 13d3/3602 for MT7925 Vinicius Peixoto (1): Bluetooth: Add new quirk for broken read key length on ATS2851 drivers/bluetooth/btbcm.c | 12 +- drivers/bluetooth/btintel.c | 116 +++- drivers/bluetooth/btmtk.c | 5 +- drivers/bluetooth/btmtk.h | 1 + drivers/bluetooth/btnxpuart.c | 27 +- drivers/bluetooth/btrtl.c | 14 + drivers/bluetooth/btusb.c | 30 +- drivers/bluetooth/hci_h5.c | 5 +- drivers/bluetooth/hci_qca.c | 6 +- drivers/bluetooth/hci_serdev.c | 9 +- drivers/bluetooth/hci_uart.h | 12 +- include/net/bluetooth/bluetooth.h | 2 + include/net/bluetooth/hci.h | 19 +- include/net/bluetooth/hci_core.h | 37 +- include/net/bluetooth/hci_sync.h | 22 +- include/net/bluetooth/l2cap.h | 44 +- net/bluetooth/6lowpan.c | 4 +- net/bluetooth/Kconfig | 8 - net/bluetooth/Makefile | 1 - net/bluetooth/a2mp.c | 1054 ------------------------------------ net/bluetooth/a2mp.h | 154 ------ net/bluetooth/af_bluetooth.c | 10 +- net/bluetooth/amp.c | 590 -------------------- net/bluetooth/amp.h | 60 --- net/bluetooth/bnep/core.c | 5 +- net/bluetooth/eir.c | 29 +- net/bluetooth/hci_conn.c | 200 ++----- net/bluetooth/hci_core.c | 170 ++++-- net/bluetooth/hci_event.c | 236 ++------ net/bluetooth/hci_request.c | 2 +- net/bluetooth/hci_sock.c | 4 +- net/bluetooth/hci_sync.c | 433 +++++++++++++-- net/bluetooth/iso.c | 104 +++- net/bluetooth/l2cap_core.c | 1079 +------------------------------------ net/bluetooth/l2cap_sock.c | 21 +- net/bluetooth/mgmt.c | 120 +---- net/bluetooth/msft.c | 3 + net/bluetooth/sco.c | 3 +- 38 files changed, 1028 insertions(+), 3623 deletions(-) delete mode 100644 net/bluetooth/a2mp.c delete mode 100644 net/bluetooth/a2mp.h delete mode 100644 net/bluetooth/amp.c delete mode 100644 net/bluetooth/amp.h