bisecting fixing commit since 6e764bcd1cf72a2846c0e53d3975a09b242c04c9 building syzkaller on b599f2fcc734e2183016a340d4f6fc2891d8e41f testing commit 6e764bcd1cf72a2846c0e53d3975a09b242c04c9 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d1906ccb709a282039276bb41361698f97581b0d39ead330d57b75f5b9ee0dc5 all runs: crashed: INFO: task hung in __xfs_buf_submit testing current HEAD 85736168463db124e1c4f382c7c2fca64c3acb80 testing commit 85736168463db124e1c4f382c7c2fca64c3acb80 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f8ee6833fd51a87c99972754300238b7570a6c2cb25f2f460291998eab9c4fec all runs: crashed: INFO: task hung in __xfs_buf_submit revisions tested: 2, total time: 25m38.747679975s (build: 12m48.711169559s, test: 12m14.616699641s) the crash still happens on HEAD commit msg: Merge tag 'char-misc-5.15-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc crash: INFO: task hung in __xfs_buf_submit INFO: task syz-executor.0:9073 blocked for more than 143 seconds. Not tainted 5.15.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27128 pid: 9073 ppid: 7018 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x90d/0x26c0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 schedule_timeout+0x19d/0x250 kernel/time/timer.c:1857 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x176/0x280 kernel/sched/completion.c:138 xfs_buf_iowait+0x8e/0x420 fs/xfs/xfs_buf.c:1573 __xfs_buf_submit+0x35b/0x630 fs/xfs/xfs_buf.c:1638 xfs_buf_submit fs/xfs/xfs_buf.c:58 [inline] xfs_buf_read_uncached+0x1bd/0x320 fs/xfs/xfs_buf.c:885 xfs_readsb+0x2a9/0x550 fs/xfs/xfs_mount.c:178 xfs_fs_fill_super+0x625/0x19b0 fs/xfs/xfs_super.c:1480 get_tree_bdev+0x398/0x680 fs/super.c:1293 vfs_get_tree+0x7f/0x2c0 fs/super.c:1498 do_new_mount fs/namespace.c:2988 [inline] path_mount+0x7e8/0x1a40 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount fs/namespace.c:3516 [inline] __x64_sys_mount+0x1f5/0x260 fs/namespace.c:3516 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007f5498bec188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665e9 RDX: 0000000020000140 RSI: 0000000020000000 RDI: 00000000200000c0 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000008002 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffdd4a8f45f R14: 00007f5498bec300 R15: 0000000000022000 INFO: task syz-executor.0:9107 blocked for more than 143 seconds. Not tainted 5.15.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:29616 pid: 9107 ppid: 7018 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x90d/0x26c0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 blk_mq_freeze_queue_wait+0xee/0x120 block/blk-mq.c:151 nbd_add_socket+0x150/0x7e0 drivers/block/nbd.c:1050 __nbd_ioctl drivers/block/nbd.c:1405 [inline] nbd_ioctl+0x36d/0x8b0 drivers/block/nbd.c:1462 blkdev_ioctl+0x24c/0x620 block/ioctl.c:589 block_ioctl+0xda/0x120 block/fops.c:477 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x11f/0x190 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007f5498bcb188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056c0f0 RCX: 00000000004665e9 RDX: 0000000000000004 RSI: 000000000000ab00 RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0f0 R13: 00007ffdd4a8f45f R14: 00007f5498bcb300 R15: 0000000000022000 INFO: task syz-executor.0:9110 blocked for more than 143 seconds. Not tainted 5.15.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28528 pid: 9110 ppid: 7018 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x90d/0x26c0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 rwsem_down_write_slowpath+0x7b9/0x11d0 kernel/locking/rwsem.c:1107 __down_write_common kernel/locking/rwsem.c:1262 [inline] __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write kernel/locking/rwsem.c:1271 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1518 grab_super+0x50/0x1c0 fs/super.c:389 sget_fc+0x1e3/0x700 fs/super.c:562 get_tree_bdev+0x17d/0x680 fs/super.c:1263 vfs_get_tree+0x7f/0x2c0 fs/super.c:1498 do_new_mount fs/namespace.c:2988 [inline] path_mount+0x7e8/0x1a40 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount fs/namespace.c:3516 [inline] __x64_sys_mount+0x1f5/0x260 fs/namespace.c:3516 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007f5498baa188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c1a8 RCX: 00000000004665e9 RDX: 0000000020000140 RSI: 0000000020000000 RDI: 00000000200000c0 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000008002 R11: 0000000000000246 R12: 000000000056c1a8 R13: 00007ffdd4a8f45f R14: 00007f5498baa300 R15: 0000000000022000 INFO: task syz-executor.2:9105 blocked for more than 144 seconds. Not tainted 5.15.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27608 pid: 9105 ppid: 7022 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x90d/0x26c0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 schedule_timeout+0x19d/0x250 kernel/time/timer.c:1857 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x176/0x280 kernel/sched/completion.c:138 xfs_buf_iowait+0x8e/0x420 fs/xfs/xfs_buf.c:1573 __xfs_buf_submit+0x35b/0x630 fs/xfs/xfs_buf.c:1638 xfs_buf_submit fs/xfs/xfs_buf.c:58 [inline] xfs_buf_read_uncached+0x1bd/0x320 fs/xfs/xfs_buf.c:885 xfs_readsb+0x2a9/0x550 fs/xfs/xfs_mount.c:178 xfs_fs_fill_super+0x625/0x19b0 fs/xfs/xfs_super.c:1480 get_tree_bdev+0x398/0x680 fs/super.c:1293 vfs_get_tree+0x7f/0x2c0 fs/super.c:1498 do_new_mount fs/namespace.c:2988 [inline] path_mount+0x7e8/0x1a40 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount fs/namespace.c:3516 [inline] __x64_sys_mount+0x1f5/0x260 fs/namespace.c:3516 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007f9488eb7188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000020000140 RSI: 0000000020000000 RDI: 00000000200000c0 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000008002 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffe0f5b7a2f R14: 00007f9488eb7300 R15: 0000000000022000 INFO: task syz-executor.2:9221 blocked for more than 144 seconds. Not tainted 5.15.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:29184 pid: 9221 ppid: 7022 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x90d/0x26c0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 blk_mq_freeze_queue_wait+0xee/0x120 block/blk-mq.c:151 nbd_add_socket+0x150/0x7e0 drivers/block/nbd.c:1050 __nbd_ioctl drivers/block/nbd.c:1405 [inline] nbd_ioctl+0x36d/0x8b0 drivers/block/nbd.c:1462 blkdev_ioctl+0x24c/0x620 block/ioctl.c:589 block_ioctl+0xda/0x120 block/fops.c:477 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x11f/0x190 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007f9488e75188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056c0f0 RCX: 00000000004665e9 RDX: 0000000000000004 RSI: 000000000000ab00 RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0f0 R13: 00007ffe0f5b7a2f R14: 00007f9488e75300 R15: 0000000000022000 INFO: task syz-executor.2:9222 blocked for more than 144 seconds. Not tainted 5.15.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28904 pid: 9222 ppid: 7022 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x90d/0x26c0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 rwsem_down_write_slowpath+0x7b9/0x11d0 kernel/locking/rwsem.c:1107 __down_write_common kernel/locking/rwsem.c:1262 [inline] __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write kernel/locking/rwsem.c:1271 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1518 grab_super+0x50/0x1c0 fs/super.c:389 sget_fc+0x1e3/0x700 fs/super.c:562 get_tree_bdev+0x17d/0x680 fs/super.c:1263 vfs_get_tree+0x7f/0x2c0 fs/super.c:1498 do_new_mount fs/namespace.c:2988 [inline] path_mount+0x7e8/0x1a40 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount fs/namespace.c:3516 [inline] __x64_sys_mount+0x1f5/0x260 fs/namespace.c:3516 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007f9488e54188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c1a8 RCX: 00000000004665e9 RDX: 0000000020000140 RSI: 0000000020000000 RDI: 00000000200000c0 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000008002 R11: 0000000000000246 R12: 000000000056c1a8 R13: 00007ffe0f5b7a2f R14: 00007f9488e54300 R15: 0000000000022000 INFO: task syz-executor.1:9115 blocked for more than 144 seconds. Not tainted 5.15.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27128 pid: 9115 ppid: 7024 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x90d/0x26c0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 schedule_timeout+0x19d/0x250 kernel/time/timer.c:1857 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x176/0x280 kernel/sched/completion.c:138 xfs_buf_iowait+0x8e/0x420 fs/xfs/xfs_buf.c:1573 __xfs_buf_submit+0x35b/0x630 fs/xfs/xfs_buf.c:1638 xfs_buf_submit fs/xfs/xfs_buf.c:58 [inline] xfs_buf_read_uncached+0x1bd/0x320 fs/xfs/xfs_buf.c:885 xfs_readsb+0x2a9/0x550 fs/xfs/xfs_mount.c:178 xfs_fs_fill_super+0x625/0x19b0 fs/xfs/xfs_super.c:1480 get_tree_bdev+0x398/0x680 fs/super.c:1293 vfs_get_tree+0x7f/0x2c0 fs/super.c:1498 do_new_mount fs/namespace.c:2988 [inline] path_mount+0x7e8/0x1a40 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount fs/namespace.c:3516 [inline] __x64_sys_mount+0x1f5/0x260 fs/namespace.c:3516 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007f40b5f90188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000020000140 RSI: 0000000020000000 RDI: 00000000200000c0 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000008002 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffece53f16f R14: 00007f40b5f90300 R15: 0000000000022000 INFO: task syz-executor.1:9224 blocked for more than 145 seconds. Not tainted 5.15.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:29616 pid: 9224 ppid: 7024 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x90d/0x26c0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 blk_mq_freeze_queue_wait+0xee/0x120 block/blk-mq.c:151 nbd_add_socket+0x150/0x7e0 drivers/block/nbd.c:1050 __nbd_ioctl drivers/block/nbd.c:1405 [inline] nbd_ioctl+0x36d/0x8b0 drivers/block/nbd.c:1462 blkdev_ioctl+0x24c/0x620 block/ioctl.c:589 block_ioctl+0xda/0x120 block/fops.c:477 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x11f/0x190 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007f40b5f4e188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056c0f0 RCX: 00000000004665e9 RDX: 0000000000000004 RSI: 000000000000ab00 RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0f0 R13: 00007ffece53f16f R14: 00007f40b5f4e300 R15: 0000000000022000 INFO: task syz-executor.1:9225 blocked for more than 145 seconds. Not tainted 5.15.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28904 pid: 9225 ppid: 7024 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x90d/0x26c0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 rwsem_down_write_slowpath+0x7b9/0x11d0 kernel/locking/rwsem.c:1107 __down_write_common kernel/locking/rwsem.c:1262 [inline] __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write kernel/locking/rwsem.c:1271 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1518 grab_super+0x50/0x1c0 fs/super.c:389 sget_fc+0x1e3/0x700 fs/super.c:562 get_tree_bdev+0x17d/0x680 fs/super.c:1263 vfs_get_tree+0x7f/0x2c0 fs/super.c:1498 do_new_mount fs/namespace.c:2988 [inline] path_mount+0x7e8/0x1a40 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount fs/namespace.c:3516 [inline] __x64_sys_mount+0x1f5/0x260 fs/namespace.c:3516 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007f40b5f2d188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c1a8 RCX: 00000000004665e9 RDX: 0000000020000140 RSI: 0000000020000000 RDI: 00000000200000c0 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000008002 R11: 0000000000000246 R12: 000000000056c1a8 R13: 00007ffece53f16f R14: 00007f40b5f2d300 R15: 0000000000022000 INFO: task syz-executor.3:9153 blocked for more than 145 seconds. Not tainted 5.15.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:27608 pid: 9153 ppid: 7023 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x90d/0x26c0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 schedule_timeout+0x19d/0x250 kernel/time/timer.c:1857 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x176/0x280 kernel/sched/completion.c:138 xfs_buf_iowait+0x8e/0x420 fs/xfs/xfs_buf.c:1573 __xfs_buf_submit+0x35b/0x630 fs/xfs/xfs_buf.c:1638 xfs_buf_submit fs/xfs/xfs_buf.c:58 [inline] xfs_buf_read_uncached+0x1bd/0x320 fs/xfs/xfs_buf.c:885 xfs_readsb+0x2a9/0x550 fs/xfs/xfs_mount.c:178 xfs_fs_fill_super+0x625/0x19b0 fs/xfs/xfs_super.c:1480 get_tree_bdev+0x398/0x680 fs/super.c:1293 vfs_get_tree+0x7f/0x2c0 fs/super.c:1498 do_new_mount fs/namespace.c:2988 [inline] path_mount+0x7e8/0x1a40 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount fs/namespace.c:3516 [inline] __x64_sys_mount+0x1f5/0x260 fs/namespace.c:3516 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007f944f5e3188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000020000140 RSI: 0000000020000000 RDI: 00000000200000c0 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000008002 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffc64dd673f R14: 00007f944f5e3300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8ab76840 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 6 locks held by kworker/1:1H/155: 3 locks held by kworker/u4:3/752: 1 lock held by in:imklog/6232: #0: ffff888023d90ff0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x9c/0xb0 fs/file.c:990 1 lock held by syz-executor.0/9073: #0: ffff888076abc0e0 (&type->s_umount_key#51/1){+.+.}-{3:3}, at: alloc_super+0x192/0xa00 fs/super.c:229 1 lock held by syz-executor.0/9107: #0: ffff888146569208 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x120/0x8b0 drivers/block/nbd.c:1455 2 locks held by syz-executor.0/9110: #0: ffff888145829208 (&bdev->bd_fsfreeze_mutex){+.+.}-{3:3}, at: get_tree_bdev+0xdd/0x680 fs/super.c:1253 #1: ffff888076abc0e0 (&type->s_umount_key#52){+.+.}-{3:3}, at: grab_super+0x50/0x1c0 fs/super.c:389 1 lock held by syz-executor.2/9105: #0: ffff88807a4f40e0 (&type->s_umount_key#51/1){+.+.}-{3:3}, at: alloc_super+0x192/0xa00 fs/super.c:229 1 lock held by syz-executor.2/9221: #0: ffff88801ac36208 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x120/0x8b0 drivers/block/nbd.c:1455 2 locks held by syz-executor.2/9222: #0: ffff888145829dc8 (&bdev->bd_fsfreeze_mutex){+.+.}-{3:3}, at: get_tree_bdev+0xdd/0x680 fs/super.c:1253 #1: ffff88807a4f40e0 (&type->s_umount_key#52){+.+.}-{3:3}, at: grab_super+0x50/0x1c0 fs/super.c:389 1 lock held by syz-executor.1/9115: #0: ffff888013fd00e0 (&type->s_umount_key#51/1){+.+.}-{3:3}, at: alloc_super+0x192/0xa00 fs/super.c:229 1 lock held by syz-executor.1/9224: #0: ffff88801a791a08 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x120/0x8b0 drivers/block/nbd.c:1455 2 locks held by syz-executor.1/9225: #0: ffff8881404d8648 (&bdev->bd_fsfreeze_mutex){+.+.}-{3:3}, at: get_tree_bdev+0xdd/0x680 fs/super.c:1253 #1: ffff888013fd00e0 (&type->s_umount_key#52){+.+.}-{3:3}, at: grab_super+0x50/0x1c0 fs/super.c:389 1 lock held by syz-executor.3/9153: #0: ffff88801cb340e0 (&type->s_umount_key#51/1){+.+.}-{3:3}, at: alloc_super+0x192/0xa00 fs/super.c:229 1 lock held by syz-executor.3/9226: #0: ffff888146569a08 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x120/0x8b0 drivers/block/nbd.c:1455 2 locks held by syz-executor.3/9227: #0: ffff8881404d9208 (&bdev->bd_fsfreeze_mutex){+.+.}-{3:3}, at: get_tree_bdev+0xdd/0x680 fs/super.c:1253 #1: ffff88801cb340e0 (&type->s_umount_key#52){+.+.}-{3:3}, at: grab_super+0x50/0x1c0 fs/super.c:389 1 lock held by syz-executor.5/9178: #0: ffff88805de6a0e0 (&type->s_umount_key#51/1){+.+.}-{3:3}, at: alloc_super+0x192/0xa00 fs/super.c:229 1 lock held by syz-executor.5/9229: #0: ffff88801acb6208 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x120/0x8b0 drivers/block/nbd.c:1455 2 locks held by syz-executor.5/9230: #0: ffff8881404d9dc8 (&bdev->bd_fsfreeze_mutex){+.+.}-{3:3}, at: get_tree_bdev+0xdd/0x680 fs/super.c:1253 #1: ffff88805de6a0e0 (&type->s_umount_key#52){+.+.}-{3:3}, at: grab_super+0x50/0x1c0 fs/super.c:389 1 lock held by syz-executor.4/9203: #0: ffff88801d5c00e0 (&type->s_umount_key#51/1){+.+.}-{3:3}, at: alloc_super+0x192/0xa00 fs/super.c:229 2 locks held by syz-executor.4/9233: #0: ffff88814582a988 (&bdev->bd_fsfreeze_mutex){+.+.}-{3:3}, at: get_tree_bdev+0xdd/0x680 fs/super.c:1253 #1: ffff88801d5c00e0 (&type->s_umount_key#52){+.+.}-{3:3}, at: grab_super+0x50/0x1c0 fs/super.c:389 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.15.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x57/0x7d lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x30/0xc0 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x11a/0x160 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0x88c/0xbf0 kernel/hung_task.c:295 kthread+0x38b/0x460 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2957 Comm: systemd-journal Not tainted 5.15.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:validate_chain kernel/locking/lockdep.c:3796 [inline] RIP: 0010:__lock_acquire+0xcea/0x5410 kernel/locking/lockdep.c:5015 Code: 20 25 00 80 04 00 3d 00 00 04 00 0f 84 b5 08 00 00 48 c7 c2 8c fe 7d 8c 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 14 02 <48> c7 c0 8c fe 7d 8c 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 26 RSP: 0018:ffffc900027ef8d0 EFLAGS: 00000807 RAX: dffffc0000000000 RBX: ffffffff8e12d120 RCX: ffffffff8152d04d RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e12d138 RBP: 000000000000ca82 R08: 0000000000000000 R09: ffffffff8ede392f R10: fffffbfff1dbc725 R11: ffffed100f9a3049 R12: ffff88807b1042a0 R13: ffff88807b103880 R14: 0000000000000000 R15: a39aec9f47b9cc93 FS: 00007f22c37118c0(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f22c0b5b000 CR3: 000000007a5a4000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5625 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5590 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:363 [inline] lockref_get_not_dead+0xb/0x60 lib/lockref.c:211 __legitimize_path+0x69/0x160 fs/namei.c:698 legitimize_path fs/namei.c:708 [inline] try_to_unlazy+0xd5/0x2b0 fs/namei.c:777 may_lookup fs/namei.c:1684 [inline] link_path_walk.part.0+0x5b8/0x9d0 fs/namei.c:2239 link_path_walk fs/namei.c:2220 [inline] path_lookupat+0x74/0x6b0 fs/namei.c:2448 filename_lookup+0x192/0x510 fs/namei.c:2478 user_path_at_empty+0x35/0x50 fs/namei.c:2801 user_path_at include/linux/namei.h:57 [inline] do_faccessat+0xc0/0x660 fs/open.c:421 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f22c29cc9c7 Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffc88276398 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007ffc882792b0 RCX: 00007f22c29cc9c7 RDX: 00007f22c343da00 RSI: 0000000000000000 RDI: 0000564907c669a3 RBP: 00007ffc882763d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc882792b0 R15: 00007ffc882768c0 ---------------- Code disassembly (best guess): 0: 20 25 00 80 04 00 and %ah,0x48000(%rip) # 0x48006 6: 3d 00 00 04 00 cmp $0x40000,%eax b: 0f 84 b5 08 00 00 je 0x8c6 11: 48 c7 c2 8c fe 7d 8c mov $0xffffffff8c7dfe8c,%rdx 18: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1f: fc ff df 22: 48 c1 ea 03 shr $0x3,%rdx 26: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx * 2a: 48 c7 c0 8c fe 7d 8c mov $0xffffffff8c7dfe8c,%rax <-- trapping instruction 31: 83 e0 07 and $0x7,%eax 34: 83 c0 03 add $0x3,%eax 37: 38 d0 cmp %dl,%al 39: 7c 08 jl 0x43 3b: 84 d2 test %dl,%dl 3d: 0f .byte 0xf 3e: 85 26 test %esp,(%rsi)