INFO: task systemd-udevd:16270 blocked for more than 143 seconds. Not tainted 5.15.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:systemd-udevd state:D stack:26520 pid:16270 ppid: 2965 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:448 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:0x7fc4fed74840 RSP: 002b:00007ffee10e22e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000557a2a125380 RCX: 00007fc4fed74840 RDX: 0000557a2840dfe3 RSI: 00000000000a0800 RDI: 0000557a2a1208d0 RBP: 00007ffee10e2460 R08: 0000557a2840d670 R09: 0000000000000010 R10: 00007fc4feaeed70 R11: 0000000000000246 R12: 00007ffee10e23b0 R13: 0000557a2a127040 R14: 0000000000000003 R15: 000000000000000e INFO: task syz-executor.4:16309 blocked for more than 143 seconds. Not tainted 5.15.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28152 pid:16309 ppid: 6529 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 block/bdev.c:911 blkdev_close+0x8d/0xb0 block/fops.c:460 __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:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f33c5ec951b RSP: 002b:00007ffd54e23c80 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007f33c5ec951b RDX: 00007f33c6020758 RSI: ffffffff893516a8 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2bc25af0 R10: 0000000000001d46 R11: 0000000000000293 R12: 000000000007190d R13: 00000000000003e8 R14: 00007f33c601af60 R15: 000000000007189a Showing all locks held in the system: 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 in:imklog/6222: #0: ffff888072c60370 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 5 locks held by kworker/u4:9/9721: 1 lock held by systemd-udevd/16270: #0: ffff88801bd7e118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb60 block/bdev.c:816 1 lock held by syz-executor.4/16309: #0: ffff88801bd7e118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x97/0x9e0 block/bdev.c:911 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-rc3-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-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:kasan_check_range+0x132/0x180 mm/kasan/generic.c:190 Code: 2c 48 85 d2 75 0b 48 89 da 48 29 c2 e9 55 ff ff ff 49 39 d2 75 17 49 0f be 02 41 83 e1 07 49 39 c1 7d 0a 5b b8 01 00 00 00 5d <41> 5c c3 44 89 c2 e8 73 f0 ff ff 5b 83 f0 01 5d 41 5c c3 48 29 c3 RSP: 0018:ffffc90000cf7b10 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 1ffff9200019ef66 RCX: ffffffff815b56d8 RDX: fffffbfff1adca33 RSI: 0000000000000008 RDI: ffffffff8d6e5190 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8d6e5197 R10: fffffbfff1adca32 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88803e030a58 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faa5579d000 CR3: 000000001e055000 CR4: 0000000000350ef0 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] cpumask_test_cpu include/linux/cpumask.h:344 [inline] cpu_online include/linux/cpumask.h:895 [inline] trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0xb8/0x510 kernel/locking/lockdep.c:5596 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:368 [inline] batadv_nc_purge_paths+0xdf/0x3a0 net/batman-adv/network-coding.c:444 batadv_nc_worker+0x930/0xfa0 net/batman-adv/network-coding.c:724 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: 2c 48 sub $0x48,%al 2: 85 d2 test %edx,%edx 4: 75 0b jne 0x11 6: 48 89 da mov %rbx,%rdx 9: 48 29 c2 sub %rax,%rdx c: e9 55 ff ff ff jmpq 0xffffff66 11: 49 39 d2 cmp %rdx,%r10 14: 75 17 jne 0x2d 16: 49 0f be 02 movsbq (%r10),%rax 1a: 41 83 e1 07 and $0x7,%r9d 1e: 49 39 c1 cmp %rax,%r9 21: 7d 0a jge 0x2d 23: 5b pop %rbx 24: b8 01 00 00 00 mov $0x1,%eax 29: 5d pop %rbp * 2a: 41 5c pop %r12 <-- trapping instruction 2c: c3 retq 2d: 44 89 c2 mov %r8d,%edx 30: e8 73 f0 ff ff callq 0xfffff0a8 35: 5b pop %rbx 36: 83 f0 01 xor $0x1,%eax 39: 5d pop %rbp 3a: 41 5c pop %r12 3c: c3 retq 3d: 48 29 c3 sub %rax,%rbx