From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f200.google.com (mail-oi1-f200.google.com [209.85.167.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 C6AA6388E43 for ; Sat, 25 Apr 2026 10:11:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777111865; cv=none; b=mIjjQKnCLq888SZ6acTv+HeXvep/mlKC4dJfDK6Gx1H6pc6dvXUqDYOkzhJW9wEcQgen7XYYu513j0hAuZH1PgEeW5NyHZ2FkhwStBCi23Wp87lb1SwLecnIYK8f9XQhG9hGU3kUAlcaxcsDh6lmzllrwSX3eSFBSZHsVP/l36U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777111865; c=relaxed/simple; bh=uIfsLUgJY215Lh1qWcb/3IrE7UnWQ9liEZ8hbbB+oq8=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=Yj8pFrAs698jfgJ0rou/zxW7iDikrAUo86g+xJNUYPp0N1VaPoUQ0YrP35cyWT2WUpj3DoN5/TUUEehn2nC2Y5RuDg4+WtxnMopaLW9oRFzDohb9yHrL/anNxLbHdFl9liDTeZ0grQplDN/Td1YdU3IXwww06i/M3jsFlw1JdiY= 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.167.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-oi1-f200.google.com with SMTP id 5614622812f47-4723af8974fso9073230b6e.3 for ; Sat, 25 Apr 2026 03:11:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777111863; x=1777716663; 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=lmJwfyvbOtD1r1RyJJusCV6fCs7e8z8c29fzrczGNHg=; b=lhXIGFezPcycfU5txXfDwz99+XSqsbaq7tVU9bTzs+gO/g4/jqLwTAfvbvsmwTonrV 0AyGft0XC+hFQ5sGavQNVg73a0rkATh7ROmWDxWjeroVQDXws6odM3GVpuGKljLf3yMk jZAyUKMmuPp1xaw6ilP9B7JlhOZX4p9hWb75YMASH6f8YdIA6qZsr33QsmLLc9MysKQH 4VHd30d86QeDONxRw5r7/CjVLoaQrz92ifWmGpliEmLW99tIkPT66BodbW2NqcWUlFSi x1UBisD+GaSKBFn2xZLOkAAz5sPQDLQL8BygwO6H6V0OSupc9jUdlL/djCG3OlPiiLYY gRuA== X-Gm-Message-State: AOJu0YwDpOxU3u2+vaokK73cb4wQhpOFrTZZnrMHuMsD7p5tp/MSoj2l RBZ2gn12Q+4LsnS/HSYFcmcvNOADIMqGDO8g60J7u5St9lImxL3CZPRZQwBihWsiEwMGU268qkX mFrCFmzhw7XteYpoKvZeTyKOByTo88p9D2k17bYSeOlULhMZlt17KxMFXwXQ= 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:1c95:b0:695:66d5:6a72 with SMTP id 006d021491bc7-69566d5704cmr9002209eaf.50.1777111862890; Sat, 25 Apr 2026 03:11:02 -0700 (PDT) Date: Sat, 25 Apr 2026 03:11:02 -0700 In-Reply-To: <20260425093612.30657-1-souradiptodas6@gmail.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69ec9336.a00a0220.1901e8.000d.GAE@google.com> Subject: Re: [syzbot] [usb?] memory leak in hub_event (4) From: syzbot To: linux-kernel@vger.kernel.org, souradiptodas6@gmail.com, 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 hub_event BUG: memory leak unreferenced object 0xffff88811451c000 (size 2048): comm "kworker/0:2", pid 4940, jiffies 4294947134 hex dump (first 32 bytes): ff ff ff ff 31 00 00 00 00 00 00 00 00 00 00 00 ....1........... 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 ................ backtrace (crc be863add): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4574 [inline] slab_alloc_node mm/slub.c:4898 [inline] __kmalloc_cache_noprof+0x371/0x480 mm/slub.c:5410 kmalloc_noprof include/linux/slab.h:950 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] usb_alloc_dev+0x36/0x4e0 drivers/usb/core/usb.c:651 hub_port_connect drivers/usb/core/hub.c:5471 [inline] hub_port_connect_change drivers/usb/core/hub.c:5711 [inline] port_event drivers/usb/core/hub.c:5875 [inline] hub_event+0x153d/0x2220 drivers/usb/core/hub.c:5957 process_one_work+0x277/0x5b0 kernel/workqueue.c:3302 process_scheduled_works kernel/workqueue.c:3385 [inline] worker_thread+0x255/0x4a0 kernel/workqueue.c:3466 kthread+0x14e/0x1a0 kernel/kthread.c:436 ret_from_fork+0x219/0x490 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 BUG: memory leak unreferenced object 0xffff888128ed5a80 (size 8): comm "kworker/0:2", pid 4940, jiffies 4294947165 hex dump (first 8 bytes): 00 69 f1 28 81 88 ff ff .i.(.... backtrace (crc 35b42ed6): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4574 [inline] slab_alloc_node mm/slub.c:4898 [inline] __do_kmalloc_node mm/slub.c:5294 [inline] __kmalloc_noprof+0x3b7/0x550 mm/slub.c:5307 kmalloc_noprof include/linux/slab.h:954 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] usb_get_configuration+0x11d/0x2110 drivers/usb/core/config.c:945 usb_enumerate_device drivers/usb/core/hub.c:2527 [inline] usb_new_device+0x1b4/0x300 drivers/usb/core/hub.c:2665 hub_port_connect drivers/usb/core/hub.c:5568 [inline] hub_port_connect_change drivers/usb/core/hub.c:5711 [inline] port_event drivers/usb/core/hub.c:5875 [inline] hub_event+0x1790/0x2220 drivers/usb/core/hub.c:5957 process_one_work+0x277/0x5b0 kernel/workqueue.c:3302 process_scheduled_works kernel/workqueue.c:3385 [inline] worker_thread+0x255/0x4a0 kernel/workqueue.c:3466 kthread+0x14e/0x1a0 kernel/kthread.c:436 ret_from_fork+0x219/0x490 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 BUG: memory leak unreferenced object 0xffff88812a6de200 (size 256): comm "kworker/0:2", pid 4940, jiffies 4294947170 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 08 e2 6d 2a 81 88 ff ff ..........m*.... 08 e2 6d 2a 81 88 ff ff b0 7d 41 83 ff ff ff ff ..m*.....}A..... backtrace (crc f539164e): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4574 [inline] slab_alloc_node mm/slub.c:4898 [inline] __kmalloc_cache_noprof+0x371/0x480 mm/slub.c:5410 kmalloc_noprof include/linux/slab.h:950 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] device_private_init drivers/base/core.c:3536 [inline] device_add+0x73c/0xc70 drivers/base/core.c:3587 usb_new_device.cold+0x115/0x626 drivers/usb/core/hub.c:2695 hub_port_connect drivers/usb/core/hub.c:5568 [inline] hub_port_connect_change drivers/usb/core/hub.c:5711 [inline] port_event drivers/usb/core/hub.c:5875 [inline] hub_event+0x1790/0x2220 drivers/usb/core/hub.c:5957 process_one_work+0x277/0x5b0 kernel/workqueue.c:3302 process_scheduled_works kernel/workqueue.c:3385 [inline] worker_thread+0x255/0x4a0 kernel/workqueue.c:3466 kthread+0x14e/0x1a0 kernel/kthread.c:436 ret_from_fork+0x219/0x490 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: 27d128c1 Merge tag 'trace-ring-buffer-v7.1-3' of git:/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1762f1ba580000 kernel config: https://syzkaller.appspot.com/x/.config?x=9645c21cfd1d3e8f dashboard link: https://syzkaller.appspot.com/bug?extid=2afd7e71155c7e241560 compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44 patch: https://syzkaller.appspot.com/x/patch.diff?x=159ef702580000