INFO: task syz.1.4245:16053 blocked for more than 143 seconds.
Not tainted 6.11.0-rc7-syzkaller-00097-g196145c606d0 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.4245 state:D stack:24216 pid:16053 tgid:16052 ppid:8968 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0x1800/0x4a60 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
io_schedule+0x8d/0x110 kernel/sched/core.c:7401
folio_wait_bit_common+0x882/0x12b0 mm/filemap.c:1307
folio_lock include/linux/pagemap.h:1050 [inline]
z_erofs_fill_bio_vec fs/erofs/zdata.c:1470 [inline]
z_erofs_submit_queue fs/erofs/zdata.c:1650 [inline]
z_erofs_runqueue+0xa8c/0x2010 fs/erofs/zdata.c:1732
z_erofs_readahead+0xbae/0xf00 fs/erofs/zdata.c:1863
read_pages+0x180/0x840 mm/readahead.c:160
page_cache_ra_unbounded+0x6ce/0x7f0 mm/readahead.c:273
do_page_cache_ra mm/readahead.c:303 [inline]
force_page_cache_ra+0x280/0x2f0 mm/readahead.c:332
force_page_cache_readahead mm/internal.h:338 [inline]
generic_fadvise+0x528/0x840 mm/fadvise.c:106
vfs_fadvise mm/fadvise.c:185 [inline]
ksys_fadvise64_64 mm/fadvise.c:199 [inline]
__do_sys_fadvise64 mm/fadvise.c:214 [inline]
__se_sys_fadvise64 mm/fadvise.c:212 [inline]
__x64_sys_fadvise64+0x145/0x190 mm/fadvise.c:212
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1c0137def9
RSP: 002b:00007f1c02107038 EFLAGS: 00000246 ORIG_RAX: 00000000000000dd
RAX: ffffffffffffffda RBX: 00007f1c01535f80 RCX: 00007f1c0137def9
RDX: 0000000000004101 RSI: 0000000000e0ffff RDI: 0000000000000004
RBP: 00007f1c013f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f1c01535f80 R15: 00007ffdd4eb18f8
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8e938320 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
#0: ffffffff8e938320 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline]
#0: ffffffff8e938320 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6626
2 locks held by getty/4982:
#0: ffff888030e150a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000311b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ac/0x1e00 drivers/tty/n_tty.c:2211
4 locks held by kworker/1:5/5300:
#0: ffff8880b893e9d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:560
#1: ffff8880b8928948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:989
#2: ffff8880b892a718 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x112/0x240 kernel/time/timer.c:1051
#3: ffffffff9a5966b8 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x16d/0x510 lib/debugobjects.c:709
3 locks held by kworker/1:6/5312:
#0: ffff88801ac78948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline]
#0: ffff88801ac78948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312
#1: ffffc90002f47d00 (key_gc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline]
#1: ffffc90002f47d00 (key_gc_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312
#2: ffffffff8e93d6f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:328 [inline]
#2: ffffffff8e93d6f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:958
1 lock held by syz.1.4245/16053:
#0: ffff888057bb0dd0 (mapping.invalidate_lock#15){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:855 [inline]
#0: ffff888057bb0dd0 (mapping.invalidate_lock#15){.+.+}-{3:3}, at: page_cache_ra_unbounded+0xf7/0x7f0 mm/readahead.c:225
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc7-syzkaller-00097-g196145c606d0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xff4/0x1040 kernel/hung_task.c:379
kthread+0x2f2/0x390 kernel/kthread.c:389
ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 12 Comm: kworker/u8:1 Not tainted 6.11.0-rc7-syzkaller-00097-g196145c606d0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Workqueue: bat_events batadv_nc_worker
RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline]
RIP: 0010:static_key_false include/linux/jump_label.h:207 [inline]
RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:162 [inline]
RIP: 0010:wrmsr arch/x86/include/asm/msr.h:269 [inline]
RIP: 0010:native_apic_msr_write+0x39/0x50 arch/x86/include/asm/apic.h:209
Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 e9 bb 93 b0 0a f3 0f 1e fa 89 f6 31 d2 e9 f3 55 ad 03 0f 1f
RSP: 0018:ffffc90000a18e68 EFLAGS: 00000046
RAX: 0000000000000c0c RBX: 0000000000000020 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 0000000000000c0c RDI: 0000000000000838
RBP: 0000000000000c0c R08: ffffffff81840609 R09: 1ffffffff2030ecd
R10: dffffc0000000000 R11: ffffffff813e7570 R12: 000000000000c0c1
R13: dffffc0000000000 R14: 000000000ffff5ef R15: ffff8880b8928340
FS: 0000000000000000(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fce261052d8 CR3: 0000000028d92000 CR4: 0000000000350ef0
Call Trace:
apic_write arch/x86/include/asm/apic.h:410 [inline]
lapic_next_event+0x11/0x20 arch/x86/kernel/apic/apic.c:415
clockevents_program_event+0x1c3/0x350 kernel/time/clockevents.c:334
hrtimer_interrupt+0x54a/0x990 kernel/time/hrtimer.c:1828
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline]
__sysvec_apic_timer_interrupt+0x112/0x3f0 arch/x86/kernel/apic/apic.c:1049
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:124 [inline]
RIP: 0010:rcu_is_watching+0x10/0xb0 kernel/rcu/tree.c:726
Code: 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 41 56 53 65 ff 05 18 14 8a 7e db 04 40 0a 89 c3 83 f8 08 73 7a 49 bf 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90000117a00 EFLAGS: 00000283
RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff816ff3e0
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90187668
RBP: ffffc90000117b48 R08: ffffffff9018766f R09: 1ffffffff2030ecd
R10: dffffc0000000000 R11: fffffbfff2030ece R12: 1ffff92000022f50
R13: ffffffff8b83deab R14: ffff88802fea0500 R15: dffffc0000000000
trace_lock_release include/trace/events/lock.h:69 [inline]
lock_release+0xbf/0xa30 kernel/locking/lockdep.c:5770
rcu_lock_release include/linux/rcupdate.h:336 [inline]
rcu_read_unlock include/linux/rcupdate.h:869 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline]
batadv_nc_worker+0x28b/0x610 net/batman-adv/network-coding.c:719
process_one_work kernel/workqueue.c:3231 [inline]
process_scheduled_works+0xa2e/0x1830 kernel/workqueue.c:3312
worker_thread+0x870/0xd30 kernel/workqueue.c:3393
kthread+0x2f2/0x390 kernel/kthread.c:389
ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244