Received: by 2002:a89:b8d:0:b0:1ff:3fb7:5d92 with SMTP id br13csp15202lqb; Sun, 16 Jun 2024 06:30:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUelzioC6LyUaT8CJwqpSThF9RukQbnwVaotSiIKqUvJyw2Mhte/x15eBTOwNA9Uh+Jrt6GIbxT5FW9BZyBLbNoCYJ+YMcGetLDJEmPzA== X-Google-Smtp-Source: AGHT+IFzxThqKOKYhS87DXpfkKcXgJIDGd92znjxh8U8nCMEFNCLzzCcRkmoR3jxxEbyiIFOZUoD X-Received: by 2002:a05:6808:2381:b0:3d2:1cfa:94d3 with SMTP id 5614622812f47-3d24e9c6620mr8517661b6e.47.1718544606180; Sun, 16 Jun 2024 06:30:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718544606; cv=pass; d=google.com; s=arc-20160816; b=kgbMH8+fJBQ0/KEe8vgcu0aQ9QfV3Z23X0/Xvf91ZG00Huc/zJqeUtuMQZ62c+vAr7 fbk3c6gPD0EM391J1NIQt97edrnXbBuuYC5D/Diz0mOCdQFsCpq4IDoM10yD6E/J7ThF 72/l7BADPpBlhxRurbcttRhZf1rN25I1w13dd5YzcVClMi1c4XfRvEIPs3SC+RUC7rK6 xMLJfX75fi/apX4EashkH3WuuJih66CQOmOUnr2VEiSosPDRsBa9AL8dajNSEL2wyqu4 JKfbt+vBB+iZ/jqY1MJ6jN2VQN/2vIp0KPYYN/udSQBVOwIrqiP3g1E3LQQFkLqA1+yk Ljuw== 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:references:in-reply-to:date :subject:cc:to:from:message-id:dkim-signature; bh=qIs4X5rUsFsB6YbZepT+e3Lmq72es//ofNH5obBTrKU=; fh=1GCTjFMElQ8TGmh7Qwg6RHVJ1PHK2CcpN008ROD7EhI=; b=dZQKiBgk0p/THhqXQdMrPQK7zwTrcBG3IJqWSc5XAlkGBe4AZz5G6HexscshYczQyd xwldPCFEfAruBbU0u+oGhs3oNroahACPJN3o/ER7ppWUIyxyPhTGVAZEKTdeEGXV+z7D CekqC30y83tQVaJTpeoo2z4bChpoz2YEybckguw5dXxcX6BHSZ+HDJ1d/Mp+ogzrkecw UqGN6DjRPg8/C31TURiKirAUBMkdrudQA8l0i/iLckIrIwhyqyrlNkPOTdWLtB071dVs tPCDzGZ64tPC+30XHhSQ/MUC5DaOXv5A1oDatkl3JcSJ2z6Ps4r8+yFEv8gEoG+Mzwl2 wNog==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@qq.com header.s=s201512 header.b=NO6gXATb; arc=pass (i=1 spf=pass spfdomain=qq.com dkim=pass dkdomain=qq.com dmarc=pass fromdomain=qq.com); spf=pass (google.com: domain of linux-bluetooth+bounces-5336-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-5336-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=qq.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 af79cd13be357-798aac9badfsi852139185a.27.2024.06.16.06.30.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Jun 2024 06:30:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-5336-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=@qq.com header.s=s201512 header.b=NO6gXATb; arc=pass (i=1 spf=pass spfdomain=qq.com dkim=pass dkdomain=qq.com dmarc=pass fromdomain=qq.com); spf=pass (google.com: domain of linux-bluetooth+bounces-5336-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-5336-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=qq.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 E06171C21898 for ; Sun, 16 Jun 2024 13:30:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D3BEE188CD0; Sun, 16 Jun 2024 13:29:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=qq.com header.i=@qq.com header.b="NO6gXATb" X-Original-To: linux-bluetooth@vger.kernel.org Received: from out203-205-251-84.mail.qq.com (unknown [203.205.251.84]) (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 D61EF1DFDE; Sun, 16 Jun 2024 13:29:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.205.251.84 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718544598; cv=none; b=F2OHKmFavjzJVX464QsO0ETr3HzwXy34AbK0xLGA2G0+khzuYQGZ5UdDbxTSmRCbE2TBiXxW0cKEtQtx3E80y+oY7vFC/+de6VatMaKaY0GChgDTc6I2hvD2VJcZnpZsfb+568N7Q9Yz1Rymzy312wOrMfaWRMqF5jRO0cy0b2k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718544598; c=relaxed/simple; bh=A2Yn9Be70Xe24ZE7ljQQm6mUKY0/vvCiGlacG+PDEkE=; h=Message-ID:From:To:Cc:Subject:Date:In-Reply-To:References: MIME-Version; b=arJXcSx+8O1YKFxeATSD8MZtDgbP7jnCTwF3WUFmAoJof0HsbtAFAH67frCDPD7/EVoI58SfgnuM9cewceG/EaGnNEFeifK7o8EVleSakE1A6ShABrtqIr/Fh93SBmwTEVyyXU/aq9lJeOMlGiOwRNiqwXmjYOPem9mlPPdLjxY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=qq.com; spf=pass smtp.mailfrom=qq.com; dkim=pass (1024-bit key) header.d=qq.com header.i=@qq.com header.b=NO6gXATb; arc=none smtp.client-ip=203.205.251.84 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=qq.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qq.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1718544287; bh=qIs4X5rUsFsB6YbZepT+e3Lmq72es//ofNH5obBTrKU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=NO6gXATb2AjFe5S3dY+0ziDy29IYLpYFiA8iERNslAXsk5IdA3pveVvmYqj8JWaec PC5mRuRBxarPX8Kd0LsNPJqw/m4RqQBLJM3/OIClZDG+BOlu/ieT82OYOqzcIDrpK0 urNWhQzAU87sk0WlBCOhfjdvDabJS7wL1frG+Ec8= Received: from pek-lxu-l1.wrs.com ([111.198.228.103]) by newxmesmtplogicsvrszc5-2.qq.com (NewEsmtp) with SMTP id 49A14659; Sun, 16 Jun 2024 21:18:26 +0800 X-QQ-mid: xmsmtpt1718543906tmp3d8lpl Message-ID: X-QQ-XMAILINFO: NvKyM24IHTKSRwfinymltxIIIUSW4aH9kToFqNBIPZPLNLOWY2bSsAJpTCa+BV 5cJeRcnrwFKNReVPMsj1yG5joGJKrYR27tu9gDyqR1We/XLK587L4hqt8RK17OU2c3CpzwY4sKtH 9roenybAmr9TR4+1fykw4g8Fc3Bmef7rq7/cEOC/lyLkmCyjE6lnxV4YUBIy5zCSRdo9kLmVylne PodrQ4bQtBL1VOpQAeAc5nEgNU7GqSYJsKjnCS3fpDy4ojphF57qVOKgv4zBhLPpJNboPNLAspsM VbeXzsMysS0SjXAeHtF1O4ZLNtIDLTFynmA5q0O5h+BNyQyFyuKkXCW2wVeP+F5vRvk2AhsFNcao eQ1ZdwJKa4152TTD97GzqoS92JuhW+RyoF3ctgtnsaBf6Jzw3mVyz48WzBKnbABAYN8b8AFkga1k RuJXKaz0NA7Tbk0vhxVT36DlgVWIFtl1pZkbTjV6eN60aKfnyV3/dCzJKsEiVGyZCTJFXJbc5rn3 wYbS7enVNhtetO9PsZqL6imwbwf/Bq8EeXBur3dMxQhJcvp7sz6y3enmrXNHH0QyaqKdzxx1Ekdt noW1qK6ESSotzus1Yo0yei9mG3mozLTohZcZqWhDsoCXQCMNr3SqeJashF1u3Vt2KJn2hlrSgIig vkML84ve6BAONK4s1konKrO4IMyMzSwlnEYms9kapeGLb5pC18lSu7xROMuQuj/AWVL0FDzPI5sj 8duhbuNQBff52XMCBzdaZPvHRmHZqcNWt18lZ7yAA+6tNnhqoZY0JhK4mvl++OSWf2jvVBkTaqWK 2wM5dQ0ZoL7Y9rwGC9j1MY9CD0T0D/coBoHeGGKvhBucJigBbVyY6WutJYYL/i6+7OvbRN9ayGHf vGoMQ83QsTbU1wtxkN4SNufjKQ68uFuCUngpi380fX231QfB02sqzGphCtlMGDh/9V50qZSsjCQf k7HmC3sn0bAaMoOW8IlbU48WkJqnGXlG+dtAh1Oqo= X-QQ-XMRINFO: MPJ6Tf5t3I/ycC2BItcBVIA= From: Edward Adam Davis To: paskripkin@gmail.com Cc: davem@davemloft.net, eadavis@qq.com, edumazet@google.com, johan.hedberg@gmail.com, kuba@kernel.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, luiz.dentz@gmail.com, luiz.von.dentz@intel.com, marcel@holtmann.org, netdev@vger.kernel.org, pabeni@redhat.com, syzbot+b2545b087a01a7319474@syzkaller.appspotmail.com, syzkaller-bugs@googlegroups.com, william.xuanziyang@huawei.com Subject: Re: [syzbot] [bluetooth?] WARNING in hci_conn_del Date: Sun, 16 Jun 2024 21:18:26 +0800 X-OQ-MSGID: <20240616131825.581073-2-eadavis@qq.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Sun, 16 Jun 2024 13:37:17 +0300, Pavel Skripkin wrote: > > hci_le_big_sync_established_evt is necessary to filter out cases where the handle > > value is belone to ida id range, otherwise ida will be erroneously released in > > hci_conn_cleanup. > > > > Fixes: 181a42edddf5 ("Bluetooth: Make handle of hci_conn be unique") > > Reported-by: syzbot+b2545b087a01a7319474@syzkaller.appspotmail.com > > Signed-off-by: Edward Adam Davis > > --- > > There is one more user of `hci_conn_add` which may pass too big handle > which is `hci_le_cis_req_evt`. This case only affect hci_le_big_sync_established_evt. -- Edward