From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f80.google.com (mail-ot1-f80.google.com [209.85.210.80]) (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 13AF717B425 for ; Fri, 31 Jul 2026 00:11:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.80 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785456685; cv=none; b=rdOJrYva4kcTq8iJ9A4H6vD/RgmHAOTx2Ofv0utmKrlYzKUnOSbq3/28RX7eBPykjihr2LjsAHoX/n+Ql5B2IRiZuIldKaPqAvWDFEN3feO7WVJWKf4wYwztJfQ8xCrX+YqpE38Pf6HUOLy4GmdnRNZdT3tgQIrRK4nabb6L+u4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785456685; c=relaxed/simple; bh=awVONjlblYBJul9wlmAT9RPB6Gxo+QryATNxZ/IOUoI=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=ZSFn5kAZnCpUPbHuotAqsf/IvqUQPgL/0FllfzpYV76pW0lQfwdINbMlQT2G35MFXRiuIlld/GNhGWJbyODvcaKdDhsKoGnNe9YMIfjNfW7U+JdF9vnQ+BI8hNXddVof4Urek6IuLQP9/KvKkRW23BkySbjGdiYXYZPMwxCeBn0= 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.80 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-f80.google.com with SMTP id 46e09a7af769-7e9f686e18cso630439a34.0 for ; Thu, 30 Jul 2026 17:11:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785456683; x=1786061483; h=content-type:to:from:subject:message-id:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=mDYD4WQI9KGkxRP2qwpbfEVXuWbPQXqZtU9n9JGGN5A=; b=s7RmMQFB43p9nE7+/0UxKXulEP94eM+ep6ML5i4IOtfrOfx9EHZfYXFDFWREhJ/oCh SiHEpPbjjtInETntdhMdHE4MhJiH0mCDpcvSUweRwQTEvhjyjutXYFYucJTgCMFvhnhp B3NMjkRqPUX3XQ0Icch5Fcw6JDb4gKrwICDzMc69+PpS/k5tZaNTtfoKIhrhifxO6+ym 1tmiT1KyMZuhXqDi6O7vmcJHgbBN4LN4KnCg/sDQUHAmJlKXixrghJDFRsFc2Nx8QUe6 gv18dtLVujbMeoC0jYHhi90ZHrAfax4x3snPnoZn8lR9ZT8MxSklo6K0/pUAVfUM4YFC ahsA== X-Forwarded-Encrypted: i=1; AHgh+RqZZSlTS78RnmcaJ09LJB08s423vY5j7lIbmRD8jidLtPoRWR7m8aftdvtw/2wL2Ko6cQ/xkep3ApuKi2Q=@vger.kernel.org X-Gm-Message-State: AOJu0YzMTYVAsvKHBFrTsFdo5QDjA5LU/HOdcLxHii5W269SpyPZy+95 Atpe6Vs2x9LdfpXY7ZHEI4XAoVObr2oNfS9fZwIzGL4H73Az4uOTL5YwseBuIYcMpj0NsjJMdb/ 0SLoN6LJOj5q+1EnF/axcikcSFp5l7fSBInTFycc2k6c01CKpQg/JG28aL+A= 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:6808:168a:b0:489:6bef:326a with SMTP id 5614622812f47-4ad879cbc10mr3620445b6e.38.1785456683008; Thu, 30 Jul 2026 17:11:23 -0700 (PDT) Date: Thu, 30 Jul 2026 17:11:22 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6a6be82a.77639fcc.3d4fd0.0012.GAE@google.com> Subject: [syzbot] [usb?] memory leak in f_uac2_opts_c_srate_store From: syzbot To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: 3dab139d4795 Merge tag 'rust-fixes-7.2-2' of git://git.ker.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16e611b9580000 kernel config: https://syzkaller.appspot.com/x/.config?x=ba7c2d1679fb08a2 dashboard link: https://syzkaller.appspot.com/bug?extid=ebd045a6645cfb713c95 compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=166ba499580000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=11e611b9580000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/8c49d395f8d0/disk-3dab139d.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/deff2ace5e6a/vmlinux-3dab139d.xz kernel image: https://storage.googleapis.com/syzbot-assets/2c90a783f940/bzImage-3dab139d.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+ebd045a6645cfb713c95@syzkaller.appspotmail.com 2026/07/26 16:23:20 executed programs: 5 BUG: memory leak unreferenced object 0xffff888112a01e00 (size 64): comm "syz.0.17", pid 5945, jiffies 4294942115 hex dump (first 32 bytes): 34 34 31 30 30 00 34 38 30 30 30 00 38 38 32 30 44100.48000.8820 30 00 39 36 30 30 30 00 31 37 36 34 30 30 00 31 0.96000.176400.1 backtrace (crc 9bbd8bc9): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4597 [inline] slab_alloc_node mm/slub.c:4917 [inline] __do_kmalloc_node mm/slub.c:5333 [inline] __kmalloc_node_track_caller_noprof+0x3d3/0x570 mm/slub.c:5471 __kmemdup_nul mm/util.c:64 [inline] kstrdup+0x3c/0x80 mm/util.c:84 f_uac2_opts_c_srate_store+0xbb/0x170 drivers/usb/gadget/function/f_uac2.c:2091 flush_write_buffer fs/configfs/file.c:207 [inline] configfs_write_iter+0x10d/0x1a0 fs/configfs/file.c:229 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x3ac/0x720 fs/read_write.c:687 ksys_write+0xa5/0x170 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf8/0x610 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f BUG: memory leak unreferenced object 0xffff8881128d2d80 (size 64): comm "syz.0.18", pid 5946, jiffies 4294942116 hex dump (first 32 bytes): 34 34 31 30 30 00 34 38 30 30 30 00 38 38 32 30 44100.48000.8820 30 00 39 36 30 30 30 00 31 37 36 34 30 30 00 31 0.96000.176400.1 backtrace (crc 9bbd8bc9): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4597 [inline] slab_alloc_node mm/slub.c:4917 [inline] __do_kmalloc_node mm/slub.c:5333 [inline] __kmalloc_node_track_caller_noprof+0x3d3/0x570 mm/slub.c:5471 __kmemdup_nul mm/util.c:64 [inline] kstrdup+0x3c/0x80 mm/util.c:84 f_uac2_opts_c_srate_store+0xbb/0x170 drivers/usb/gadget/function/f_uac2.c:2091 flush_write_buffer fs/configfs/file.c:207 [inline] configfs_write_iter+0x10d/0x1a0 fs/configfs/file.c:229 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x3ac/0x720 fs/read_write.c:687 ksys_write+0xa5/0x170 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf8/0x610 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f BUG: memory leak unreferenced object 0xffff88811193ee80 (size 64): comm "syz.0.21", pid 5964, jiffies 4294942644 hex dump (first 32 bytes): 34 34 31 30 30 00 34 38 30 30 30 00 38 38 32 30 44100.48000.8820 30 00 39 36 30 30 30 00 31 37 36 34 30 30 00 31 0.96000.176400.1 backtrace (crc 9bbd8bc9): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4597 [inline] slab_alloc_node mm/slub.c:4917 [inline] __do_kmalloc_node mm/slub.c:5333 [inline] __kmalloc_node_track_caller_noprof+0x3d3/0x570 mm/slub.c:5471 __kmemdup_nul mm/util.c:64 [inline] kstrdup+0x3c/0x80 mm/util.c:84 f_uac2_opts_c_srate_store+0xbb/0x170 drivers/usb/gadget/function/f_uac2.c:2091 flush_write_buffer fs/configfs/file.c:207 [inline] configfs_write_iter+0x10d/0x1a0 fs/configfs/file.c:229 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x3ac/0x720 fs/read_write.c:687 ksys_write+0xa5/0x170 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf8/0x610 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f connection error: failed to recv *flatrpc.ExecutorMessageRawT: EOF --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing. If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup