bisecting fixing commit since 59456c9cc40c8f75b5a7efa0fe1f211d9c6fcaf1 building syzkaller on b599f2fcc734e2183016a340d4f6fc2891d8e41f testing commit 59456c9cc40c8f75b5a7efa0fe1f211d9c6fcaf1 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: f37c80dc18ee6ad869f82da511d35632fdcb7603f842abc5ec6e7559bf305744 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 __get_super run #5: crashed: INFO: task hung in __blkdev_get run #6: crashed: INFO: task hung in __get_super run #7: crashed: INFO: task hung in blkdev_put run #8: crashed: INFO: task hung in __get_super run #9: crashed: INFO: task hung in __blkdev_get run #10: crashed: INFO: task hung in blkdev_put run #11: crashed: INFO: task hung in __blkdev_get run #12: crashed: INFO: task hung in __get_super 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 __get_super run #17: crashed: INFO: task hung in __get_super run #18: crashed: INFO: task hung in __blkdev_get run #19: crashed: INFO: task hung in __blkdev_get testing current HEAD 2950c9c5e0df6bd34af45a5168bbee345e95eae2 testing commit 2950c9c5e0df6bd34af45a5168bbee345e95eae2 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 42e4d86f611c83f371459a44ecb656d7556bcda0900e906ba253a37d373250fe run #0: crashed: INFO: task hung in __blkdev_get run #1: crashed: INFO: task hung in grab_super run #2: crashed: INFO: task hung in blkdev_put run #3: crashed: INFO: task hung in __get_super 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 __get_super run #7: crashed: INFO: task hung in __get_super run #8: crashed: INFO: task hung in grab_super run #9: crashed: INFO: task hung in blkdev_put revisions tested: 2, total time: 29m0.42883682s (build: 16m37.068434642s, test: 12m0.000051838s) the crash still happens on HEAD commit msg: Linux 4.19.207 crash: INFO: task hung in blkdev_put Bluetooth: hci0: command 0x0406 tx timeout Bluetooth: hci1: command 0x0406 tx timeout Bluetooth: hci3: command 0x0406 tx timeout ieee802154 phy0 wpan0: encryption failed: -22 ieee802154 phy1 wpan1: encryption failed: -22 INFO: task systemd-udevd:9915 blocked for more than 140 seconds. Not tainted 4.19.207-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. systemd-udevd D27576 9915 4698 0x00000100 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:1016 [inline] __mutex_lock+0x571/0x11c0 kernel/locking/mutex.c:1078 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1093 blkdev_put+0x25/0x470 fs/block_dev.c:1839 blkdev_close+0x88/0xd0 fs/block_dev.c:1888 __fput+0x249/0x7f0 fs/file_table.c:278 ____fput+0x9/0x10 fs/file_table.c:309 task_work_run+0x108/0x180 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x185/0x1e0 arch/x86/entry/common.c:167 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x413/0x4e0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f8377b5a270 Code: Bad RIP value. RSP: 002b:00007fff642208a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 000000000000000f RCX: 00007f8377b5a270 RDX: 00007f8377b44b58 RSI: 0000000000000000 RDI: 000000000000000f RBP: 00007f8378a14710 R08: 000055dd5b43a620 R09: 0000000000000000 R10: 8092ae6df05c0ff0 R11: 0000000000000246 R12: 0000000000000002 R13: 0000000000000000 R14: 000055dd5b429120 R15: 000000000000000f INFO: task syz-executor.1:9924 blocked for more than 140 seconds. Not tainted 4.19.207-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D26168 9924 8459 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:0x4663a7 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:00007fd205053ef8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fd205053f40 RCX: 00000000004663a7 RDX: 00007fd205054050 RSI: 0000000000004c04 RDI: 0000000000000004 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00007fd205054050 R13: 00007ffcfd70d3ef R14: 00007fd205054300 R15: 0000000000022000 INFO: task syz-executor.1:9989 blocked for more than 140 seconds. Not tainted 4.19.207-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D29384 9989 8459 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:1016 [inline] __mutex_lock+0x571/0x11c0 kernel/locking/mutex.c:1078 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1093 __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 udf_mount+0x10/0x20 fs/udf/super.c:125 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:2492 [inline] do_mount+0x376/0x2630 fs/namespace.c:2822 ksys_mount+0xb1/0xd0 fs/namespace.c:3038 __do_sys_mount fs/namespace.c:3052 [inline] __se_sys_mount fs/namespace.c:3049 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3049 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665e9 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:00007fd204ff1188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c1a8 RCX: 00000000004665e9 RDX: 0000000020000040 RSI: 0000000020000140 RDI: 0000000020000080 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c1a8 R13: 00007ffcfd70d3ef R14: 00007fd204ff1300 R15: 0000000000022000 INFO: task systemd-udevd:9940 blocked for more than 140 seconds. Not tainted 4.19.207-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. systemd-udevd D27480 9940 4698 0x00000100 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:1016 [inline] __mutex_lock+0x571/0x11c0 kernel/locking/mutex.c:1078 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1093 __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:0x7f8377b5a840 Code: Bad RIP value. RSP: 002b:00007fff64225ce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000055dd5b435760 RCX: 00007f8377b5a840 RDX: 000055dd5a6a7fe3 RSI: 00000000000a0800 RDI: 000055dd5b426dc0 RBP: 00007fff64225e60 R08: 000055dd5a6a7670 R09: 0000000000000010 R10: 000055dd5a6a7d0c R11: 0000000000000246 R12: 00007fff64225db0 R13: 000055dd5b438880 R14: 0000000000000003 R15: 000000000000000e INFO: task syz-executor.3:9954 blocked for more than 140 seconds. Not tainted 4.19.207-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28120 9954 8450 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:0x4663a7 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:00007f191c093ef8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f191c093f40 RCX: 00000000004663a7 RDX: 00007f191c094050 RSI: 0000000000004c04 RDI: 0000000000000004 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00007f191c094050 R13: 00007ffec8a525cf R14: 00007f191c094300 R15: 0000000000022000 INFO: task syz-executor.3:9994 blocked for more than 140 seconds. Not tainted 4.19.207-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28776 9994 8450 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:1016 [inline] __mutex_lock+0x571/0x11c0 kernel/locking/mutex.c:1078 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1093 __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:0x4196d4 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:00007f191c051e20 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000004afcc0 RCX: 00000000004196d4 RDX: 0000000000000002 RSI: 00007f191c051f40 RDI: 00000000ffffff9c RBP: 00007f191c051f40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000000000 INFO: task systemd-udevd:9979 blocked for more than 140 seconds. Not tainted 4.19.207-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. systemd-udevd D27016 9979 4698 0x00000100 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:1016 [inline] __mutex_lock+0x571/0x11c0 kernel/locking/mutex.c:1078 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1093 __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:0x7f8377b5a840 Code: Bad RIP value. RSP: 002b:00007fff64225ce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000055dd5b43a140 RCX: 00007f8377b5a840 RDX: 000055dd5a6a7fe3 RSI: 00000000000a0800 RDI: 000055dd5b4411b0 RBP: 00007fff64225e60 R08: 000055dd5a6a7670 R09: 0000000000000010 R10: 000055dd5a6a7d0c R11: 0000000000000246 R12: 00007fff64225db0 R13: 000055dd5b438880 R14: 0000000000000003 R15: 000000000000000e INFO: task syz-executor.5:10014 blocked for more than 140 seconds. Not tainted 4.19.207-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D26168 10014 8460 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:0x4663a7 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:00007fab9095aef8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fab9095af40 RCX: 00000000004663a7 RDX: 00007fab9095b050 RSI: 0000000000004c04 RDI: 0000000000000004 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00007fab9095b050 R13: 00007fffe80ea39f R14: 00007fab9095b300 R15: 0000000000022000 INFO: task syz-executor.2:10047 blocked for more than 140 seconds. Not tainted 4.19.207-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D29384 10047 8452 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:1016 [inline] __mutex_lock+0x571/0x11c0 kernel/locking/mutex.c:1078 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1093 __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 udf_mount+0x10/0x20 fs/udf/super.c:125 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:2492 [inline] do_mount+0x376/0x2630 fs/namespace.c:2822 ksys_mount+0xb1/0xd0 fs/namespace.c:3038 __do_sys_mount fs/namespace.c:3052 [inline] __se_sys_mount fs/namespace.c:3049 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3049 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665e9 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:00007f0dd1cf3188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c1a8 RCX: 00000000004665e9 RDX: 0000000020000040 RSI: 0000000020000140 RDI: 0000000020000080 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c1a8 R13: 00007fff760e023f R14: 00007f0dd1cf3300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1571: #0: 000000005263361b (rcu_read_lock){....}, at: debug_show_all_locks+0x5b/0x27a kernel/locking/lockdep.c:4443 1 lock held by in:imklog/7808: #0: 000000007610e53f (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xa7/0xd0 fs/file.c:767 2 locks held by syz-executor.0/9980: 1 lock held by systemd-udevd/9915: #0: 00000000650c5e51 (&bdev->bd_mutex){+.+.}, at: blkdev_put+0x25/0x470 fs/block_dev.c:1839 2 locks held by syz-executor.1/9924: #0: 00000000260606a0 (&bdev->bd_mutex){+.+.}, at: blkdev_reread_part+0x18/0x40 block/ioctl.c:192 #1: 00000000cfce2d1d (&type->s_umount_key#49){.+.+}, at: __get_super.part.3+0x165/0x210 fs/super.c:698 1 lock held by syz-executor.1/9937: 1 lock held by syz-executor.1/9989: #0: 0000000011558cbf (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19a/0x1200 fs/block_dev.c:1478 1 lock held by systemd-udevd/9940: #0: 0000000011558cbf (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19a/0x1200 fs/block_dev.c:1478 2 locks held by syz-executor.3/9954: #0: 0000000011558cbf (&bdev->bd_mutex){+.+.}, at: blkdev_reread_part+0x18/0x40 block/ioctl.c:192 #1: 000000000885b2be (&type->s_umount_key#49){.+.+}, at: __get_super.part.3+0x165/0x210 fs/super.c:698 1 lock held by syz-executor.3/9994: #0: 0000000011558cbf (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19a/0x1200 fs/block_dev.c:1478 1 lock held by systemd-udevd/9979: #0: 00000000260606a0 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19a/0x1200 fs/block_dev.c:1478 2 locks held by syz-executor.5/10014: #0: 00000000650c5e51 (&bdev->bd_mutex){+.+.}, at: blkdev_reread_part+0x18/0x40 block/ioctl.c:192 #1: 00000000b27a964d (&type->s_umount_key#49){.+.+}, at: __get_super.part.3+0x165/0x210 fs/super.c:698 1 lock held by syz-executor.2/10033: 1 lock held by syz-executor.2/10047: #0: 00000000650c5e51 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19a/0x1200 fs/block_dev.c:1478 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1571 Comm: khungtaskd Not tainted 4.19.207-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: 10 Comm: rcu_preempt Not tainted 4.19.207-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:look_up_lock_class kernel/locking/lockdep.c:698 [inline] RIP: 0010:register_lock_class+0x2b4/0x1b20 kernel/locking/lockdep.c:749 Code: 61 17 00 00 49 8d 79 18 4c 8b bb 40 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 68 17 00 00 <48> 89 ca 83 e1 07 4d 8b 71 18 48 b8 00 00 00 00 00 fc ff df 48 c1 RSP: 0018:ffff8880b59bf8a8 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffffffff8b604420 RCX: ffffffff8bad9720 RDX: 1ffff11016b37fa1 RSI: 0000000000000000 RDI: ffff8880b59bfd08 RBP: ffff8880b59bf980 R08: 0000000000000000 R09: ffff8880b59bfcf0 R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff11016b37f1f R13: dffffc0000000000 R14: ffff8880b59bf958 R15: ffffffff880b0fc0 FS: 0000000000000000(0000) GS:ffff8880ba200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f63ee2a0028 CR3: 00000000982a2000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x1a0/0x47c0 kernel/locking/lockdep.c:3304 lock_acquire+0x180/0x3a0 kernel/locking/lockdep.c:3908 del_timer_sync+0xa2/0x1e0 kernel/time/timer.c:1295 schedule_timeout+0x3a0/0xd20 kernel/time/timer.c:1819 rcu_gp_kthread+0xd2b/0x23e0 kernel/rcu/tree.c:2202 kthread+0x347/0x410 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 00 00 add %al,(%rax) 2: 49 8d 79 18 lea 0x18(%r9),%rdi 6: 4c 8b bb 40 01 00 00 mov 0x140(%rbx),%r15 d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 14: fc ff df 17: 48 89 fa mov %rdi,%rdx 1a: 48 c1 ea 03 shr $0x3,%rdx 1e: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 22: 0f 85 68 17 00 00 jne 0x1790 * 28: 48 89 ca mov %rcx,%rdx <-- trapping instruction 2b: 83 e1 07 and $0x7,%ecx 2e: 4d 8b 71 18 mov 0x18(%r9),%r14 32: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 39: fc ff df 3c: 48 rex.W 3d: c1 .byte 0xc1