===================================================== BUG: KMSAN: uninit-value in __list_del_entry_valid+0x194/0x410 lib/list_debug.c:45 CPU: 0 PID: 4911 Comm: syz-executor.4 Not tainted 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:121 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 __list_del_entry_valid+0x194/0x410 lib/list_debug.c:45 __list_del_entry include/linux/list.h:132 [inline] list_del_init include/linux/list.h:204 [inline] __fw_load_abort drivers/base/firmware_loader/fallback.c:97 [inline] kill_pending_fw_fallback_reqs+0x231/0x520 drivers/base/firmware_loader/fallback.c:119 fw_pm_notify+0x96/0x2c0 drivers/base/firmware_loader/main.c:1448 notifier_call_chain kernel/notifier.c:83 [inline] notifier_call_chain_robust kernel/notifier.c:118 [inline] blocking_notifier_call_chain_robust+0x1b0/0x5d0 kernel/notifier.c:302 pm_notifier_call_chain_robust+0x83/0x110 kernel/power/main.c:87 snapshot_open+0x432/0x5f0 kernel/power/user.c:75 misc_open+0x84e/0x940 drivers/char/misc.c:141 chrdev_open+0xc28/0xdc0 fs/char_dev.c:414 do_dentry_open+0x114b/0x1b50 fs/open.c:826 vfs_open+0xaf/0xe0 fs/open.c:940 do_open fs/namei.c:3365 [inline] path_openat+0x5731/0x6be0 fs/namei.c:3498 do_filp_open+0x2b8/0x710 fs/namei.c:3525 do_sys_openat2+0x25f/0x830 fs/open.c:1187 do_sys_open fs/open.c:1203 [inline] __do_compat_sys_openat fs/open.c:1261 [inline] __se_compat_sys_openat+0x2ae/0x310 fs/open.c:1259 __ia32_compat_sys_openat+0x56/0x70 fs/open.c:1259 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x77/0xd0 arch/x86/entry/common.c:168 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:211 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7fef549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f55e95fc EFLAGS: 00000296 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00000000ffffff9c RCX: 00000000200014c0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:120 [inline] kmsan_internal_poison_shadow+0x66/0xd0 mm/kmsan/kmsan.c:103 kmsan_slab_alloc+0x8e/0xe0 mm/kmsan/kmsan_hooks.c:76 slab_alloc_node mm/slub.c:2922 [inline] slab_alloc mm/slub.c:2931 [inline] __kmalloc+0x387/0x550 mm/slub.c:4068 kmalloc include/linux/slab.h:559 [inline] bio_kmalloc+0xfc/0x3a0 block/bio.c:487 __alloc_device fs/btrfs/volumes.c:424 [inline] btrfs_alloc_device+0x1b0/0xba0 fs/btrfs/volumes.c:6739 device_list_add+0x250c/0x3f40 fs/btrfs/volumes.c:857 btrfs_scan_one_device+0x348/0x8a0 fs/btrfs/volumes.c:1368 btrfs_mount_root+0xaed/0x1bb0 fs/btrfs/super.c:1685 legacy_get_tree+0x163/0x2e0 fs/fs_context.c:592 vfs_get_tree+0xd8/0x5e0 fs/super.c:1497 fc_mount fs/namespace.c:993 [inline] vfs_kern_mount+0x2ff/0x430 fs/namespace.c:1023 btrfs_mount+0x8c2/0x1ad0 fs/btrfs/super.c:1783 legacy_get_tree+0x163/0x2e0 fs/fs_context.c:592 vfs_get_tree+0xd8/0x5e0 fs/super.c:1497 do_new_mount fs/namespace.c:2903 [inline] path_mount+0x3d64/0x5c20 fs/namespace.c:3233 do_mount fs/namespace.c:3246 [inline] __do_sys_mount fs/namespace.c:3454 [inline] __se_sys_mount+0x921/0xa10 fs/namespace.c:3431 __ia32_sys_mount+0x62/0x80 fs/namespace.c:3431 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x77/0xd0 arch/x86/entry/common.c:168 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:211 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c =====================================================