RSP: 002b:00007f16987f9f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000177 RCX: 00007f1699a885fa RDX: 0000000020000180 RSI: 0000000020000000 RDI: 00007f16987f9fe0 RBP: 00007f16987fa020 R08: 00007f16987fa020 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000180 R13: 0000000020000000 R14: 00007f16987f9fe0 R15: 0000000020000080 ---[ end trace 44f41c911d2c4920 ]--- list_add corruption. prev is NULL. ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:24! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 7953 Comm: syz-executor.5 Tainted: G W 5.15.80-syzkaller-00318-g72d681a01da5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:__list_add_valid+0xbc/0x100 lib/list_debug.c:23 Code: c0 74 ed 48 c7 c7 a0 9d 87 85 4c 89 fe 4c 89 e2 4c 89 f1 31 c0 e8 9f 9b 5b 02 0f 0b 48 c7 c7 a0 9b 87 85 31 c0 e8 8f 9b 5b 02 <0f> 0b 48 c7 c7 40 9c 87 85 31 c0 e8 7f 9b 5b 02 0f 0b 48 c7 c7 a0 RSP: 0018:ffffc900010f78e0 EFLAGS: 00010046 RAX: 0000000000000022 RBX: 1ffff9200021ef3d RCX: 1713c0df8fec7000 RDX: ffffc90001e7d000 RSI: 000000000002b606 RDI: 000000000002b607 RBP: ffffc900010f7908 R08: ffffffff81584a89 R09: ffffed103ee24e93 R10: ffffed103ee24e93 R11: 1ffff1103ee24e92 R12: ffffc900010f79e8 R13: 1ffff1102c2f3d2c R14: ffffc900010f79e0 R15: ffff88816179e960 FS: 00007f16987fa700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020404030 CR3: 000000010ffe6000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_add include/linux/list.h:67 [inline] list_add_tail include/linux/list.h:100 [inline] __prepare_to_swait+0xad/0x140 kernel/sched/swait.c:89 do_wait_for_common kernel/sched/completion.c:82 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common+0x257/0x430 kernel/sched/completion.c:117 wait_for_completion+0x18/0x20 kernel/sched/completion.c:138 erofs_unregister_sysfs+0x5e/0x70 fs/erofs/sysfs.c:209 erofs_put_super+0x46/0xa0 fs/erofs/super.c:815 generic_shutdown_super+0x157/0x2e0 fs/super.c:466 kill_block_super+0x80/0xe0 fs/super.c:1396 erofs_kill_sb+0x66/0x130 fs/erofs/super.c:796 deactivate_locked_super+0xb0/0x100 fs/super.c:335 get_tree_bdev+0x45d/0x680 fs/super.c:1296 erofs_fc_get_tree+0x1c/0x20 fs/erofs/super.c:708 vfs_get_tree+0x88/0x290 fs/super.c:1499 do_new_mount+0x289/0xad0 fs/namespace.c:2994 path_mount+0x60b/0x1050 fs/namespace.c:3324 do_mount fs/namespace.c:3337 [inline] __do_sys_mount fs/namespace.c:3545 [inline] __se_sys_mount+0x2d2/0x3c0 fs/namespace.c:3522 __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3522 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f1699a885fa Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f16987f9f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000177 RCX: 00007f1699a885fa RDX: 0000000020000180 RSI: 0000000020000000 RDI: 00007f16987f9fe0 RBP: 00007f16987fa020 R08: 00007f16987fa020 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000180 R13: 0000000020000000 R14: 00007f16987f9fe0 R15: 0000000020000080 Modules linked in: ---[ end trace 44f41c911d2c4921 ]--- RIP: 0010:__list_add_valid+0xbc/0x100 lib/list_debug.c:23 Code: c0 74 ed 48 c7 c7 a0 9d 87 85 4c 89 fe 4c 89 e2 4c 89 f1 31 c0 e8 9f 9b 5b 02 0f 0b 48 c7 c7 a0 9b 87 85 31 c0 e8 8f 9b 5b 02 <0f> 0b 48 c7 c7 40 9c 87 85 31 c0 e8 7f 9b 5b 02 0f 0b 48 c7 c7 a0 RSP: 0018:ffffc900010f78e0 EFLAGS: 00010046 RAX: 0000000000000022 RBX: 1ffff9200021ef3d RCX: 1713c0df8fec7000 RDX: ffffc90001e7d000 RSI: 000000000002b606 RDI: 000000000002b607 RBP: ffffc900010f7908 R08: ffffffff81584a89 R09: ffffed103ee24e93 R10: ffffed103ee24e93 R11: 1ffff1103ee24e92 R12: ffffc900010f79e8 R13: 1ffff1102c2f3d2c R14: ffffc900010f79e0 R15: ffff88816179e960 FS: 00007f16987fa700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020404030 CR3: 000000010ffe6000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400