From nobody Sun Feb 8 20:32:53 2026 Received: from mail-ot1-f69.google.com (mail-ot1-f69.google.com [209.85.210.69]) (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 99CA0346783 for ; Thu, 8 Jan 2026 08:56:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.69 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767862622; cv=none; b=tZx2RVIu8ZRWLUdyyY2zsHUYxiKSfl9cuPhP+cyhd2EdSILgDzURWIp2ZoA9NVEvLZdX7feVDPQUEmTXZsNZmK76YcS0m2Gsdk29RJ9PH/A0IUmN5L+hkV3OLoblR6RW/bHKcUgMKaP3DVan+Dz319feeY42I2GtlRsLXjNBBXY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767862622; c=relaxed/simple; bh=vcoWNTQW8hqiaLom4qbyb737tra0KJBqzRNeOnU7Mmc=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=TVgKvtSE4Hm6AgzbpQ4ypPGtVsDsqFaiPZ0rU/DHG6EA8tfgXuHxGQs458YHCuCX6OodnEirvL4Kj9ScUbVaqplO4pxd15LhueoH9juiz6Kdu3d4/WjjlabfhUtUFbT0USDRrzFaPs3FXAejwvYW5rUAtl+L9hne5wg3WfZCQ4g= 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.210.69 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-ot1-f69.google.com with SMTP id 46e09a7af769-7c75b4d04acso9077347a34.2 for ; Thu, 08 Jan 2026 00:56:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767862613; x=1768467413; 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=AjUGwdzk47cepi23JNA47/YJpDznR+gSfE3ditkT3qMrTaFVsezPXXQuWgwMYk9lJ8 GVNDwcc4rFm67QPvQJTqdxUwwLETUPAI+Bugezf64+d3XjkfECP4z+Hd4BfLzRxcX/az V8h/OjRGkhj0bbAgPhbxWIqLuj5YG3trdrFTg1RL2+17U4uyfxE5hRgMrqjamOfAbssv EWRWQy6X/1T31qYXUbGCYYUPAOZJitTe4ZbDJ1Lp+7ZspHWOG5/Odndc2vrW0Dp21Wfc VRn6Bk+hewI/6J4mHmTSMo7ebNQEbasp8PIg/D8te0Id5QUhXII6aOWF3UiKspz2H0gu wOpg== X-Gm-Message-State: AOJu0YztMeyE1gQqSqj8tCtvfok2tlE2JydqoOJhzsnwQAoevGkL86fU xhph/M31qWIVaYnIPyDX/GY+Q7Iorb4SiierquL63SinOc+lrIwmvMoAcpaDLeWIuCCxhoW1bt0 HRwjYgWHnzhaRRrWYl5uD6qZCC2io1lRQTTkZjGB2TWQ+o7FdOZxMlszxBD4= X-Google-Smtp-Source: AGHT+IEmFnvORpGTfgyNdI1Z3YOKbQ1lyeqI+KDbM84NwvCdYo5y66790VGxCxUE1mCf1ycsiEKlgZpX2t4kvhTpa/58cGpBarqW 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:60b:b0:65d:a79:5691 with SMTP id 006d021491bc7-65f54f3121fmr2037538eaf.36.1767862613493; Thu, 08 Jan 2026 00:56:53 -0800 (PST) Date: Thu, 08 Jan 2026 00:56:53 -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: <695f7155.050a0220.1c677c.038e.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