Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp812040lqe; Sun, 7 Apr 2024 05:17:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXTXMQBMFy25cu1dYnFClGVgcf0lwx/6F81EuW9iiyoWw+yjdqnFraAvRbGl0og2eWSGZabSHEPaUOApQl/gH4JQmE3mV8qNPf/4UG7JQ== X-Google-Smtp-Source: AGHT+IH6Q/99LL7PkXkHwcPGcSHSAn7347K61xOnDc9JMp2Mn24MDlIKr4kjw5qpvKG5Ouu2J4NE X-Received: by 2002:ae9:c205:0:b0:78d:46d1:ae8f with SMTP id j5-20020ae9c205000000b0078d46d1ae8fmr6373234qkg.71.1712492241778; Sun, 07 Apr 2024 05:17:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712492241; cv=pass; d=google.com; s=arc-20160816; b=WHLFF4vPkz5V53GVBqB2lS6bQsIdbSi6K/tE3ghDA0zP7gGMAB9zPPk72Z5qH2yQDL 2lsH/uz7YtsM3xiLAY0UKSpfed+gPHECszfMRurbO4a9f6dYUQvMfdqO18FWig9l+OC1 Rjy3qYpCxwaGt4jDw35VxRRRafquZegm9ZQ5c0cAzHQJBegC0KT+WNKMyqsvrj6WZd5g LeUZabXdp8yr54Q24DFknek99CUCrdJpYSd1oknc1FdxFIcQkNsNUyPX6ZAFpkmdagqW BPUsBzGlXnHDe9+gZGs1Hf05nbeZnZdKpjL3KCrLZWcFFO12+mBGYJbm/ypDIk791G1V UJFg== 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:message-id :date:subject:cc:to:from; bh=cISee+9oemxidW5PuYaBAD5gLDkmNfVIycyM97VfxNI=; fh=Bj1hIdFAMiuERn30BfgyOkhn71OgNK4JIk/vwpOpV6c=; b=YgrNFNtf8ntfgb7UGYACh5EoW9m3m4yVBcL/PLLGVEIBSpSbhqKWB4W+eT5V5Sm2YR AWC5npP1JjOaxKEnyVlf6TX4piqMBTHwhwG6L5J12XQTbFQfJuEYrrrM4omFGWGWnqkq iEtOf4Y5FMbtMbd5INCgQL3pnljsBIS2kvgWPrkhQtjkS9E0GHu9FqZ/7s+Ox2Iu0iw+ QtAm5lwpfjtj/IVliRf1/78yHFpWAkqgdbS5iSYrypySZDBHgYnzv5XKYN5HFLAHnMis HZ+b7z+B9XdmVg5EGTesRqNK6TTNjbcWfRjA/TxbCUUeO4cciQzguLakQwdqUzMhW3Ct 34Qg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=sina.com); spf=pass (google.com: domain of linux-kernel+bounces-134361-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134361-linux.lists.archive=gmail.com@vger.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 de41-20020a05620a372900b00789e907f565si6642313qkb.291.2024.04.07.05.17.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 05:17:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-134361-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; arc=pass (i=1 spf=pass spfdomain=sina.com); spf=pass (google.com: domain of linux-kernel+bounces-134361-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134361-linux.lists.archive=gmail.com@vger.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 820A11C20A57 for ; Sun, 7 Apr 2024 12:17:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2C24D24A19; Sun, 7 Apr 2024 12:17:15 +0000 (UTC) Received: from mail78-58.sinamail.sina.com.cn (mail78-58.sinamail.sina.com.cn [219.142.78.58]) (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 BD1333D69 for ; Sun, 7 Apr 2024 12:17:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=219.142.78.58 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712492234; cv=none; b=eO2x7s8iA3Teljc4YtSc9JACsLFZ54Zbj+HtAXSnOVkAvMZ9y9ZYtJkvi/BfZApX3WWHQBD6RZW7BnVTC4V1YGeCX1p91LUyGHoHD4YT5CjeLuHyW43gkIx2LVKoetMoRFEKivzNLm0DEaETJkLsxnsGuG43j7JR6j6BUcw+4EY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712492234; c=relaxed/simple; bh=f7SPIuuCdNbAM4S4kKz2ib0Fu5P+A+ERPG5+x4LiZSg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=h3C1Pp9MSxgrLmJtVO85lES9GAjSqNx6BPFTxibigt+mR5JsjIMu7VXKZLY9iVq2yj7Jc8DUV4AOiiYEmNKs5eze4FDy/4MuEcZoal8QpmjU4/erX47cLatuzSwnZ1fFqxXTI6euFl4yApY1femHa4ivsSQReQA6VdruG1/cVzs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sina.com; spf=pass smtp.mailfrom=sina.com; arc=none smtp.client-ip=219.142.78.58 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sina.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sina.com X-SMAIL-HELO: localhost.localdomain Received: from unknown (HELO localhost.localdomain)([113.118.69.236]) by sina.com (172.16.235.25) with ESMTP id 66128E9000006C5A; Sun, 7 Apr 2024 20:16:18 +0800 (CST) X-Sender: hdanton@sina.com X-Auth-ID: hdanton@sina.com Authentication-Results: sina.com; spf=none smtp.mailfrom=hdanton@sina.com; dkim=none header.i=none; dmarc=none action=none header.from=hdanton@sina.com X-SMAIL-MID: 74111434210371 X-SMAIL-UIID: 45049ADE17EA44AD82D1AF77D4FFD1A6-20240407-201618-1 From: Hillf Danton To: syzbot Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [bluetooth?] BUG: sleeping function called from invalid context in hci_le_create_big_complete_evt Date: Sun, 7 Apr 2024 20:16:09 +0800 Message-Id: <20240407121609.1426-1-hdanton@sina.com> In-Reply-To: <000000000000dd84650615800e67@google.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Sun, 07 Apr 2024 04:33:29 -0700 > syzbot found the following issue on: > > HEAD commit: 480e035fc4c7 Merge tag 'drm-next-2024-03-13' of https://gi.. > git tree: upstream > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=11ee2e75180000 #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 480e035fc4c7 --- x/net/bluetooth/hci_event.c +++ y/net/bluetooth/hci_event.c @@ -6936,8 +6936,8 @@ static void hci_le_create_big_complete_e continue; } - hci_connect_cfm(conn, ev->status); rcu_read_unlock(); + hci_connect_cfm(conn, ev->status); hci_conn_del(conn); rcu_read_lock(); } --