Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2167012lqz; Tue, 2 Apr 2024 09:02:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWPE+Pr8pSQ0H6VKsFXibkR8lAUOrFs5hXfRSaL8JF2sQl9C0ObZ+YPtHLefv4/zheKQXoBBUQTG7YGdLvft+iV0EeKpaJb9VWg5VwNuA== X-Google-Smtp-Source: AGHT+IFH0IQo076AFb7Vo5LgNmMFPHd43xFJLixZxy6I/1T5YBCTY3gc78R4vDlvIQTqfwhK1zng X-Received: by 2002:a67:f641:0:b0:474:c7b6:4be with SMTP id u1-20020a67f641000000b00474c7b604bemr10044931vso.1.1712073726187; Tue, 02 Apr 2024 09:02:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712073726; cv=pass; d=google.com; s=arc-20160816; b=VYfA5dECqnyc/bKQD+HphPloST3fgesXquueHmdWXLrrRUwnzdejjEkOfGgltn+8D1 EkeDaO+B689ZCpMRRLJclc2BRAIPkyINtHGmOePlAMdTfnVpK1AEW75+aZ+QbNPPAyt+ st5wtYbF9X9znqMWK6h9t5P5SXYgfzFUWFKQIdRiQoZ5RXfwgNZEDWmH70iApTZrmnWw igOc/qFusm81uhYpb10diLBftgpzIwFYDoXJuDrnk4GelOaULkLb4yyWt4bJyZ+4yDPc WxqADH16mRF4XWJUzMWFR+28yZr33s6ER7VT+mfKwwuKR8I4KvrDqgMVNzpMj5UqpyMi 9PNg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=f4R0NSekNPXzJB/hzHXWuFOIVAg7tSEEVmTt+gPBjqE=; fh=MXRJc4bUawCAfd+prk8N8D/cqr03Ju0rygfOWiQoeGM=; b=ZVBJ2SpDSz0oc3QHg3usbAFmgEjInqjKFu+ajCtwJmeZFsYSE3aCtFT9JphchACPCz jAeXel8zIxiIIMb1J776QvqdNZnnhHozqsoh5X/EENgI7ueb0/RHoQ9LX0QZ8AE9Gwqf l15bEVbI1lsJLf1Dn0wCMlQYfo+VkhRz2MF4PqyPMqYk7uBvKI0rYo4Au/TrsIwAFEVY OzUZsSryAm66uaEWkeDnKxBejcl41kL68TDhy6c7r6FPKoj3/lUza2vBwE5nuuLUcufh HcP0VMrMaDEtr8j+tqQckaUTSKTRH1RTAi1lBKgcMzQEVHYEO2g0UTD59r2HleL3UFyK 097A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aQacvV0G; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-3083-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3083-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id g1-20020a67fd41000000b004784cc580fbsi1464957vsr.174.2024.04.02.09.02.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 09:02:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-3083-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=@kernel.org header.s=k20201202 header.b=aQacvV0G; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-3083-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3083-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 C099E1C24166 for ; Tue, 2 Apr 2024 16:01:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AC1A41332BA; Tue, 2 Apr 2024 16:01:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="aQacvV0G" X-Original-To: linux-bluetooth@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F0798134BE; Tue, 2 Apr 2024 16:01:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712073694; cv=none; b=JhVqDE6aOv5bK3+EYiY1JXG7crXOBNqjx0K6qJcXLtRp2fd7YMPPbH76pVmAQChafEiEV2Hm7pTHqasKLHq90hODGbxXm8VeQQFBY9eSZMunU1GkVVt939ZrnOW5vvtsM+7q3U2btkVDYkUZUffLJG9GpVN/9E15FmvAkTTVd+A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712073694; c=relaxed/simple; bh=0q8JNj03RO1bowqfHPzaZnTUaz8dx0ZxbwFogRfGt1M=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=ETi1wh0yW/vkWXS+mTbDl3NyqyB7/Lgvg6A74a0DR6ymJh8Zp5tu1TDxa9wwUGIWIr9qCJ0TOiyobq/DF7ZsUHiG5wkP1UwOGZmHRp1Rq81HqYOW3bdWCwfz2ZhEnutbLF9zC66qC1w63wTZ5UEaGfityi7IPQYgkH7p+Ojxc20= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=aQacvV0G; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id AFE6AC433F1; Tue, 2 Apr 2024 16:01:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712073693; bh=0q8JNj03RO1bowqfHPzaZnTUaz8dx0ZxbwFogRfGt1M=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=aQacvV0G+OhRzC8z4HX1dsD2z7D+fNJkWLGHczj4FsxKG/oUvdlsB0xZVvsYzSwPH oI2Se5Vk1OcFStl6Z2HRWJe5DDxRVn+PgHg2U9HmuObz15reNzoJNChuKC8t42z3qh R+ESDeGCb9aS4zDxr8GY1nYom8C0pxqOnHgaAw3goLMiMJU1joSJwckaYNE1aVzMhN EbhVoDRHIwA6Nlyrt5P83q1ieC00fb8tPczV/Up5cPzMI2WR55/W116oc7WBfJpypg UVaApXWvfk6paPZKcHUUZT4HjbjVIdwCRFup1ygMqs3tb+OMC2iBoK+nF7Lf4mOas8 De6y7bbODJ43A== 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 9D2D7D9A14F; Tue, 2 Apr 2024 16:01:33 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] Bluetooth: fix memory leak in hci_req_sync_complete() From: patchwork-bot+bluetooth@kernel.org Message-Id: <171207369363.10776.3107408338305294242.git-patchwork-notify@kernel.org> Date: Tue, 02 Apr 2024 16:01:33 +0000 References: <20240402113205.7260-1-dmantipov@yandex.ru> In-Reply-To: <20240402113205.7260-1-dmantipov@yandex.ru> To: Dmitry Antipov Cc: johan.hedberg@gmail.com, luiz.dentz@gmail.com, linux-bluetooth@vger.kernel.org, lvc-project@linuxtesting.org, syzbot+39ec16ff6cc18b1d066d@syzkaller.appspotmail.com, stable@vger.kernel.org Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz : On Tue, 2 Apr 2024 14:32:05 +0300 you wrote: > In 'hci_req_sync_complete()', always free the previous sync > request state before assigning reference to a new one. > > Reported-by: syzbot+39ec16ff6cc18b1d066d@syzkaller.appspotmail.com > Closes: https://syzkaller.appspot.com/bug?extid=39ec16ff6cc18b1d066d > Cc: stable@vger.kernel.org > Fixes: f60cb30579d3 ("Bluetooth: Convert hci_req_sync family of function to new request API") > Signed-off-by: Dmitry Antipov > > [...] Here is the summary with links: - Bluetooth: fix memory leak in hci_req_sync_complete() https://git.kernel.org/bluetooth/bluetooth-next/c/4d0d849bc5fd You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html