From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f200.google.com (mail-il1-f200.google.com [209.85.166.200]) (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 D5DEE2D77E9 for ; Sun, 23 Nov 2025 16:09:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763914148; cv=none; b=DMaVgcuopijFn8EbuQeg6TQLZEJ8aCLPwpd3tL0Gn25f0PzsJ82ffayd9+8A5/v8k5fmrOPsQPOEx3XCpbyal7oHfL6Wu7oHiEx9d8zSUq+H7RNKjy/eO62y6P+kyrJuRkMeBA2hUvlYXwCgEXRUMmoS6J6iR6wFCTmMKyzA8gc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763914148; c=relaxed/simple; bh=LV5mrmh9c/488qmIEu2EyRbH37ZtWFMoMm8X7SlxYSg=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=Fp8q9aD2JF7wJNBj0gV9YPdLxXNh+8JYZ4Cs4n+xCdsR09xdXKTMay01p9crR+3TiuIHpfUXJbXs12jwxFo2Iir3Mr08t2U+fle7B1Fk5PGSlsoFyWwvASDTyXPvF89ZBY37lU9bHOUPg1R5GI9w1Nt3C4FrLhR919YKVv+F+Q0= 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.200 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-il1-f200.google.com with SMTP id e9e14a558f8ab-433783ff82aso32378935ab.1 for ; Sun, 23 Nov 2025 08:09:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763914145; x=1764518945; 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=Af5u31Zi7YK3U4BmqhZgelJ9lBaFN5qlBQ9qmjcHI80=; b=TiqdBU5AJoCF9Qy266XwDQ7UexxDWQzdQnxXB3dK9vtq8rqah18cokO9nPBUpfzgfe wtLsAx9eNLonbi4f/2JFOHNQDdg4C2j3cvgbBBejIIS+7dU+nNiVTdCXjtZz5Pm2A/l6 1jbL840pBhAbLOl/fFF3dDuFa7fcmrvIIH+dyse8St3fvPtsCRTzfyrpPfF3o027p6KI E7jTn2Ep3RKiw4TaiPfOOg+gsMVeHKnufK0ITu+cbT1HZijOqMJ44nCwu0+4iw1N8XYk bdIhMWwhP2GSFKbATIhXwdKBclDtd6TrjFwrYJkjsYrTm3R36uYH2u4RySDYvGRGK1Xx a7DA== X-Forwarded-Encrypted: i=1; AJvYcCXtLNfq51FS3QfbySWKMsjfxNwruMVnZBnircATomZRtptjmgsXe0gI+UYtx4GzmyuSDs9BZih0Tx3i9fs=@vger.kernel.org X-Gm-Message-State: AOJu0YzNS4sPtz8wxLyDLAzO5FxVSFgy8+6lDJaiZvUBpcsKDwaZ1X7A 9FTPj+iXp6kJUKph71xysOuF3KygAXfJDladYFUvr1m+ouvECeRFhLAkpDZy25k6WubhAQ3C3Tb h3tmi0OBbnvKBa2rDNOBHWbctr2QpKeOVG3SW0n8h/rRb06NiWQFXtIKZe1E= X-Google-Smtp-Source: AGHT+IFILvkvnUary9U4STvMWyaq8pDxXxpc1b7Ho/uRnuOVDCozuNwPJTmd5aM9o7r8cVEVNPE8NK1V+5QeHvfOk/YHXJ1BMM5N 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:2686:b0:434:96ea:ff7e with SMTP id e9e14a558f8ab-435b8e74aaemr79111785ab.38.1763914144923; Sun, 23 Nov 2025 08:09:04 -0800 (PST) Date: Sun, 23 Nov 2025 08:09:04 -0800 In-Reply-To: X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <692331a0.a70a0220.d98e3.0068.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 0xffff88810d55d200 (size 240): comm "kworker/u9:2", pid 5892, jiffies 4294947408 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 d5cb7eed): 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+0x87/0x590 net/bluetooth/hci_sync.c:168 __hci_cmd_sync_ev+0x3e/0x50 net/bluetooth/hci_sync.c:257 send_hci_cmd_sync+0x5e/0xf0 net/bluetooth/mgmt.c:2615 hci_cmd_sync_work+0xd5/0x160 net/bluetooth/hci_sync.c:339 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 0xffff88810d41ac00 (size 704): comm "kworker/u9:2", pid 5892, jiffies 4294947408 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+0x87/0x590 net/bluetooth/hci_sync.c:168 __hci_cmd_sync_ev+0x3e/0x50 net/bluetooth/hci_sync.c:257 send_hci_cmd_sync+0x5e/0xf0 net/bluetooth/mgmt.c:2615 hci_cmd_sync_work+0xd5/0x160 net/bluetooth/hci_sync.c:339 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: d13f3ac6 Merge tag 'mips-fixes_6.18_1' of git://git.ke.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1170ce92580000 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=132f4e92580000