From nobody Sat Feb 7 19:08:20 2026 Received: from mail-oo1-f72.google.com (mail-oo1-f72.google.com [209.85.161.72]) (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 BBF9623EAB7 for ; Fri, 9 Jan 2026 01:53:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.72 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767923633; cv=none; b=jInyPWow7EeMpsEybG/XkmL8PlUuG94zanQv8WGK2WlFQrrsOF1IWjfuQ8wglRI4HDexc9yi7BDRbcf21kfx3UEUwKX7PpGOL9E7ZtTxOzih4mBbqOzld6x1UVsGmlF4XVrI5jnBMf6ZoDWptIITpR47oDL1VnHGTQ55W0hj+s4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767923633; c=relaxed/simple; bh=vcoWNTQW8hqiaLom4qbyb737tra0KJBqzRNeOnU7Mmc=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=ewCz3odG3b1d9vyoxHF3KdNxznS6DhBGNjjVG2ui1cKSY/8w55ZBZ3WtNnSP0tc00YY1GHYcdOivPWVIL/CupVhbJ/XQDKZpgKpehXJ0xIWYnP8SKUBL1slHBEurcbgwbkrUYO3qqzXfclijDko2tKA/eBos0b+BaGQQ4zMFMzk= 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.72 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-f72.google.com with SMTP id 006d021491bc7-656bc3a7ab3so5307433eaf.2 for ; Thu, 08 Jan 2026 17:53:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767923630; x=1768528430; 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=YeRNM0bMmEwb763RfynMwghUusK+E3apSWfbfZvuLuCDH4sqpQHz7r6Mq7xNOw+4Kl rrk6mhUW8cnQMw7ATaxePob50iYsxV40kfKFthoXvw5IPeSAAHHhRJoBP2rmE4VB6SEf Y1E6KZK0KH38dhv1iUdzxx6GJLD6Bn0It0/LgIaqMRyvbqXIqGcWJF+Z0J52SDN9UalW 1xTLdwPphoxUHEYBzrJBlLm/wJGn4yLmN5c2IpcN466WYHXTx9uUES9E+1L16t2okYj1 /uZ7AXvOpiKL+6xUSeILqs/IfyIOh2pQ8ukeIeGFUlQGeIZEgUqskv9nAovaM6bKNKc+ kNXQ== X-Gm-Message-State: AOJu0YxFDrrORovnxqE1bAldUvxTBEGJr6Q4CLTk6TbnWuU6NBjEfXzf Kkjq1dQOqaX6+ykIG2egy/0gLf1SRChWB/UvIb/0ZvUm68isLGF4r7cvqqNavnCmUj/2/SD/uSz qS2/a0DI3o3sEuzpnlMP05f6rDGIRPGRzZouJTqNZEJItj7waHf20wasklio= X-Google-Smtp-Source: AGHT+IHRKtoL9OOHNWs9DsZyBBa+JYjUbsTbeN9votRv0TEFBm7nrLv7gA7Ua0BjCND6xjjVSIJgfmisCsdMZUT5rdk5AO7+D0Kd 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:4904:b0:65f:bad:787e with SMTP id 006d021491bc7-65f54f31307mr2755274eaf.37.1767923630553; Thu, 08 Jan 2026 17:53:50 -0800 (PST) Date: Thu, 08 Jan 2026 17:53:50 -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: <69605fae.050a0220.1c677c.03ad.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