INFO: task systemd-udevd:22180 blocked for more than 143 seconds. Not tainted 5.13.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:systemd-udevd state:D stack:26400 pid:22180 ppid: 4856 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4683 [inline] __schedule+0xb39/0x5980 kernel/sched/core.c:5940 schedule+0xd3/0x270 kernel/sched/core.c:6019 io_schedule+0xba/0x130 kernel/sched/core.c:8007 wait_on_page_bit_common+0x537/0xe60 mm/filemap.c:1301 wait_on_page_bit mm/filemap.c:1362 [inline] wait_on_page_locked include/linux/pagemap.h:689 [inline] wait_on_page_read mm/filemap.c:3312 [inline] do_read_cache_page+0x95c/0x1390 mm/filemap.c:3355 read_mapping_page include/linux/pagemap.h:515 [inline] read_part_sector+0x146/0x620 block/partitions/core.c:672 adfspart_check_ICS+0x9d/0xc90 block/partitions/acorn.c:360 check_partition block/partitions/core.c:148 [inline] blk_add_partitions+0x585/0xe00 block/partitions/core.c:609 bdev_disk_changed+0x28b/0x540 fs/block_dev.c:1274 __blkdev_get+0x880/0xa30 fs/block_dev.c:1358 blkdev_get_by_dev fs/block_dev.c:1451 [inline] blkdev_get_by_dev+0x200/0x660 fs/block_dev.c:1423 blkdev_open+0x154/0x2b0 fs/block_dev.c:1546 do_dentry_open+0x4c8/0x11c0 fs/open.c:826 do_open fs/namei.c:3361 [inline] path_openat+0x1c0e/0x27e0 fs/namei.c:3494 do_filp_open+0x190/0x3d0 fs/namei.c:3521 do_sys_openat2+0x16d/0x420 fs/open.c:1187 do_sys_open fs/open.c:1203 [inline] __do_sys_open fs/open.c:1211 [inline] __se_sys_open fs/open.c:1207 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1207 do_syscall_64+0x31/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f53a067e840 RSP: 002b:00007fff3cc87f68 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000055c4f2da6a00 RCX: 00007f53a067e840 RDX: 000055c4f2274fe3 RSI: 00000000000a0800 RDI: 000055c4f2d9f870 RBP: 00007fff3cc880e0 R08: 000055c4f2274670 R09: 0000000000000010 R10: 00007f53a03f8d70 R11: 0000000000000246 R12: 00007fff3cc88030 R13: 000055c4f2da67e0 R14: 0000000000000003 R15: 000000000000000e INFO: task syz-executor.1:22231 blocked for more than 143 seconds. Not tainted 5.13.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28176 pid:22231 ppid: 8442 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4683 [inline] __schedule+0xb39/0x5980 kernel/sched/core.c:5940 schedule+0xd3/0x270 kernel/sched/core.c:6019 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6078 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0x7b6/0x10a0 kernel/locking/mutex.c:1104 blkdev_put+0x59/0x590 fs/block_dev.c:1595 blkdev_close+0x8c/0xb0 fs/block_dev.c:1644 __fput+0x288/0x920 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:302 do_syscall_64+0x3e/0xb0 arch/x86/entry/common.c:57 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4193eb RSP: 002b:00007fff898a1750 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00000000004193eb RDX: 0000001b33523e9c RSI: ffffffff813592b2 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b3352244c R10: 0000000000000742 R11: 0000000000000293 R12: 000000000056cb00 R13: 000000000056cb00 R14: 000000000056bf80 R15: 0000000000067b1a Showing all locks held in the system: 2 locks held by kworker/u4:0/9: #0: ffff8880b9d35658 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:460 #1: ffff8880b9d1f988 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x1b8/0x670 kernel/sched/psi.c:867 1 lock held by khungtaskd/1642: #0: ffffffff8bf7d5a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by in:imklog/8122: #0: ffff88801901eaf0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:974 1 lock held by systemd-udevd/22180: #0: ffff88801e898c20 (&bdev->bd_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev fs/block_dev.c:1450 [inline] #0: ffff88801e898c20 (&bdev->bd_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x1f6/0x660 fs/block_dev.c:1423 1 lock held by syz-executor.1/22231: #0: ffff88801e898c20 (&bdev->bd_mutex){+.+.}-{3:3}, at: blkdev_put+0x59/0x590 fs/block_dev.c:1595 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1642 Comm: khungtaskd Not tainted 5.13.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x141/0x1d7 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0xd4b/0xfb0 kernel/hung_task.c:294 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 1 Comm: systemd Not tainted 5.13.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:newidle_balance+0x81/0x1050 kernel/sched/fair.c:10691 Code: 02 f1 f1 f1 f1 c7 42 04 04 f3 f3 f3 48 c7 c2 80 f1 c0 8b 65 48 8b 34 25 28 00 00 00 48 89 b4 24 d0 00 00 00 31 f6 48 c1 ea 03 <80> 3c 02 00 0f 85 d6 0d 00 00 48 8d 83 10 0b 00 00 48 8b 2d 67 67 RSP: 0018:ffffc90000c678a0 EFLAGS: 00000016 RAX: dffffc0000000000 RBX: ffff8880b9d35640 RCX: ffff8880b9d35700 RDX: 1ffffffff1781e30 RSI: 0000000000000000 RDI: ffff8880b9d35640 RBP: ffffc90000c67b60 R08: 0000000000000000 R09: ffffffff8dc9d297 R10: 0000000000000000 R11: 0000000000000001 R12: 1ffff9200018cf23 R13: ffff888140110000 R14: ffffed10173a6ae2 R15: 0000000000000000 FS: 00007fd77a12a500(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3156ccb000 CR3: 0000000029030000 CR4: 0000000000350ee0 Call Trace: pick_next_task_fair+0x96/0xe30 kernel/sched/fair.c:7312 __pick_next_task kernel/sched/core.c:5304 [inline] pick_next_task kernel/sched/core.c:5412 [inline] __schedule+0x418/0x5980 kernel/sched/core.c:5904 schedule+0xd3/0x270 kernel/sched/core.c:6019 schedule_hrtimeout_range_clock+0x343/0x390 kernel/time/hrtimer.c:2148 ep_poll fs/eventpoll.c:1848 [inline] do_epoll_wait+0x125c/0x1940 fs/eventpoll.c:2226 __do_sys_epoll_wait fs/eventpoll.c:2238 [inline] __se_sys_epoll_wait fs/eventpoll.c:2233 [inline] __x64_sys_epoll_wait+0x158/0x270 fs/eventpoll.c:2233 do_syscall_64+0x31/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fd778701303 Code: 49 89 ca b8 e8 00 00 00 0f 05 48 3d 01 f0 ff ff 73 34 c3 48 83 ec 08 e8 0b c2 00 00 48 89 04 24 49 89 ca b8 e8 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 51 c2 00 00 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007ffdf9516c30 EFLAGS: 00000293 ORIG_RAX: 00000000000000e8 RAX: ffffffffffffffda RBX: 0000565519e9bf50 RCX: 00007fd778701303 RDX: 0000000000000025 RSI: 00007ffdf9516c40 RDI: 0000000000000004 RBP: 00007ffdf9516f00 R08: 431bde82d7b634db R09: 000000000000000b R10: 00000000ffffffff R11: 0000000000000293 R12: 00007ffdf9516c40 R13: 0000000000000001 R14: ffffffffffffffff R15: 0000000000000002