From nobody Sun Feb 8 07:08:11 2026 Received: from mail-oo1-f70.google.com (mail-oo1-f70.google.com [209.85.161.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 71A36331A41 for ; Thu, 8 Jan 2026 08:32:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.70 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767861136; cv=none; b=f2hxj7dYeV9O6gx5PgschTLDlsuMrYOCvJ+2/nnzdIYZCqIy2cO1cB5NgUu6jta6WNqeFItB41qOnnQqLxeG4duYHnfn4kRmQsshJnXwQDmN+AZMTJzu9R7++yVG9gbadmH6/7ft29dzQZ056tsKd5lSj10bnJdG9zKEOgmZDnk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767861136; c=relaxed/simple; bh=vcoWNTQW8hqiaLom4qbyb737tra0KJBqzRNeOnU7Mmc=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=OFQbbs6SzHyX6ghQtbrXo0La12OH8KnirZ0/5tzeiL8h7J6u74b1BnbP8aRBekklFaZGoRpVHgKLe7re4WgfemxPl+KPYjcJuDcLv5pRMho2x/ypGnoK4bn0woKwEH/49MaByq380QmJaA7KI3GeeT3RBWym4bcx1d2jzV/VUxk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.161.70 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-oo1-f70.google.com with SMTP id 006d021491bc7-65d004d4d01so1642890eaf.1 for ; Thu, 08 Jan 2026 00:32:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767861120; x=1768465920; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=w3SoaQTpXQ9QJS/KbJo9/9ocXxCxuuC2dooMTR/IOx8=; b=vYnipCghg0CeC3umm8atD+qK+GXvPp1ORW04XLq9qHmiuPYFEiR/FayVHFEpUpyfIz vasfYGb4sgO2IQNOPTjIAI3aTKVIh96Ni9FyG6FIiDXoc7QD2zf3SL6pgBEF1mCxll3w KKa9I1St2gtAj+WBl7i7l8J2G+m14ij64/7J9tdu6w8TF6t0fGU6f4aZ3oH77cq9MXCO kAdU0oaiffpjjwu8u82zb4vF0JKDNlv4N28LWMak0PsJb2I2r8OE/bWy1ZRn02mxbEgh yx0JVJ6TP9CiHGGLwvBsG2iJHBPr6oZukq5SujtKyRbm6bX2D65qYt1GkAdlUwoiyZ6h 1WRg== X-Gm-Message-State: AOJu0Yx8MtcnAoV7ch/A2V3Ol1hpr4X56ClMcmiEU5i+ffALZ0B9aCjB VLccaTeGRybFpxZCj0dBxxlmdK11rWUrY8ibP90DALN7d+f9fKRa7BdHPvNhY+0kdcx9LdFe7B6 sBxiJW6f0QRLAYGsazrBR1wcZ+VX66E+wYda5wMK0JqTTP3/8FbCZWr05bZo= X-Google-Smtp-Source: AGHT+IFjBmwzPgwMnZnpdMuTNvOOYuitrvIGg0pQXjO1UUjGjscjIuG+R9rc0/G9AidRg4gzBWFu0WtY7+DM9NcCYVuhRZassW5E Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6820:2f12:b0:65b:3907:b362 with SMTP id 006d021491bc7-65f54f6a884mr1613493eaf.55.1767861119980; Thu, 08 Jan 2026 00:31:59 -0800 (PST) Date: Thu, 08 Jan 2026 00:31:59 -0800 In-Reply-To: <695e9923.050a0220.1c677c.0370.GAE@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <695f6b7f.050a0220.1c677c.038c.GAE@google.com> Subject: Forwarded: [PATCH] Bluetooth: hci_conn: Fix memory leak in tx_q on connection teardown From: syzbot To: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" For archival purposes, forwarding an incoming command email to linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com. *** Subject: [PATCH] Bluetooth: hci_conn: Fix memory leak in tx_q on connection= teardown Author: kartikey406@gmail.com #syz test: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git= master Cloned SKBs queued in conn->tx_q.queue for TX timestamp tracking are not freed if the connection is torn down before all completion events arrive. Add skb_queue_purge() in hci_conn_cleanup() to fix the leak. Reported-by: syzbot+6e76aa21aaf2d8be6034@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=3D6e76aa21aaf2d8be6034 Signed-off-by: Deepanshu Kartikey --- net/bluetooth/hci_conn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c index c3f7828bf9d5..3fb93faf60f3 100644 --- a/net/bluetooth/hci_conn.c +++ b/net/bluetooth/hci_conn.c @@ -148,6 +148,7 @@ static void hci_conn_cleanup(struct hci_conn *conn) hci_remove_link_key(hdev, &conn->dst); =20 hci_chan_list_flush(conn); + skb_queue_purge(&conn->tx_q.queue); =20 if (HCI_CONN_HANDLE_UNSET(conn->handle)) ida_free(&hdev->unset_handle_ida, conn->handle); --=20 2.43.0