INFO: task syz.2.563:6428 blocked for more than 143 seconds. Not tainted 5.15.180-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.563 state:D stack:25832 pid: 6428 ppid: 4176 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 io_schedule+0x7c/0xd0 kernel/sched/core.c:8484 wait_on_page_bit_common+0x815/0xe00 mm/filemap.c:1356 lock_page include/linux/pagemap.h:625 [inline] pickup_page_for_submission fs/erofs/zdata.c:1135 [inline] z_erofs_submit_queue fs/erofs/zdata.c:1306 [inline] z_erofs_runqueue+0x6bf/0x1890 fs/erofs/zdata.c:1367 z_erofs_readahead+0xb81/0x10c0 fs/erofs/zdata.c:1459 read_pages+0x165/0x920 mm/readahead.c:130 page_cache_ra_unbounded+0x830/0x930 mm/readahead.c:239 do_page_cache_ra mm/readahead.c:269 [inline] force_page_cache_ra+0x3e5/0x440 mm/readahead.c:301 force_page_cache_readahead mm/internal.h:78 [inline] generic_fadvise+0x520/0x7d0 mm/fadvise.c:107 vfs_fadvise mm/fadvise.c:186 [inline] ksys_fadvise64_64 mm/fadvise.c:200 [inline] __do_sys_fadvise64 mm/fadvise.c:215 [inline] __se_sys_fadvise64 mm/fadvise.c:213 [inline] __x64_sys_fadvise64+0x139/0x180 mm/fadvise.c:213 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fccd2778969 RSP: 002b:00007fccd05bf038 EFLAGS: 00000246 ORIG_RAX: 00000000000000dd RAX: ffffffffffffffda RBX: 00007fccd29a0080 RCX: 00007fccd2778969 RDX: 0000000000004101 RSI: 0000000000e0ffff RDI: 0000000000000004 RBP: 00007fccd27faab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fccd29a0080 R15: 00007fff2d9dfe68 Showing all locks held in the system: 5 locks held by kworker/1:0/21: 1 lock held by khungtaskd/27: #0: ffffffff8c11d9e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u4:1/144: #0: ffff8880b913a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 #1: ffff8880b9127848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4d6/0x810 kernel/sched/psi.c:891 2 locks held by udevd/3546: #0: ffff88801f8c4518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xf9/0x7d0 block/bdev.c:915 #1: ffff888147bf8468 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:2070 2 locks held by getty/3932: #0: ffff88807f061098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900025c62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158 2 locks held by kworker/u5:8/4185: #0: ffff888147d89138 ((wq_completion)nbd0-recv){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000303fd00 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 4 locks held by kworker/1:8/4217: #0: ffff8880b913a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 #1: ffff8880b9127848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4d6/0x810 kernel/sched/psi.c:891 #2: ffff888023d31240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x271/0x3240 drivers/net/netdevsim/fib.c:1480 #3: ffff8880b913a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 1 lock held by syz.2.563/6428: #0: ffff888054dd4320 (mapping.invalidate_lock#13){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:842 [inline] #0: ffff888054dd4320 (mapping.invalidate_lock#13){.+.+}-{3:3}, at: page_cache_ra_unbounded+0x190/0x930 mm/readahead.c:195 1 lock held by syz-executor/6728: #0: ffffffff8c122468 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #0: ffffffff8c122468 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x347/0x6b0 kernel/rcu/tree_exp.h:845 2 locks held by syz.7.1734/11395: #0: ffff88801fad9918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xf9/0x7d0 block/bdev.c:915 #1: ffff88801faca468 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:2070 1 lock held by syz.1.1736/11405: #0: ffff88801f8c4518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x157/0xa60 block/bdev.c:820 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xe0f/0xe50 kernel/hung_task.c:369 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4242 Comm: kworker/u4:5 Not tainted 5.15.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Workqueue: bat_events batadv_nc_worker RIP: 0010:__kasan_check_read+0x0/0x10 mm/kasan/shadow.c:31 Code: 41 5c 41 5d 41 5e 41 5f 5d c3 48 c7 c7 84 4a b7 8b eb 0a 48 c7 c7 c1 60 a1 8b 48 89 de e8 78 42 d9 07 31 ed eb d7 00 00 cc cc <89> f6 48 8b 0c 24 31 d2 e9 43 ef ff ff 0f 1f 00 89 f6 48 8b 0c 24 RSP: 0018:ffffc9000325f818 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000015 RCX: ffffffff815beb2b RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff8ff9a0c0 RBP: ffffc9000325fa70 R08: dffffc0000000000 R09: fffffbfff1ff3419 R10: fffffbfff1ff3419 R11: 1ffffffff1ff3418 R12: ffff8880176364a0 R13: ffff888017635940 R14: 0000000000000002 R15: ffff888017636480 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3d01460420 CR3: 000000005cbc9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] hlock_class kernel/locking/lockdep.c:197 [inline] check_wait_context kernel/locking/lockdep.c:4687 [inline] __lock_acquire+0x5cd/0x7c60 kernel/locking/lockdep.c:4962 lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0xc9/0x5c0 net/batman-adv/network-coding.c:723 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287