bisecting fixing commit since 2034d6f0838e465dd8f120c4e946d8444b4bb5df building syzkaller on 6a81331a1d4c744da9204d02ec88d558f7eea9c9 testing commit 2034d6f0838e465dd8f120c4e946d8444b4bb5df with gcc (GCC) 8.4.1 20210217 kernel signature: ecaf48f6e872d8f17a1626f0569d03e7a74ac17073bd242b76ea2dcc42fc1c3a run #0: crashed: INFO: task hung in __blkdev_get run #1: crashed: INFO: task hung in __blkdev_get run #2: crashed: INFO: task hung in __get_super run #3: crashed: INFO: task hung in __blkdev_get run #4: crashed: INFO: task hung in __blkdev_get run #5: crashed: INFO: task hung in __blkdev_get run #6: crashed: INFO: task hung in __blkdev_get run #7: crashed: INFO: task hung in __blkdev_get run #8: crashed: INFO: task hung in __blkdev_get run #9: crashed: INFO: task hung in blkdev_reread_part run #10: crashed: INFO: task hung in __get_super run #11: crashed: INFO: task hung in __blkdev_get run #12: crashed: INFO: task hung in __blkdev_get run #13: crashed: INFO: task hung in __get_super run #14: crashed: INFO: task hung in __get_super run #15: crashed: INFO: task hung in __blkdev_get run #16: crashed: INFO: task hung in __blkdev_get run #17: crashed: INFO: task hung in __blkdev_get run #18: crashed: INFO: task hung in __blkdev_get run #19: crashed: INFO: task hung in __get_super testing current HEAD fcfbdfe9626edd5bf00c732e093eed249ecdbfa1 testing commit fcfbdfe9626edd5bf00c732e093eed249ecdbfa1 with gcc (GCC) 8.4.1 20210217 kernel signature: d5ef43430432d7f385992170b1ed83e5cfa3c5110533af09c1346335fa977112 run #0: crashed: INFO: task hung in __get_super run #1: crashed: INFO: task hung in __get_super run #2: crashed: INFO: task hung in __get_super run #3: crashed: INFO: task hung in __blkdev_get run #4: crashed: INFO: task hung in __blkdev_get run #5: crashed: INFO: task hung in __blkdev_get run #6: crashed: INFO: task hung in __blkdev_get run #7: crashed: INFO: task hung in __blkdev_get run #8: crashed: INFO: task hung in __get_super run #9: crashed: INFO: task hung in __blkdev_get revisions tested: 2, total time: 28m18.888809709s (build: 15m53.435340145s, test: 12m1.730248946s) the crash still happens on HEAD commit msg: Linux 4.19.197 crash: INFO: task hung in __blkdev_get Bluetooth: hci0: command 0x0406 tx timeout Bluetooth: hci1: command 0x0406 tx timeout Bluetooth: hci5: command 0x0406 tx timeout ieee802154 phy0 wpan0: encryption failed: -22 ieee802154 phy1 wpan1: encryption failed: -22 INFO: task systemd-udevd:4695 blocked for more than 140 seconds. Not tainted 4.19.197-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. systemd-udevd D24472 4695 1 0x00000104 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x80c/0x1f70 kernel/sched/core.c:3517 schedule+0x7f/0x1b0 kernel/sched/core.c:3561 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3619 __mutex_lock_common kernel/locking/mutex.c:1015 [inline] __mutex_lock+0x4ba/0x1190 kernel/locking/mutex.c:1083 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1098 __blkdev_get+0x19a/0x1200 fs/block_dev.c:1478 blkdev_get+0x271/0x8c0 fs/block_dev.c:1627 blkdev_open+0x19f/0x200 fs/block_dev.c:1788 do_dentry_open+0x3f1/0x1020 fs/open.c:796 vfs_open+0x9a/0xc0 fs/open.c:902 do_last fs/namei.c:3421 [inline] path_openat+0x925/0x2900 fs/namei.c:3537 do_filp_open+0x177/0x250 fs/namei.c:3567 do_sys_open+0x1dc/0x350 fs/open.c:1085 __do_sys_open fs/open.c:1103 [inline] __se_sys_open fs/open.c:1098 [inline] __x64_sys_open+0x79/0xb0 fs/open.c:1098 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f361c195840 Code: Bad RIP value. RSP: 002b:00007ffe1afb4ea8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ffe1afb4f70 RCX: 00007f361c195840 RDX: 000055838eeb8fe3 RSI: 00000000000a0800 RDI: 000055838fb752e0 RBP: 0000000000000000 R08: 000055838eeb8670 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe1afb5050 R13: 000055838fb66010 R14: 000055838fb69120 R15: 00007ffe1afb4f20 INFO: task syz-executor.3:9834 blocked for more than 140 seconds. Not tainted 4.19.197-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D27464 9834 8456 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x80c/0x1f70 kernel/sched/core.c:3517 schedule+0x7f/0x1b0 kernel/sched/core.c:3561 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x21a/0x3e0 kernel/locking/rwsem-xadd.c:309 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0x49/0xb0 kernel/locking/rwsem.c:26 __get_super.part.3+0x165/0x210 fs/super.c:698 __get_super include/linux/spinlock.h:329 [inline] get_super+0x23/0x30 fs/super.c:727 fsync_bdev+0x13/0xb0 fs/block_dev.c:483 invalidate_partition+0x1f/0x40 block/genhd.c:1592 drop_partitions block/partition-generic.c:454 [inline] rescan_partitions+0xac/0x8c0 block/partition-generic.c:527 __blkdev_reread_part+0x12a/0x1a0 block/ioctl.c:173 blkdev_reread_part+0x20/0x40 block/ioctl.c:193 loop_reread_partitions+0x16/0x30 drivers/block/loop.c:645 loop_set_status+0xc4a/0x13f0 drivers/block/loop.c:1330 loop_set_status64+0x8b/0xd0 drivers/block/loop.c:1450 lo_ioctl+0x5aa/0x1e40 drivers/block/loop.c:1593 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0x7ea/0x1790 block/ioctl.c:601 block_ioctl+0xd7/0x130 fs/block_dev.c:1906 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0x196/0x10c0 fs/ioctl.c:688 ksys_ioctl+0x62/0x90 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6e/0xb0 fs/ioctl.c:710 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x466217 Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 48 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7e9bf68ef8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f7e9bf68f40 RCX: 0000000000466217 RDX: 00007f7e9bf69050 RSI: 0000000000004c04 RDI: 0000000000000004 RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00007f7e9bf69050 R13: 00007ffd3ace6d4f R14: 00007f7e9bf69300 R15: 0000000000022000 INFO: task syz-executor.1:9880 blocked for more than 140 seconds. Not tainted 4.19.197-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28296 9880 8455 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x80c/0x1f70 kernel/sched/core.c:3517 schedule+0x7f/0x1b0 kernel/sched/core.c:3561 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x21a/0x3e0 kernel/locking/rwsem-xadd.c:309 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0x49/0xb0 kernel/locking/rwsem.c:26 __get_super.part.3+0x165/0x210 fs/super.c:698 __get_super include/linux/spinlock.h:329 [inline] get_super+0x23/0x30 fs/super.c:727 fsync_bdev+0x13/0xb0 fs/block_dev.c:483 invalidate_partition+0x1f/0x40 block/genhd.c:1592 drop_partitions block/partition-generic.c:454 [inline] rescan_partitions+0xac/0x8c0 block/partition-generic.c:527 __blkdev_reread_part+0x12a/0x1a0 block/ioctl.c:173 blkdev_reread_part+0x20/0x40 block/ioctl.c:193 loop_reread_partitions+0x16/0x30 drivers/block/loop.c:645 loop_set_status+0xc4a/0x13f0 drivers/block/loop.c:1330 loop_set_status64+0x8b/0xd0 drivers/block/loop.c:1450 lo_ioctl+0x5aa/0x1e40 drivers/block/loop.c:1593 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0x7ea/0x1790 block/ioctl.c:601 block_ioctl+0xd7/0x130 fs/block_dev.c:1906 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0x196/0x10c0 fs/ioctl.c:688 ksys_ioctl+0x62/0x90 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6e/0xb0 fs/ioctl.c:710 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x466217 Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 48 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f76f99a8ef8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f76f99a8f40 RCX: 0000000000466217 RDX: 00007f76f99a9050 RSI: 0000000000004c04 RDI: 0000000000000004 RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00007f76f99a9050 R13: 00007ffd6942c88f R14: 00007f76f99a9300 R15: 0000000000022000 INFO: task syz-executor.1:9974 blocked for more than 140 seconds. Not tainted 4.19.197-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D29336 9974 8455 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x80c/0x1f70 kernel/sched/core.c:3517 schedule+0x7f/0x1b0 kernel/sched/core.c:3561 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3619 __mutex_lock_common kernel/locking/mutex.c:1015 [inline] __mutex_lock+0x4ba/0x1190 kernel/locking/mutex.c:1083 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1098 __blkdev_get+0x19a/0x1200 fs/block_dev.c:1478 blkdev_get+0x435/0x8c0 fs/block_dev.c:1627 blkdev_get_by_path+0x71/0xb0 fs/block_dev.c:1708 mount_bdev+0x43/0x330 fs/super.c:1116 vxfs_mount+0x10/0x20 fs/freevxfs/vxfs_super.c:317 mount_fs+0x7f/0x2b0 fs/super.c:1261 vfs_kern_mount.part.11+0x58/0x3d0 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2469 [inline] do_mount+0x376/0x2710 fs/namespace.c:2799 ksys_mount+0xb1/0xd0 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3026 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x466459 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f76f9988188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c0b0 RCX: 0000000000466459 RDX: 0000000020000340 RSI: 00000000200000c0 RDI: 0000000020000240 RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0b0 R13: 00007ffd6942c88f R14: 00007f76f9988300 R15: 0000000000022000 INFO: task syz-executor.1:9975 blocked for more than 140 seconds. Not tainted 4.19.197-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28776 9975 8455 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x80c/0x1f70 kernel/sched/core.c:3517 schedule+0x7f/0x1b0 kernel/sched/core.c:3561 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3619 __mutex_lock_common kernel/locking/mutex.c:1015 [inline] __mutex_lock+0x4ba/0x1190 kernel/locking/mutex.c:1083 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1098 __blkdev_get+0x19a/0x1200 fs/block_dev.c:1478 blkdev_get+0x271/0x8c0 fs/block_dev.c:1627 blkdev_open+0x19f/0x200 fs/block_dev.c:1788 do_dentry_open+0x3f1/0x1020 fs/open.c:796 vfs_open+0x9a/0xc0 fs/open.c:902 do_last fs/namei.c:3421 [inline] path_openat+0x925/0x2900 fs/namei.c:3537 do_filp_open+0x177/0x250 fs/namei.c:3567 do_sys_open+0x1dc/0x350 fs/open.c:1085 __do_sys_openat fs/open.c:1112 [inline] __se_sys_openat fs/open.c:1106 [inline] __x64_sys_openat+0x98/0xf0 fs/open.c:1106 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x419544 Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 RSP: 002b:00007f76f9966e20 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000004afb60 RCX: 0000000000419544 RDX: 0000000000000002 RSI: 00007f76f9966f40 RDI: 00000000ffffff9c RBP: 00007f76f9966f40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.2:9984 blocked for more than 140 seconds. Not tainted 4.19.197-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28296 9984 8448 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x80c/0x1f70 kernel/sched/core.c:3517 schedule+0x7f/0x1b0 kernel/sched/core.c:3561 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x21a/0x3e0 kernel/locking/rwsem-xadd.c:309 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0x49/0xb0 kernel/locking/rwsem.c:26 __get_super.part.3+0x165/0x210 fs/super.c:698 __get_super include/linux/spinlock.h:329 [inline] get_super+0x23/0x30 fs/super.c:727 fsync_bdev+0x13/0xb0 fs/block_dev.c:483 invalidate_partition+0x1f/0x40 block/genhd.c:1592 drop_partitions block/partition-generic.c:454 [inline] rescan_partitions+0xac/0x8c0 block/partition-generic.c:527 __blkdev_reread_part+0x12a/0x1a0 block/ioctl.c:173 blkdev_reread_part+0x20/0x40 block/ioctl.c:193 loop_reread_partitions+0x16/0x30 drivers/block/loop.c:645 loop_set_status+0xc4a/0x13f0 drivers/block/loop.c:1330 loop_set_status64+0x8b/0xd0 drivers/block/loop.c:1450 lo_ioctl+0x5aa/0x1e40 drivers/block/loop.c:1593 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0x7ea/0x1790 block/ioctl.c:601 block_ioctl+0xd7/0x130 fs/block_dev.c:1906 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0x196/0x10c0 fs/ioctl.c:688 ksys_ioctl+0x62/0x90 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6e/0xb0 fs/ioctl.c:710 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x466217 Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 48 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9753f61ef8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f9753f61f40 RCX: 0000000000466217 RDX: 00007f9753f62050 RSI: 0000000000004c04 RDI: 0000000000000004 RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00007f9753f62050 R13: 00007fff04dd2a9f R14: 00007f9753f62300 R15: 0000000000022000 INFO: task syz-executor.4:9985 blocked for more than 140 seconds. Not tainted 4.19.197-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D28776 9985 8458 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x80c/0x1f70 kernel/sched/core.c:3517 schedule+0x7f/0x1b0 kernel/sched/core.c:3561 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x21a/0x3e0 kernel/locking/rwsem-xadd.c:309 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0x49/0xb0 kernel/locking/rwsem.c:26 __get_super.part.3+0x165/0x210 fs/super.c:698 __get_super include/linux/spinlock.h:329 [inline] get_super+0x23/0x30 fs/super.c:727 fsync_bdev+0x13/0xb0 fs/block_dev.c:483 invalidate_partition+0x1f/0x40 block/genhd.c:1592 drop_partitions block/partition-generic.c:454 [inline] rescan_partitions+0xac/0x8c0 block/partition-generic.c:527 __blkdev_reread_part+0x12a/0x1a0 block/ioctl.c:173 blkdev_reread_part+0x20/0x40 block/ioctl.c:193 loop_reread_partitions+0x16/0x30 drivers/block/loop.c:645 loop_set_status+0xc4a/0x13f0 drivers/block/loop.c:1330 loop_set_status64+0x8b/0xd0 drivers/block/loop.c:1450 lo_ioctl+0x5aa/0x1e40 drivers/block/loop.c:1593 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0x7ea/0x1790 block/ioctl.c:601 block_ioctl+0xd7/0x130 fs/block_dev.c:1906 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0x196/0x10c0 fs/ioctl.c:688 ksys_ioctl+0x62/0x90 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6e/0xb0 fs/ioctl.c:710 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x466217 Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 48 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fec5ee38ef8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fec5ee38f40 RCX: 0000000000466217 RDX: 00007fec5ee39050 RSI: 0000000000004c04 RDI: 0000000000000004 RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00007fec5ee39050 R13: 00007ffcfa8a077f R14: 00007fec5ee39300 R15: 0000000000022000 INFO: task syz-executor.4:10025 blocked for more than 140 seconds. Not tainted 4.19.197-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D29336 10025 8458 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x80c/0x1f70 kernel/sched/core.c:3517 schedule+0x7f/0x1b0 kernel/sched/core.c:3561 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3619 __mutex_lock_common kernel/locking/mutex.c:1015 [inline] __mutex_lock+0x4ba/0x1190 kernel/locking/mutex.c:1083 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1098 __blkdev_get+0x19a/0x1200 fs/block_dev.c:1478 blkdev_get+0x435/0x8c0 fs/block_dev.c:1627 blkdev_get_by_path+0x71/0xb0 fs/block_dev.c:1708 mount_bdev+0x43/0x330 fs/super.c:1116 vxfs_mount+0x10/0x20 fs/freevxfs/vxfs_super.c:317 mount_fs+0x7f/0x2b0 fs/super.c:1261 vfs_kern_mount.part.11+0x58/0x3d0 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2469 [inline] do_mount+0x376/0x2710 fs/namespace.c:2799 ksys_mount+0xb1/0xd0 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3026 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x466459 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fec5ee18188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c0b0 RCX: 0000000000466459 RDX: 0000000020000340 RSI: 00000000200000c0 RDI: 0000000020000240 RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0b0 R13: 00007ffcfa8a077f R14: 00007fec5ee18300 R15: 0000000000022000 INFO: task syz-executor.4:10026 blocked for more than 140 seconds. Not tainted 4.19.197-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D28776 10026 8458 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x80c/0x1f70 kernel/sched/core.c:3517 schedule+0x7f/0x1b0 kernel/sched/core.c:3561 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3619 __mutex_lock_common kernel/locking/mutex.c:1015 [inline] __mutex_lock+0x4ba/0x1190 kernel/locking/mutex.c:1083 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1098 __blkdev_get+0x19a/0x1200 fs/block_dev.c:1478 blkdev_get+0x271/0x8c0 fs/block_dev.c:1627 blkdev_open+0x19f/0x200 fs/block_dev.c:1788 do_dentry_open+0x3f1/0x1020 fs/open.c:796 vfs_open+0x9a/0xc0 fs/open.c:902 do_last fs/namei.c:3421 [inline] path_openat+0x925/0x2900 fs/namei.c:3537 do_filp_open+0x177/0x250 fs/namei.c:3567 do_sys_open+0x1dc/0x350 fs/open.c:1085 __do_sys_openat fs/open.c:1112 [inline] __se_sys_openat fs/open.c:1106 [inline] __x64_sys_openat+0x98/0xf0 fs/open.c:1106 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x419544 Code: Bad RIP value. RSP: 002b:00007fec5edf6e20 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000004afb60 RCX: 0000000000419544 RDX: 0000000000000002 RSI: 00007fec5edf6f40 RDI: 00000000ffffff9c RBP: 00007fec5edf6f40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/1565: #0: 0000000065b74968 (rcu_read_lock){....}, at: debug_show_all_locks+0x5b/0x27a kernel/locking/lockdep.c:4443 1 lock held by systemd-udevd/4695: #0: 00000000a1cc91d1 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19a/0x1200 fs/block_dev.c:1478 1 lock held by in:imklog/7795: #0: 00000000257800a9 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xa7/0xd0 fs/file.c:767 2 locks held by syz-executor.3/9821: 2 locks held by syz-executor.3/9834: #0: 000000000b4e199f (&bdev->bd_mutex){+.+.}, at: blkdev_reread_part+0x18/0x40 block/ioctl.c:192 #1: 00000000eb031c59 (&type->s_umount_key#49){.+.+}, at: __get_super.part.3+0x165/0x210 fs/super.c:698 1 lock held by syz-executor.1/9861: 2 locks held by syz-executor.1/9880: #0: 0000000076b6108e (&bdev->bd_mutex){+.+.}, at: blkdev_reread_part+0x18/0x40 block/ioctl.c:192 #1: 000000002007acd6 (&type->s_umount_key#49){.+.+}, at: __get_super.part.3+0x165/0x210 fs/super.c:698 1 lock held by syz-executor.1/9974: #0: 0000000076b6108e (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19a/0x1200 fs/block_dev.c:1478 1 lock held by syz-executor.1/9975: #0: 0000000076b6108e (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19a/0x1200 fs/block_dev.c:1478 2 locks held by syz-executor.2/9978: 2 locks held by syz-executor.2/9984: #0: 000000004306eed1 (&bdev->bd_mutex){+.+.}, at: blkdev_reread_part+0x18/0x40 block/ioctl.c:192 #1: 00000000d58d829a (&type->s_umount_key#49){.+.+}, at: __get_super.part.3+0x165/0x210 fs/super.c:698 2 locks held by syz-executor.4/9980: 2 locks held by syz-executor.4/9985: #0: 00000000a1cc91d1 (&bdev->bd_mutex){+.+.}, at: blkdev_reread_part+0x18/0x40 block/ioctl.c:192 #1: 00000000388af12d (&type->s_umount_key#49){.+.+}, at: __get_super.part.3+0x165/0x210 fs/super.c:698 1 lock held by syz-executor.4/10025: #0: 00000000a1cc91d1 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19a/0x1200 fs/block_dev.c:1478 1 lock held by syz-executor.4/10026: #0: 00000000a1cc91d1 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19a/0x1200 fs/block_dev.c:1478 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1565 Comm: khungtaskd Not tainted 4.19.197-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x17c/0x226 lib/dump_stack.c:118 nmi_cpu_backtrace.cold.0+0x3c/0x78 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0xf6/0x120 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x5c3/0xb40 kernel/hung_task.c:287 kthread+0x347/0x410 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: kworker/u4:2 Not tainted 4.19.197-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:lockdep_hardirqs_on+0xc4/0x5b0 kernel/locking/lockdep.c:2852 Code: 01 00 48 8d bb 50 08 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e 91 03 00 00 <44> 8b 93 50 08 00 00 45 85 d2 0f 85 d5 02 00 00 48 c7 c3 20 87 ad RSP: 0018:ffff8880b5017bf8 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff8880b5006040 RCX: 0000000000000000 RDX: 1ffff11016a00d12 RSI: ffffffff88083340 RDI: ffff8880b5006890 RBP: ffff8880b5017c08 R08: 0000000000000001 R09: ffffed1014a1954a R10: ffffed1014a1954a R11: 0000000000000000 R12: ffffffff81350ac0 R13: ffff8880b5006040 R14: ffffffff87a4c340 R15: ffff8880a54759c0 FS: 0000000000000000(0000) GS:ffff8880ba200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000041951a CR3: 00000000b4bae000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hardirqs_on+0x28/0x190 kernel/trace/trace_preemptirq.c:30 __local_bh_enable_ip+0x160/0x250 kernel/softirq.c:194 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:176 [inline] _raw_spin_unlock_bh+0x30/0x40 kernel/locking/spinlock.c:200 spin_unlock_bh include/linux/spinlock.h:374 [inline] batadv_nc_purge_paths+0x1c5/0x2c0 net/batman-adv/network-coding.c:482 batadv_nc_worker+0x1f3/0x630 net/batman-adv/network-coding.c:731 process_one_work+0x7b9/0x15a0 kernel/workqueue.c:2153 worker_thread+0x85/0xb60 kernel/workqueue.c:2296 kthread+0x347/0x410 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415