INFO: task systemd-udevd:18301 blocked for more than 143 seconds. Not tainted 5.15.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:systemd-udevd state:D stack:25784 pid:18301 ppid: 2964 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 block/bdev.c:681 blkdev_get_by_dev.part.0+0x354/0xb60 block/bdev.c:823 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:856 blkdev_open+0x154/0x2b0 block/fops.c:447 do_dentry_open+0x4c8/0x11d0 fs/open.c:822 do_open fs/namei.c:3428 [inline] path_openat+0x1c9a/0x2740 fs/namei.c:3561 do_filp_open+0x1aa/0x400 fs/namei.c:3588 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:0x7f1ffdcb4840 RSP: 002b:00007fff0f3a5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000556c67b37ee0 RCX: 00007f1ffdcb4840 RDX: 0000556c66d44fe3 RSI: 00000000000a0800 RDI: 0000556c67b4ea10 RBP: 00007fff0f3a51b0 R08: 0000556c66d44670 R09: 0000000000000010 R10: 00007f1ffda2ed70 R11: 0000000000000246 R12: 00007fff0f3a5100 R13: 0000556c67b4c680 R14: 0000000000000003 R15: 000000000000000e Showing all locks held in the system: 5 locks held by kworker/u4:1/10: #0: ffff8880b9c31a58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x1e/0x30 kernel/sched/core.c:474 #1: ffff8880b9c1f9c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x39d/0x480 kernel/sched/psi.c:880 #2: ffffffff8b97fe60 (rcu_read_lock){....}-{1:2}, at: batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] #2: ffffffff8b97fe60 (rcu_read_lock){....}-{1:2}, at: batadv_nc_worker+0xf3/0xfa0 net/batman-adv/network-coding.c:721 #3: ffffffff904013f8 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x12e/0x3e0 lib/debugobjects.c:661 #4: ffff8880b9c20030 (krc.lock){..-.}-{2:2}, at: krc_this_cpu_lock kernel/rcu/tree.c:3179 [inline] #4: ffff8880b9c20030 (krc.lock){..-.}-{2:2}, at: add_ptr_to_bulk_krc_lock kernel/rcu/tree.c:3462 [inline] #4: ffff8880b9c20030 (krc.lock){..-.}-{2:2}, at: kvfree_call_rcu+0xde/0x990 kernel/rcu/tree.c:3553 1 lock held by khungtaskd/27: #0: ffffffff8b97fe60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by syz-executor.3/18295: #0: ffff88801b561918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x97/0x9e0 block/bdev.c:911 1 lock held by syz-executor.3/18338: #0: ffff88801b561918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb60 block/bdev.c:816 1 lock held by systemd-udevd/18301: #0: ffff88801b561918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb60 block/bdev.c:816 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-rc2-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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 10 Comm: kworker/u4:1 Not tainted 5.15.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:132 [inline] RIP: 0010:lock_is_held_type+0xe8/0x140 kernel/locking/lockdep.c:5670 Code: ed 83 e0 03 44 39 f0 41 0f 94 c5 48 c7 c7 c0 fb 8b 89 e8 8b 0d 00 00 b8 ff ff ff ff 65 0f c1 05 de 0e cd 76 83 f8 01 75 29 9c <58> f6 c4 02 75 3d 48 f7 04 24 00 02 00 00 74 01 fb 48 83 c4 08 44 RSP: 0018:ffffc90000cf7ad8 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 0000000000000002 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffffff8b97fda0 R08: 0000000000000000 R09: ffff8880b9c32a0b R10: ffffed1017386541 R11: 0000000000000000 R12: ffff888011ef1c80 R13: 0000000000000000 R14: 00000000ffffffff R15: ffff888011ef26a0 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffb3b487000 CR3: 0000000073dfa000 CR4: 0000000000350ef0 Call Trace: lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125 trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x442/0x510 kernel/locking/lockdep.c:5596 rcu_lock_acquire include/linux/rcupdate.h:267 [inline] rcu_read_lock include/linux/rcupdate.h:687 [inline] batadv_nc_process_nc_paths.part.0+0xec/0x3c0 net/batman-adv/network-coding.c:689 batadv_nc_process_nc_paths net/batman-adv/network-coding.c:681 [inline] batadv_nc_worker+0xc46/0xfa0 net/batman-adv/network-coding.c:730 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): 0: ed in (%dx),%eax 1: 83 e0 03 and $0x3,%eax 4: 44 39 f0 cmp %r14d,%eax 7: 41 0f 94 c5 sete %r13b b: 48 c7 c7 c0 fb 8b 89 mov $0xffffffff898bfbc0,%rdi 12: e8 8b 0d 00 00 callq 0xda2 17: b8 ff ff ff ff mov $0xffffffff,%eax 1c: 65 0f c1 05 de 0e cd xadd %eax,%gs:0x76cd0ede(%rip) # 0x76cd0f02 23: 76 24: 83 f8 01 cmp $0x1,%eax 27: 75 29 jne 0x52 29: 9c pushfq * 2a: 58 pop %rax <-- trapping instruction 2b: f6 c4 02 test $0x2,%ah 2e: 75 3d jne 0x6d 30: 48 f7 04 24 00 02 00 testq $0x200,(%rsp) 37: 00 38: 74 01 je 0x3b 3a: fb sti 3b: 48 83 c4 08 add $0x8,%rsp 3f: 44 rex.R