INFO: task systemd-udevd:17387 blocked for more than 143 seconds. Not tainted 5.14.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:systemd-udevd state:D stack:26824 pid:17387 ppid: 2974 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 io_schedule+0xba/0x130 kernel/sched/core.c:8389 wait_on_page_bit_common+0x537/0xe60 mm/filemap.c:1356 wait_on_page_bit mm/filemap.c:1417 [inline] wait_on_page_locked include/linux/pagemap.h:688 [inline] wait_on_page_read mm/filemap.c:3422 [inline] do_read_cache_page+0x96b/0x13c0 mm/filemap.c:3465 read_mapping_page include/linux/pagemap.h:515 [inline] read_part_sector+0xfa/0x5c0 block/partitions/core.c:725 adfspart_check_ICS+0x9d/0xc90 block/partitions/acorn.c:360 check_partition block/partitions/core.c:147 [inline] blk_add_partitions block/partitions/core.c:610 [inline] bdev_disk_changed+0x7bc/0x1140 block/partitions/core.c:696 blkdev_get_whole+0x206/0x2a0 fs/block_dev.c:1092 blkdev_get_by_dev.part.0+0x354/0xb60 fs/block_dev.c:1234 blkdev_get_by_dev fs/block_dev.c:1323 [inline] blkdev_open+0x295/0x300 fs/block_dev.c:1329 do_dentry_open+0x4c8/0x11d0 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x1c9a/0x2740 fs/namei.c:3559 do_filp_open+0x1aa/0x400 fs/namei.c:3586 do_sys_openat2+0x16d/0x4d0 fs/open.c:1200 do_sys_open fs/open.c:1216 [inline] __do_sys_open fs/open.c:1224 [inline] __se_sys_open fs/open.c:1220 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1220 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:0x7f13c6ed8840 RSP: 002b:00007ffca57eef18 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000056081eb729d0 RCX: 00007f13c6ed8840 RDX: 000056081da63fe3 RSI: 0000000000080000 RDI: 000056081eb84140 RBP: 0000000000000001 R08: 000056081da63670 R09: 0000000000000110 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 000056081eb7c0a0 R15: 00000000ffffffff INFO: task syz-executor.4:18138 blocked for more than 143 seconds. Not tainted 5.14.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27832 pid:18138 ppid: 6565 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425 __mutex_lock_common kernel/locking/mutex.c:669 [inline] __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729 blkdev_put+0x97/0x9e0 fs/block_dev.c:1351 blkdev_close+0x8c/0xb0 fs/block_dev.c:1403 __fput+0x288/0x9f0 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+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x41940b RSP: 002b:00007fff18b6fa50 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 000000000041940b RDX: 0000000000000000 RSI: ffffffff89350308 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2d6249d0 R10: 000000000000103b R11: 0000000000000293 R12: 000000000056cb00 R13: 000000000056cb00 R14: 000000000056bf80 R15: 00000000000753ea Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8b97d360 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by systemd-udevd/17387: #0: ffff88801c1c4918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb60 fs/block_dev.c:1227 1 lock held by syz-executor.4/18138: #0: ffff88801c1c4918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x97/0x9e0 fs/block_dev.c:1351 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.14.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:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 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+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 1112 Comm: kworker/u4:4 Not tainted 5.14.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:match_held_lock+0x14/0xc0 kernel/locking/lockdep.c:5077 Code: 89 e8 14 06 be ff e8 e4 e2 cc ff 31 c0 5d c3 0f 1f 80 00 00 00 00 53 48 89 fb 48 83 ec 08 48 39 77 10 74 6a 66 f7 47 22 f0 ff <74> 5a 48 8b 46 08 48 89 f7 48 85 c0 74 42 8b 15 68 ff ef 06 85 d2 RSP: 0018:ffffc90004a67ae0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff88801d166bb8 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8b97d2a0 RDI: ffff88801d166bb8 RBP: ffffffff8b97d2a0 R08: 0000000000000000 R09: ffff8880b9d32a8b R10: ffffed10173a6551 R11: 0000000000000000 R12: ffff88801d1661c0 R13: ffff88801d166bb8 R14: 00000000ffffffff R15: ffff88801d166bb8 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f18a581e000 CR3: 0000000079ae4000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_is_held kernel/locking/lockdep.c:5368 [inline] lock_is_held_type+0xa7/0x140 kernel/locking/lockdep.c:5668 lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125 trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x522/0x720 kernel/locking/lockdep.c:5636 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:174 [inline] _raw_spin_unlock_bh+0x12/0x30 kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:408 [inline] batadv_nc_purge_paths+0x2a5/0x3a0 net/batman-adv/network-coding.c:473 batadv_nc_worker+0x8f9/0xfa0 net/batman-adv/network-coding.c:722 process_one_work+0x9bf/0x16b0 kernel/workqueue.c:2297 worker_thread+0x658/0x11f0 kernel/workqueue.c:2444 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: e8 14 06 be ff callq 0xffbe0619 5: e8 e4 e2 cc ff callq 0xffcce2ee a: 31 c0 xor %eax,%eax c: 5d pop %rbp d: c3 retq e: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 15: 53 push %rbx 16: 48 89 fb mov %rdi,%rbx 19: 48 83 ec 08 sub $0x8,%rsp 1d: 48 39 77 10 cmp %rsi,0x10(%rdi) 21: 74 6a je 0x8d 23: 66 f7 47 22 f0 ff testw $0xfff0,0x22(%rdi) * 29: 74 5a je 0x85 <-- trapping instruction 2b: 48 8b 46 08 mov 0x8(%rsi),%rax 2f: 48 89 f7 mov %rsi,%rdi 32: 48 85 c0 test %rax,%rax 35: 74 42 je 0x79 37: 8b 15 68 ff ef 06 mov 0x6efff68(%rip),%edx # 0x6efffa5 3d: 85 d2 test %edx,%edx