From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f77.google.com (mail-oo1-f77.google.com [209.85.161.77]) (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 B5920181334 for ; Sat, 24 Jan 2026 04:11:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.77 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769227895; cv=none; b=C8ERItJWtF4g3Ca2BTmgPA6ge+4/8FzR8cYDiKR9gfklCO5VGNQgM0OE1UkX0t5+V+8tk1wtXpy7ZL5xLxLPzo1Xj46R4Z+7R3e9VlUdd05VRQ8R4NMZmLIwBJ2X5lVPNUN9X7dIAvCZq3xi4ld8Ui7ybkpR3fl7Y4GwbGPPIeU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769227895; c=relaxed/simple; bh=AogT48jOEJimrMGNVhJmVsrfrH8qGpLSAuWUxnvbXJw=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=pG6rAEV5KPb4fqhTc6KGJEEVPCmlyrH9NjOfk/BWaBgrrBBGZTZ2QuENHkELT+0oL9FMv6A1LI284xzBrgfp+Qy45MbLaDcDQ+43QwCNrIK2lVxc7Nf9p0yDXiaYanUdNwa37TI6ZCc9Fugv/91Rih47/ldRTZR0GY/EJp3gw4A= 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.161.77 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-oo1-f77.google.com with SMTP id 006d021491bc7-662c684f8f3so4179091eaf.3 for ; Fri, 23 Jan 2026 20:11:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769227892; x=1769832692; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=nsT63nLQm2Jr6krI7kAWzNYUHErBII77jzazaIWNoJM=; b=u7YVjKyWZ/cCC4xgVHuTPDgyRZzogwGPwb3huwBNClxRN20dXiXEy6hnQod4PvVuTO 3r0xxTTof95eWYNAcW4jjpBemCm/whjmDt75Z1ARGy2DnW35PELtDhn88LKz3gPuNEXZ HQKzvUi7D6EnIxIhk5nvYdX4FhVvAnpiB30AvKa9gGk9W9f/InewUlqlPn0S9mNTqIpf 86dt1gMRIOue0NxFstcfMccur3u2wLG/+wXuEOWRcTzDqMfBbl19QuVzVDjp0BG0MYHp cZGs0vzqzoYP7zEgnBt/PjmVgpxc5x64+gvFTAKMFCV+VGdV9WRt4ErfkVOInKtT4vwV M7Xg== X-Forwarded-Encrypted: i=1; AJvYcCVut5PlUerWlkTlq/iQC94Nmp7NyVxHsVX2MihWKEwWTh19C6WhUPUOZViQ+wlpH2O8UMIOw2+R8NmD82w=@vger.kernel.org X-Gm-Message-State: AOJu0YyrmouXTWYCyFOOnhyxzXX6HMngXDyTSAihn+eE6vGZ9wLes3GB l1P/fS95D2WmCo/PsJv9BVNu8MP0hgHov3c0F/oOUVCs/a9D4o5pwE1bj+Ta4iFpkWg2mdVJuEg pp05jWBHlf0Nmi1E8//+Lk8h9WHuqnsWueYHn7ugUGbINCQOsJbR82CZmy2w= 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:2911:b0:65f:19:9621 with SMTP id 006d021491bc7-662cab02016mr2478641eaf.25.1769227892734; Fri, 23 Jan 2026 20:11:32 -0800 (PST) Date: Fri, 23 Jan 2026 20:11:32 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69744674.a00a0220.33ccc7.0000.GAE@google.com> Subject: [syzbot] [lsm?] [input?] [usb?] memory leak in prepare_creds (6) From: syzbot To: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, linux-usb@vger.kernel.org, paul@paul-moore.com, sergeh@kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: 6c790212c588 Merge tag 'devicetree-fixes-for-6.19-3' of gi.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16019d22580000 kernel config: https://syzkaller.appspot.com/x/.config?x=9d7d0fbecb37bff8 dashboard link: https://syzkaller.appspot.com/bug?extid=dd3b43aa0204089217ee 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=117a579a580000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=118ef852580000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/1ceba1c1c7bd/disk-6c790212.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/d83b71fd8384/vmlinux-6c790212.xz kernel image: https://storage.googleapis.com/syzbot-assets/07ef6040f444/bzImage-6c790212.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+dd3b43aa0204089217ee@syzkaller.appspotmail.com BUG: memory leak unreferenced object 0xffff888108b89480 (size 184): comm "syz-executor", pid 5994, jiffies 4294943386 hex dump (first 32 bytes): 01 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 369454a7): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4958 [inline] slab_alloc_node mm/slub.c:5263 [inline] kmem_cache_alloc_noprof+0x412/0x580 mm/slub.c:5270 prepare_creds+0x22/0x600 kernel/cred.c:185 copy_creds+0x44/0x290 kernel/cred.c:286 copy_process+0x7a7/0x2870 kernel/fork.c:2086 kernel_clone+0xac/0x6e0 kernel/fork.c:2651 __do_sys_clone+0x7f/0xb0 kernel/fork.c:2792 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xa4/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f BUG: memory leak unreferenced object 0xffff8881032ee1a0 (size 32): comm "syz-executor", pid 5994, jiffies 4294943386 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ f8 52 86 00 81 88 ff ff 00 00 00 00 00 00 00 00 .R.............. backtrace (crc 336e1c5f): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4958 [inline] slab_alloc_node mm/slub.c:5263 [inline] __do_kmalloc_node mm/slub.c:5656 [inline] __kmalloc_noprof+0x465/0x680 mm/slub.c:5669 kmalloc_noprof include/linux/slab.h:961 [inline] kzalloc_noprof include/linux/slab.h:1094 [inline] lsm_blob_alloc+0x4d/0x80 security/security.c:192 lsm_cred_alloc security/security.c:209 [inline] security_prepare_creds+0x2d/0x290 security/security.c:2763 prepare_creds+0x395/0x600 kernel/cred.c:215 copy_creds+0x44/0x290 kernel/cred.c:286 copy_process+0x7a7/0x2870 kernel/fork.c:2086 kernel_clone+0xac/0x6e0 kernel/fork.c:2651 __do_sys_clone+0x7f/0xb0 kernel/fork.c:2792 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xa4/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f BUG: memory leak unreferenced object 0xffff888108b89540 (size 184): comm "syz-executor", pid 5994, jiffies 4294943447 hex dump (first 32 bytes): 01 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 17b2a574): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4958 [inline] slab_alloc_node mm/slub.c:5263 [inline] kmem_cache_alloc_noprof+0x412/0x580 mm/slub.c:5270 prepare_creds+0x22/0x600 kernel/cred.c:185 copy_creds+0x44/0x290 kernel/cred.c:286 copy_process+0x7a7/0x2870 kernel/fork.c:2086 kernel_clone+0xac/0x6e0 kernel/fork.c:2651 __do_sys_clone+0x7f/0xb0 kernel/fork.c:2792 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xa4/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f BUG: memory leak unreferenced object 0xffff8881032eee80 (size 32): comm "syz-executor", pid 5994, jiffies 4294943447 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ f8 52 86 00 81 88 ff ff 00 00 00 00 00 00 00 00 .R.............. backtrace (crc 336e1c5f): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4958 [inline] slab_alloc_node mm/slub.c:5263 [inline] __do_kmalloc_node mm/slub.c:5656 [inline] __kmalloc_noprof+0x465/0x680 mm/slub.c:5669 kmalloc_noprof include/linux/slab.h:961 [inline] kzalloc_noprof include/linux/slab.h:1094 [inline] lsm_blob_alloc+0x4d/0x80 security/security.c:192 lsm_cred_alloc security/security.c:209 [inline] security_prepare_creds+0x2d/0x290 security/security.c:2763 prepare_creds+0x395/0x600 kernel/cred.c:215 copy_creds+0x44/0x290 kernel/cred.c:286 copy_process+0x7a7/0x2870 kernel/fork.c:2086 kernel_clone+0xac/0x6e0 kernel/fork.c:2651 __do_sys_clone+0x7f/0xb0 kernel/fork.c:2792 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xa4/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f BUG: memory leak unreferenced object 0xffff888109bf16c0 (size 184): comm "syz-executor", pid 5994, jiffies 4294943507 hex dump (first 32 bytes): 01 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 a1f2f9ed): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4958 [inline] slab_alloc_node mm/slub.c:5263 [inline] kmem_cache_alloc_noprof+0x412/0x580 mm/slub.c:5270 prepare_creds+0x22/0x600 kernel/cred.c:185 copy_creds+0x44/0x290 kernel/cred.c:286 copy_process+0x7a7/0x2870 kernel/fork.c:2086 kernel_clone+0xac/0x6e0 kernel/fork.c:2651 __do_sys_clone+0x7f/0xb0 kernel/fork.c:2792 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xa4/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f BUG: memory leak unreferenced object 0xffff888109151e00 (size 32): comm "syz-executor", pid 5994, jiffies 4294943507 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ f8 52 86 00 81 88 ff ff 00 00 00 00 00 00 00 00 .R.............. backtrace (crc 336e1c5f): kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline] slab_post_alloc_hook mm/slub.c:4958 [inline] slab_alloc_node mm/slub.c:5263 [inline] __do_kmalloc_node mm/slub.c:5656 [inline] __kmalloc_noprof+0x465/0x680 mm/slub.c:5669 kmalloc_noprof include/linux/slab.h:961 [inline] kzalloc_noprof include/linux/slab.h:1094 [inline] lsm_blob_alloc+0x4d/0x80 security/security.c:192 lsm_cred_alloc security/security.c:209 [inline] security_prepare_creds+0x2d/0x290 security/security.c:2763 prepare_creds+0x395/0x600 kernel/cred.c:215 copy_creds+0x44/0x290 kernel/cred.c:286 copy_process+0x7a7/0x2870 kernel/fork.c:2086 kernel_clone+0xac/0x6e0 kernel/fork.c:2651 __do_sys_clone+0x7f/0xb0 kernel/fork.c:2792 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xa4/0xf80 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