INFO: task systemd-udevd:14808 blocked for more than 140 seconds. Not tainted 4.19.172-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. systemd-udevd D28424 14808 4691 0x00000100 Call Trace: context_switch syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3517 schedule+0x8d/0x1b0 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3561 schedule_preempt_disabled+0xf/0x20 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3619 __mutex_lock_common syzkaller/managers/linux-4-19/kernel/kernel/locking/mutex.c:1002 [inline] __mutex_lock+0x647/0x1260 syzkaller/managers/linux-4-19/kernel/kernel/locking/mutex.c:1072 blkdev_put+0x30/0x520 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1839 blkdev_close+0x86/0xb0 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1888 __fput+0x2ce/0x890 syzkaller/managers/linux-4-19/kernel/fs/file_table.c:278 task_work_run+0x148/0x1c0 syzkaller/managers/linux-4-19/kernel/kernel/task_work.c:113 tracehook_notify_resume syzkaller/managers/linux-4-19/kernel/./include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x251/0x2a0 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:167 prepare_exit_to_usermode syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:198 [inline] syscall_return_slowpath syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fcb172d9270 Code: Bad RIP value. RSP: 002b:00007fffee8bd5c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007fcb172d9270 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007 RBP: 00007fcb18192710 R08: 0000559470685660 R09: 0000559470685400 R10: 00007fcb181928c0 R11: 0000000000000246 R12: 0000000000000000 R13: 000055947066fdb0 R14: 0000000000000003 R15: 000000000000000e INFO: task syz-executor.0:14948 blocked for more than 140 seconds. Not tainted 4.19.172-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D25728 14948 30118 0x00000004 Call Trace: context_switch syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3517 schedule+0x8d/0x1b0 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3561 schedule_preempt_disabled+0xf/0x20 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3619 __mutex_lock_common syzkaller/managers/linux-4-19/kernel/kernel/locking/mutex.c:1002 [inline] __mutex_lock+0x647/0x1260 syzkaller/managers/linux-4-19/kernel/kernel/locking/mutex.c:1072 __blkdev_get+0x1d0/0x1480 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1478 blkdev_get+0x48f/0x940 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1627 blkdev_get_by_path+0x48/0xd0 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1708 mount_bdev+0x5b/0x3b0 syzkaller/managers/linux-4-19/kernel/fs/super.c:1116 mount_fs+0xa3/0x310 syzkaller/managers/linux-4-19/kernel/fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:961 vfs_kern_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:951 [inline] do_new_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:2469 [inline] do_mount+0x113c/0x2f10 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:2799 ksys_mount+0xcf/0x130 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3015 __do_sys_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3029 [inline] __se_sys_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3026 do_syscall_64+0xf9/0x620 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x465b09 Code: Bad RIP value. RSP: 002b:00007fe11610d188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c008 RCX: 0000000000465b09 RDX: 0000000020000000 RSI: 00000000200001c0 RDI: 0000000020000240 RBP: 00000000004b069f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 000000000056c008 R13: 00007ffd68356bbf R14: 00007fe11610d300 R15: 0000000000022000 INFO: task syz-executor.0:14951 blocked for more than 140 seconds. Not tainted 4.19.172-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D29160 14951 30118 0x00000004 Call Trace: context_switch syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3517 schedule+0x8d/0x1b0 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3561 schedule_preempt_disabled+0xf/0x20 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3619 __mutex_lock_common syzkaller/managers/linux-4-19/kernel/kernel/locking/mutex.c:1002 [inline] __mutex_lock+0x647/0x1260 syzkaller/managers/linux-4-19/kernel/kernel/locking/mutex.c:1072 __blkdev_get+0x1d0/0x1480 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1478 blkdev_get+0xb0/0x940 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1627 blkdev_open+0x202/0x290 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1788 do_dentry_open+0x4aa/0x1160 syzkaller/managers/linux-4-19/kernel/fs/open.c:796 do_last syzkaller/managers/linux-4-19/kernel/fs/namei.c:3421 [inline] path_openat+0x793/0x2df0 syzkaller/managers/linux-4-19/kernel/fs/namei.c:3537 do_filp_open+0x18c/0x3f0 syzkaller/managers/linux-4-19/kernel/fs/namei.c:3567 do_sys_open+0x3b3/0x520 syzkaller/managers/linux-4-19/kernel/fs/open.c:1085 do_syscall_64+0xf9/0x620 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4190f4 Code: Bad RIP value. RSP: 002b:00007fe1160eae20 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000004bf878 RCX: 00000000004190f4 RDX: 0000000000000002 RSI: 00007fe1160eaf40 RDI: 00000000ffffff9c RBP: 00007fe1160eaf40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 0000000000000004 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.0:14939 blocked for more than 140 seconds. Not tainted 4.19.172-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28528 14939 14937 0x00000004 Call Trace: context_switch syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3517 schedule+0x8d/0x1b0 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3561 __rwsem_down_read_failed_common syzkaller/managers/linux-4-19/kernel/kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x20a/0x390 syzkaller/managers/linux-4-19/kernel/kernel/locking/rwsem-xadd.c:309 call_rwsem_down_read_failed+0x14/0x30 syzkaller/managers/linux-4-19/kernel/arch/x86/lib/rwsem.S:94 __down_read syzkaller/managers/linux-4-19/kernel/./arch/x86/include/asm/rwsem.h:83 [inline] down_read+0x44/0x80 syzkaller/managers/linux-4-19/kernel/kernel/locking/rwsem.c:26 __get_super.part.0+0x209/0x2e0 syzkaller/managers/linux-4-19/kernel/fs/super.c:698 __get_super syzkaller/managers/linux-4-19/kernel/./include/linux/spinlock.h:329 [inline] get_super+0x2b/0x50 syzkaller/managers/linux-4-19/kernel/fs/super.c:727 fsync_bdev+0x14/0xc0 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:483 invalidate_partition+0x74/0xb0 syzkaller/managers/linux-4-19/kernel/block/genhd.c:1583 drop_partitions.isra.0+0x9c/0x190 syzkaller/managers/linux-4-19/kernel/block/partition-generic.c:454 rescan_partitions+0xab/0x970 syzkaller/managers/linux-4-19/kernel/block/partition-generic.c:527 __blkdev_reread_part+0x189/0x220 syzkaller/managers/linux-4-19/kernel/block/ioctl.c:173 blkdev_reread_part+0x23/0x40 syzkaller/managers/linux-4-19/kernel/block/ioctl.c:193 loop_reread_partitions syzkaller/managers/linux-4-19/kernel/drivers/block/loop.c:645 [inline] loop_set_status+0x103e/0x1800 syzkaller/managers/linux-4-19/kernel/drivers/block/loop.c:1330 loop_set_status64+0xb2/0x110 syzkaller/managers/linux-4-19/kernel/drivers/block/loop.c:1450 lo_ioctl+0x41f/0x20e0 syzkaller/managers/linux-4-19/kernel/drivers/block/loop.c:1593 __blkdev_driver_ioctl syzkaller/managers/linux-4-19/kernel/block/ioctl.c:303 [inline] blkdev_ioctl+0x5cb/0x1a80 syzkaller/managers/linux-4-19/kernel/block/ioctl.c:601 block_ioctl+0xe9/0x130 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1906 vfs_ioctl syzkaller/managers/linux-4-19/kernel/fs/ioctl.c:46 [inline] file_ioctl syzkaller/managers/linux-4-19/kernel/fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 syzkaller/managers/linux-4-19/kernel/fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 syzkaller/managers/linux-4-19/kernel/fs/ioctl.c:705 __do_sys_ioctl syzkaller/managers/linux-4-19/kernel/fs/ioctl.c:712 [inline] __se_sys_ioctl syzkaller/managers/linux-4-19/kernel/fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 syzkaller/managers/linux-4-19/kernel/fs/ioctl.c:710 do_syscall_64+0xf9/0x620 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4658c7 Code: Bad RIP value. RSP: 002b:00007fe11612def8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fe11612df40 RCX: 00000000004658c7 RDX: 00007fe11612e050 RSI: 0000000000004c04 RDI: 0000000000000005 RBP: 00000000004b069f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00007fe11612e050 R13: 00007ffd68356bbf R14: 00007fe11612e300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1566: #0: 0000000002d1fb30 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 syzkaller/managers/linux-4-19/kernel/kernel/locking/lockdep.c:4440 1 lock held by in:imklog/7792: #0: 00000000a2448e5f (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 syzkaller/managers/linux-4-19/kernel/fs/file.c:767 2 locks held by agetty/7784: #0: 00000000b9adc4a2 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 syzkaller/managers/linux-4-19/kernel/drivers/tty/tty_ldisc.c:272 #1: 0000000029be9754 (&tty->atomic_write_lock){+.+.}, at: tty_write_lock syzkaller/managers/linux-4-19/kernel/drivers/tty/tty_io.c:886 [inline] #1: 0000000029be9754 (&tty->atomic_write_lock){+.+.}, at: do_tty_write syzkaller/managers/linux-4-19/kernel/drivers/tty/tty_io.c:909 [inline] #1: 0000000029be9754 (&tty->atomic_write_lock){+.+.}, at: tty_write+0x24e/0x810 syzkaller/managers/linux-4-19/kernel/drivers/tty/tty_io.c:1044 1 lock held by systemd-udevd/14808: #0: 00000000b202df0c (&bdev->bd_mutex){+.+.}, at: blkdev_put+0x30/0x520 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1839 3 locks held by syz-executor.0/14937: 1 lock held by syz-executor.0/14948: #0: 00000000b202df0c (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x1d0/0x1480 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1478 1 lock held by syz-executor.0/14951: #0: 00000000b202df0c (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x1d0/0x1480 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1478 2 locks held by syz-executor.0/14939: #0: 00000000b202df0c (&bdev->bd_mutex){+.+.}, at: blkdev_reread_part+0x1b/0x40 syzkaller/managers/linux-4-19/kernel/block/ioctl.c:192 #1: 000000006458f4d0 (&type->s_umount_key#94){.+.+}, at: __get_super.part.0+0x209/0x2e0 syzkaller/managers/linux-4-19/kernel/fs/super.c:698 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1566 Comm: khungtaskd Not tainted 4.19.172-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack syzkaller/managers/linux-4-19/kernel/lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef syzkaller/managers/linux-4-19/kernel/lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 syzkaller/managers/linux-4-19/kernel/lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 syzkaller/managers/linux-4-19/kernel/lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace syzkaller/managers/linux-4-19/kernel/./include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks syzkaller/managers/linux-4-19/kernel/kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 syzkaller/managers/linux-4-19/kernel/kernel/hung_task.c:287 kthread+0x33f/0x460 syzkaller/managers/linux-4-19/kernel/kernel/kthread.c:259 ret_from_fork+0x24/0x30 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/entry_64.S:415 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 14937 Comm: syz-executor.0 Not tainted 4.19.172-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:write_comp_data+0x23/0x70 syzkaller/managers/linux-4-19/kernel/kernel/kcov.c:122 Code: 1f 84 00 00 00 00 00 49 89 f1 49 89 fa 65 48 8b 34 25 80 df 01 00 65 8b 05 ea 84 9f 7e a9 00 01 1f 00 75 4f 8b 86 60 13 00 00 <83> f8 03 75 44 48 8b 86 68 13 00 00 8b b6 64 13 00 00 48 8b 38 48 RSP: 0018:ffff888055fcf750 EFLAGS: 00000046 RAX: 0000000000000002 RBX: 0000000000000000 RCX: ffffffff83758bc3 RDX: 0000000000000000 RSI: ffff88809521a040 RDI: 0000000000000005 RBP: ffffffff88b3be00 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000001 R13: ffffffff88751700 R14: 0000000000000453 R15: ffff88804aa8abd0 FS: 00007fe11612e700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000053b978 CR3: 000000009b6ff000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: check_preemption_disabled+0x33/0x280 syzkaller/managers/linux-4-19/kernel/lib/smp_processor_id.c:15 lookup_bh_lru syzkaller/managers/linux-4-19/kernel/fs/buffer.c:1262 [inline] __find_get_block+0xe9/0xde0 syzkaller/managers/linux-4-19/kernel/fs/buffer.c:1291 __getblk_slow+0x14a/0x9e0 syzkaller/managers/linux-4-19/kernel/fs/buffer.c:1040 __getblk_gfp syzkaller/managers/linux-4-19/kernel/fs/buffer.c:1321 [inline] __getblk syzkaller/managers/linux-4-19/kernel/./include/linux/buffer_head.h:388 [inline] __breadahead+0x116/0x130 syzkaller/managers/linux-4-19/kernel/fs/buffer.c:1331 sb_breadahead syzkaller/managers/linux-4-19/kernel/./include/linux/buffer_head.h:321 [inline] hpfs_prefetch_sectors+0x272/0x4d0 syzkaller/managers/linux-4-19/kernel/fs/hpfs/buffer.c:62 hpfs_map_sector+0x9e/0x340 syzkaller/managers/linux-4-19/kernel/fs/hpfs/buffer.c:78 hpfs_fill_super+0x392/0x1bc0 syzkaller/managers/linux-4-19/kernel/fs/hpfs/super.c:596 mount_bdev+0x2fc/0x3b0 syzkaller/managers/linux-4-19/kernel/fs/super.c:1158 mount_fs+0xa3/0x310 syzkaller/managers/linux-4-19/kernel/fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:961 vfs_kern_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:951 [inline] do_new_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:2469 [inline] do_mount+0x113c/0x2f10 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:2799 ksys_mount+0xcf/0x130 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3015 __do_sys_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3029 [inline] __se_sys_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3026 do_syscall_64+0xf9/0x620 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x465b09 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:00007fe11612e188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465b09 RDX: 0000000020000000 RSI: 00000000200001c0 RDI: 0000000020000240 RBP: 00000000004b069f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffd68356bbf R14: 00007fe11612e300 R15: 0000000000022000