INFO: task syz-executor.3:26302 blocked for more than 143 seconds.
Not tainted 6.0.0-rc1-syzkaller-00409-ge3f259d33c0e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:28536 pid:26302 ppid: 3645 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5182 [inline]
__schedule+0x957/0xe20 kernel/sched/core.c:6494
schedule+0xcb/0x190 kernel/sched/core.c:6570
rwsem_down_write_slowpath+0xe1c/0x1390 kernel/locking/rwsem.c:1182
__down_write_common kernel/locking/rwsem.c:1297 [inline]
__down_write kernel/locking/rwsem.c:1306 [inline]
down_write+0x163/0x170 kernel/locking/rwsem.c:1553
filemap_invalidate_lock include/linux/fs.h:801 [inline]
blkdev_fallocate+0x21f/0x390 block/fops.c:641
vfs_fallocate+0x515/0x670 fs/open.c:323
madvise_remove+0x221/0x290 mm/madvise.c:976
madvise_vma_behavior mm/madvise.c:1000 [inline]
madvise_walk_vmas mm/madvise.c:1232 [inline]
do_madvise+0x7b7/0x1f30 mm/madvise.c:1410
__do_sys_madvise mm/madvise.c:1423 [inline]
__se_sys_madvise mm/madvise.c:1421 [inline]
__x64_sys_madvise+0xa2/0xb0 mm/madvise.c:1421
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fdb71289279
RSP: 002b:00007fdb72353168 EFLAGS: 00000246 ORIG_RAX: 000000000000001c
RAX: ffffffffffffffda RBX: 00007fdb7139c050 RCX: 00007fdb71289279
RDX: 0000000000000009 RSI: 0000000000600003 RDI: 0000000020000000
RBP: 00007fdb712e3189 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffed1ed592f R14: 00007fdb72353300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8cd20970 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8cd21170 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by khungtaskd/28:
#0: ffffffff8cd207a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by kworker/u4:4/91:
#0: ffff8880b9a39c18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:544
#1: ffffc90001587d00 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264
2 locks held by getty/3285:
#0: ffff8880272e9098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc90002d232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2177
3 locks held by kworker/u4:8/6788:
1 lock held by syz-executor.3/26300:
1 lock held by syz-executor.3/26302:
#0: ffff88801bf79ec0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:801 [inline]
#0: ffff88801bf79ec0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21f/0x390 block/fops.c:641
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.0.0-rc1-syzkaller-00409-ge3f259d33c0e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
nmi_cpu_backtrace+0x47c/0x4b0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x169/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+0xcd5/0xd20 kernel/hung_task.c:369
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 6788 Comm: kworker/u4:8 Not tainted 6.0.0-rc1-syzkaller-00409-ge3f259d33c0e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:__prepare_ICR arch/x86/kernel/apic/local.h:38 [inline]
RIP: 0010:__default_send_IPI_dest_field+0x79/0xe0 arch/x86/kernel/apic/ipi.c:167
Code: c7 c7 00 c3 5f ff e8 96 a1 a2 00 66 0f 1f 44 00 00 f7 04 25 00 c3 5f ff 00 10 00 00 75 d3 41 c1 e7 18 44 89 3c 25 10 c3 5f ff <44> 09 f3 89 1c 25 00 c3 5f ff 5b 41 5e 41 5f 5d c3 48 c7 c0 00 db
RSP: 0018:ffffc900035ef598 EFLAGS: 00000006
RAX: 0000000080000000 RBX: 00000000000000fb RCX: dffffc0000000000
RDX: 0000000000000800 RSI: 00000000000000fb RDI: 0000000000000001
RBP: fffffbffffebf860 R08: ffffffff817e9ee4 R09: ffffed101736759b
R10: ffffed101736759b R11: 1ffff1101736759a R12: 1ffff920006bdebc
R13: dffffc0000000000 R14: 0000000000000800 R15: 0000000001000000
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0304b3000 CR3: 000000000ca8e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
_flat_send_IPI_mask+0xed/0x190 arch/x86/kernel/apic/apic_flat_64.c:56
arch_send_call_function_single_ipi arch/x86/include/asm/smp.h:119 [inline]
send_call_function_single_ipi+0x17f/0x1e0 kernel/sched/core.c:3756
smp_call_function_many_cond+0xda1/0x16f0 kernel/smp.c:968
on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1154
on_each_cpu include/linux/smp.h:71 [inline]
text_poke_sync arch/x86/kernel/alternative.c:1302 [inline]
text_poke_bp_batch+0x661/0x970 arch/x86/kernel/alternative.c:1543
text_poke_flush arch/x86/kernel/alternative.c:1660 [inline]
text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1667
arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
static_key_enable_cpuslocked+0x129/0x250 kernel/jump_label.c:177
static_key_enable+0x16/0x20 kernel/jump_label.c:190
toggle_allocation_gate+0xbf/0x470 mm/kfence/core.c:811
process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30