From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f70.google.com (mail-io1-f70.google.com [209.85.166.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 DFDDF324B2E for ; Thu, 20 Nov 2025 14:45:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.70 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763649906; cv=none; b=MNRum2FXO7ysp3p4SDNgwKwvMIHxltoj6bmWmTL+PKnFpXm1yzCksynDm/9947Hxqwo0tHvQA2tFtjnXF2GkBrMM4SIgkrVnZSj4WsiPONnc0Vo5h4PVgVyqNu50CRDr/NFLXEQwAAJo2kcm6bRrPbRa0msdrtpoQI9lApxE14k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763649906; c=relaxed/simple; bh=gU8pM5zepSiLnXPCNKOz1WXwsqOA6q7R+SNxo7d10Lg=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=ohVFkuKntuqdJie5tDbAUPntw0MvMORaHmNpsf0vEQvmHTfZe8MKjmCK8YNTevsHdtfoykJ/m+2OvV3c9hDzxFLWcrUI3rQLz1jIMCrT3isDFyZQ3s70rAIyKrM/3CP8Lbv2H7eaBcPwDYvjYkynivILff6G/aPcZAu0AQbXT2U= 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.166.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-io1-f70.google.com with SMTP id ca18e2360f4ac-948ff1d169eso67888539f.2 for ; Thu, 20 Nov 2025 06:45:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763649904; x=1764254704; 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=WlyAU0z81/9+eTUYeRx5flV2A6iaPzfzczU+rg0ATOc=; b=q7o39qSEr0ZRc/wAkieOYLR7C5cLNToTUjMlx3YLIrerLRr8Swl38wF6fT1smn8VON Al87EaWG3j0TllxFavpsrsI1DJ6r6VHC7X8F803ZqS4f2jCAssUmgC3QQiS+YtISlaM4 whjjIWSs6/dgLQ1q2dPnsYOqOyjIPSNuD0Awm9FshcIe/4/qr08aNDr3hAqSg48w/ZFi vjp51c5EHkoj9SK/SYzkeaSswcsvAZ+FyVpV+Q7DBH7vRa1QLctHROxsofiPt9BV1Moa ZXBhE41lPdVJBwam6k8gNnnk0PW5Xmrta84YDVMxd7F/6DDU6jhuD+teIDSS3p/gX2cT EVfg== X-Forwarded-Encrypted: i=1; AJvYcCVRrcyFGEBMkI6eGRLT662H6FY0Y/InejNEL7U0DciAIq8pWOuGvtXau/5nsvHFOFAtkcGP9zu97v41JMs=@vger.kernel.org X-Gm-Message-State: AOJu0YyjoLY7WLDfH6cPO82/4vNpB3vM1Bln3bjXyQAVBnZOM9hoKZlr 0tZcsihDK2QKj2ZuX8nGjcxBKJ5jxBrXswq21e7RuCH2r1lr7NzJfuy/MEVipichD7cE0vQIhyp hoii6zT00zPPPuh11w7wYBGzd555QmlTxLtrYHABszgJzHJXRc+HZP5QTSiQ= X-Google-Smtp-Source: AGHT+IHXXy7k/LGJqDRPUFeZAgrombUHx06Ukx+313mOZJwGD5b8llsnRuAXeVrc20oT7QXpDpGWiqs92ytS6NSHTNTkOTcCcAQG 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:6e02:180f:b0:434:96ea:ff6d with SMTP id e9e14a558f8ab-435a9093fbamr31794035ab.38.1763649903938; Thu, 20 Nov 2025 06:45:03 -0800 (PST) Date: Thu, 20 Nov 2025 06:45:03 -0800 In-Reply-To: X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <691f296f.a70a0220.2ea503.002f.GAE@google.com> Subject: Re: [syzbot] [bluetooth?] [usb?] memory leak in __hci_cmd_sync_sk From: syzbot To: eadavis@qq.com, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: memory leak in __hci_cmd_sync_sk BUG: memory leak unreferenced object 0xffff888126d95d00 (size 240): comm "kworker/u9:1", pid 5136, jiffies 4294947597 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace (crc d70d2c13): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4983 [inline] slab_alloc_node mm/slub.c:5288 [inline] kmem_cache_alloc_node_noprof+0x36f/0x5e0 mm/slub.c:5340 __alloc_skb+0x203/0x240 net/core/skbuff.c:660 alloc_skb include/linux/skbuff.h:1383 [inline] bt_skb_alloc include/net/bluetooth/bluetooth.h:510 [inline] hci_cmd_sync_alloc+0x30/0x140 net/bluetooth/hci_sync.c:58 hci_cmd_sync_add net/bluetooth/hci_sync.c:99 [inline] __hci_cmd_sync_sk+0x7d/0x2a0 net/bluetooth/hci_sync.c:170 __hci_cmd_sync_ev+0x3e/0x50 net/bluetooth/hci_sync.c:258 send_hci_cmd_sync+0x5e/0xf0 net/bluetooth/mgmt.c:2615 hci_cmd_sync_work+0xd5/0x160 net/bluetooth/hci_sync.c:340 process_one_work+0x26b/0x620 kernel/workqueue.c:3263 process_scheduled_works kernel/workqueue.c:3346 [inline] worker_thread+0x2c4/0x4f0 kernel/workqueue.c:3427 kthread+0x15b/0x310 kernel/kthread.c:463 ret_from_fork+0x210/0x240 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 BUG: memory leak unreferenced object 0xffff88810c145080 (size 704): comm "kworker/u9:1", pid 5136, jiffies 4294947597 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace (crc 4e765d9f): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4983 [inline] slab_alloc_node mm/slub.c:5288 [inline] kmem_cache_alloc_node_noprof+0x36f/0x5e0 mm/slub.c:5340 kmalloc_reserve+0xe6/0x180 net/core/skbuff.c:579 __alloc_skb+0xd4/0x240 net/core/skbuff.c:670 alloc_skb include/linux/skbuff.h:1383 [inline] bt_skb_alloc include/net/bluetooth/bluetooth.h:510 [inline] hci_cmd_sync_alloc+0x30/0x140 net/bluetooth/hci_sync.c:58 hci_cmd_sync_add net/bluetooth/hci_sync.c:99 [inline] __hci_cmd_sync_sk+0x7d/0x2a0 net/bluetooth/hci_sync.c:170 __hci_cmd_sync_ev+0x3e/0x50 net/bluetooth/hci_sync.c:258 send_hci_cmd_sync+0x5e/0xf0 net/bluetooth/mgmt.c:2615 hci_cmd_sync_work+0xd5/0x160 net/bluetooth/hci_sync.c:340 process_one_work+0x26b/0x620 kernel/workqueue.c:3263 process_scheduled_works kernel/workqueue.c:3346 [inline] worker_thread+0x2c4/0x4f0 kernel/workqueue.c:3427 kthread+0x15b/0x310 kernel/kthread.c:463 ret_from_fork+0x210/0x240 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 BUG: memory leak unreferenced object 0xffff8881095f8b00 (size 240): comm "kworker/u9:1", pid 5136, jiffies 4294948345 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace (crc 84342eda): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4983 [inline] slab_alloc_node mm/slub.c:5288 [inline] kmem_cache_alloc_node_noprof+0x36f/0x5e0 mm/slub.c:5340 __alloc_skb+0x203/0x240 net/core/skbuff.c:660 alloc_skb include/linux/skbuff.h:1383 [inline] bt_skb_alloc include/net/bluetooth/bluetooth.h:510 [inline] hci_cmd_sync_alloc+0x30/0x140 net/bluetooth/hci_sync.c:58 hci_cmd_sync_add net/bluetooth/hci_sync.c:99 [inline] __hci_cmd_sync_sk+0x7d/0x2a0 net/bluetooth/hci_sync.c:170 __hci_cmd_sync_ev+0x3e/0x50 net/bluetooth/hci_sync.c:258 send_hci_cmd_sync+0x5e/0xf0 net/bluetooth/mgmt.c:2615 hci_cmd_sync_work+0xd5/0x160 net/bluetooth/hci_sync.c:340 process_one_work+0x26b/0x620 kernel/workqueue.c:3263 process_scheduled_works kernel/workqueue.c:3346 [inline] worker_thread+0x2c4/0x4f0 kernel/workqueue.c:3427 kthread+0x15b/0x310 kernel/kthread.c:463 ret_from_fork+0x210/0x240 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 connection error: failed to recv *flatrpc.ExecutorMessageRawT: EOF Tested on: commit: 23cb64fb Merge tag 'soc-fixes-6.18-3' of git://git.ker.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14d4be0a580000 kernel config: https://syzkaller.appspot.com/x/.config?x=f30cc590c4f6da44 dashboard link: https://syzkaller.appspot.com/bug?extid=f098d64cc684b8dbaf65 compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 patch: https://syzkaller.appspot.com/x/patch.diff?x=16e8d658580000