Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1684221rwl; Fri, 31 Mar 2023 15:14:19 -0700 (PDT) X-Google-Smtp-Source: AKy350akZC+3ksx7F5XAnApSDE19pa3skIwZR6R6GPmqrMZlIXnLD2FWNBk/Z86Am/bOonkYduMz X-Received: by 2002:a17:906:9f22:b0:933:4556:d1cd with SMTP id fy34-20020a1709069f2200b009334556d1cdmr14192929ejc.33.1680300859350; Fri, 31 Mar 2023 15:14:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680300859; cv=none; d=google.com; s=arc-20160816; b=FFZwFpCWwRVU3UPZ+EGnUE7qDrAcbMdvnmUcQjX5FUm6snK7FQTRqHhFUExPip2KnL t4M7vtYjr7gROu9uWsYOPVuGPplNtIxJySUdsaEjWbjR7tVYRQNcKfIkJqQ1C4/ANGL3 bD5xdbh1++Rpbir06TQTd4I+WUYBMpZIoqri3U967qQZ39ZYcA3Ne4d0OLraK62yjK7H FMLJWgcSBq+8FRaFPJNuQUI7XUbMqU3SmTgYWQJuBJDFWfR0npARxdoqPo2F/p/HAuLv pEjkAM6TkJP0Y1vMKMusXBqEd4Ok4e88hQ4hrinmEs7vsZuanxxOWi7mDfoPxKGLfURI Y2Ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=9QLv4QeQO/Zu6rN2BCdJAdxKe5CSmITH6d03EM3aoS0=; b=bmRgJq0PMrt45j5APWVa0NMVDKadwAR78iKfHWF5wy71AqjdnTuoMh5yIy30lHK1p/ wALLXwPhUt/0ZjGruHlcMi6IZCJTbbltTcoiFWLwsbM6UP9k2VIXal7pAYxvKfRfmwV6 x84E/M7D6HMA9AtwVTpexqgTkftflDjvu/h8+84h/yXTawOcCDlus3Hezm7Sg7sslzlO qR5LIMl3LAVd/xU1TKmiR4WXMu+S6UEmXeKIjS1dgds5Uckpdvsr5udiOf9z9QtZVV+b AHxjFVI0+zb77CNWF3eMIIkd97qLSSsc4UOMhrdAUl2JNIAiw1rg1FuV70Arp7q00yv6 slFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qAoICM8t; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d21-20020a170906305500b008da063a965fsi2857755ejd.937.2023.03.31.15.13.55; Fri, 31 Mar 2023 15:14:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qAoICM8t; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233104AbjCaWKY (ORCPT + 99 others); Fri, 31 Mar 2023 18:10:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231443AbjCaWKW (ORCPT ); Fri, 31 Mar 2023 18:10:22 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 683E759E9 for ; Fri, 31 Mar 2023 15:10:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 1F13AB83288 for ; Fri, 31 Mar 2023 22:10:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id D4250C433A1; Fri, 31 Mar 2023 22:10:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680300618; bh=fyMUA0UI8Es3AcJoP4LdIf1vZnAMJCuyDP4PDQeltsA=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=qAoICM8tFqvkCyjKYuet4hj3caF1yPfUWhtpDWTY537K9mJUDYKijOpEMaYgRkwtm FLPo2bs9ldBpJc0+QSOYVTwoDYmBK5J0fcZy7//niFY6GXAU4GTH0G5MGbEaSbRcbY eL4/nPlOZmpPOu/q8mx3KVAEP/NDeL29FkFLawJeW4lZLRczPAH/JAY6DYraKG1/v8 G4QjKwOgNnfYa+evhRHtRR6IL85V0jNKuKua3V3NsNe+SbEW1MRvnUvgiXiA7UmV+L DGJij4oCDRTdVY4sgW5dJ0NqMB0qu2MCsFqNAxi6Nb7wTEcLOwiZa/3ed7iZLIpy1l 0iOiYSmvp+zjw== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id C0815C0C40E; Fri, 31 Mar 2023 22:10:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH BlueZ] avrcp: Fix crash while handling unsupported events From: patchwork-bot+bluetooth@kernel.org Message-Id: <168030061878.9780.9987417728326612378.git-patchwork-notify@kernel.org> Date: Fri, 31 Mar 2023 22:10:18 +0000 References: <20230330234425.1064422-1-luiz.dentz@gmail.com> In-Reply-To: <20230330234425.1064422-1-luiz.dentz@gmail.com> To: Luiz Augusto von Dentz Cc: linux-bluetooth@vger.kernel.org X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hello: This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz : On Thu, 30 Mar 2023 16:44:25 -0700 you wrote: > From: Luiz Augusto von Dentz > > The following crash can be observed if the remote peer send and > unsupported event: > > ERROR: AddressSanitizer: heap-use-after-free on address 0x60b000148f11 > at pc 0x559644552088 bp 0x7ffe28b3c7b0 sp 0x7ffe28b3c7a0 > WRITE of size 1 at 0x60b000148f11 thread T0 > #0 0x559644552087 in avrcp_handle_event profiles/audio/avrcp.c:3907 > #1 0x559644536c22 in control_response profiles/audio/avctp.c:939 > #2 0x5596445379ab in session_cb profiles/audio/avctp.c:1108 > #3 0x7fbcb3e51c43 in g_main_context_dispatch (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x55c43) > #4 0x7fbcb3ea66c7 (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0xaa6c7) > #5 0x7fbcb3e512b2 in g_main_loop_run (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x552b2) > #6 0x559644754ab6 in mainloop_run src/shared/mainloop-glib.c:66 > #7 0x559644755606 in mainloop_run_with_signal src/shared/mainloop-notify.c:188 > #8 0x5596445bb963 in main src/main.c:1289 > #9 0x7fbcb3bafd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 > #10 0x7fbcb3bafe3f in __libc_start_main_impl ../csu/libc-start.c:392 > #11 0x5596444e8224 in _start (/usr/local/libexec/bluetooth/bluetoothd+0xf0224) > > [...] Here is the summary with links: - [BlueZ] avrcp: Fix crash while handling unsupported events https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=f54299a85067 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html