From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from r3-25.sinamail.sina.com.cn (r3-25.sinamail.sina.com.cn [202.108.3.25]) (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 1FE8433DEC9 for ; Fri, 23 Jan 2026 06:43:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.108.3.25 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769150635; cv=none; b=PUOsTsWB6gdgbB3hHei17AhvVEQCKWXNJqzEnadHR9tuQNSF6HPyI17fu77P70Q5jHbI7zjJyUwjhVYQ8DKwGJgluJXRi0IYkeKEKf/qOGeX9YiYg/nYekAyPSR/GyjC97fycW1fc0FtbKBrlKxoB/nPGa5u1Y/QdaZJE2RVTrc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769150635; c=relaxed/simple; bh=VKRUcVStsEgqSdKtLCu4z+4esmZKN2OHc3af6bbabOU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=auh1yVkT0ZDj9SC471mXKAO7pHi8t3DNeosVUBa3hbsUsT0oTwZX7yJAO1Yx7LEVdTm2/wmgN4GLvgk5AHccaaVF4sSLE4bEBMlFrI5WWFX6M3K17PQvRox/PvLd1doI1N8mHqJ5wkAnFbBoghOnb0bPulnErwU8rv+MUfdn3FU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sina.com; spf=pass smtp.mailfrom=sina.com; dkim=pass (1024-bit key) header.d=sina.com header.i=@sina.com header.b=EuE+AX6D; arc=none smtp.client-ip=202.108.3.25 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sina.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sina.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=sina.com header.i=@sina.com header.b="EuE+AX6D" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sina.com; s=201208; t=1769150631; bh=nVB7Be1HkEWX9Et5riTmrWsoP/0/AV3ZudS6kfGmg3Q=; h=From:Subject:Date:Message-ID; b=EuE+AX6DUEtlqjhpdifLrxWamHLepYQ6rA86XdI6kgqKZ5gGScgm4rHYoXeN/0Bhy qGiEPiECku8Aq1Q2zD/qvgjBligeuDSyevW92tbOaqauLHx/ksONZOSPqyuOIEA+Jq An+Jkcn9Sb1edTHs3/I/VkutEZnq9NGl3WLhINZ0= X-SMAIL-HELO: localhost.localdomain Received: from unknown (HELO localhost.localdomain)([114.249.58.160]) by sina.com (10.54.253.31) with ESMTP id 6973175E00005609; Fri, 23 Jan 2026 14:38:24 +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: 3084976816255 X-SMAIL-UIID: 2B6553F480B14A9388C75755CCCD27D5-20260123-143824-1 From: Hillf Danton To: syzbot Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [bluetooth?] KASAN: slab-use-after-free Read in l2cap_sock_ready_cb (2) Date: Fri, 23 Jan 2026 14:38:12 +0800 Message-ID: <20260123063814.2286-1-hdanton@sina.com> In-Reply-To: <69729a7e.a00a0220.2cf64e.0003.GAE@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 > Date: Thu, 22 Jan 2026 13:45:34 -0800 > syzbot has found a reproducer for the following issue on: > > HEAD commit: a66191c590b3 Merge tag 'hyperv-fixes-signed-20260121' of g.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=11b467fc580000 > kernel config: https://syzkaller.appspot.com/x/.config?x=f1fac0919970b671 > dashboard link: https://syzkaller.appspot.com/bug?extid=9265e754091c2d27ea29 > compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=143e7f9a580000 #syz test --- x/net/bluetooth/af_bluetooth.c +++ y/net/bluetooth/af_bluetooth.c @@ -226,6 +226,7 @@ void bt_accept_enqueue(struct sock *pare list_add_tail(&bt_sk(sk)->accept_q, &bt_sk(parent)->accept_q); bt_sk(sk)->parent = parent; + sock_hold(parent); /* Copy credentials from parent since for incoming connections the * socket is allocated by the kernel. @@ -258,6 +259,7 @@ void bt_accept_unlink(struct sock *sk) list_del_init(&bt_sk(sk)->accept_q); sk_acceptq_removed(bt_sk(sk)->parent); + sock_put(bt_sk(sk)->parent); bt_sk(sk)->parent = NULL; sock_put(sk); } --