INFO: task syz-executor.2:14198 blocked for more than 143 seconds.
Not tainted 6.8.0-syzkaller-00295-g0f1a876682f0 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:26992 pid:14198 tgid:14195 ppid:13870 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5400 [inline]
__schedule+0x17d1/0x49f0 kernel/sched/core.c:6727
__schedule_loop kernel/sched/core.c:6802 [inline]
schedule+0x149/0x260 kernel/sched/core.c:6817
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874
rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178
__down_write_common+0x1ae/0x200 kernel/locking/rwsem.c:1306
filemap_invalidate_lock include/linux/fs.h:838 [inline]
blkdev_fallocate+0x233/0x550 block/fops.c:797
vfs_fallocate+0x564/0x6c0 fs/open.c:328
ksys_fallocate fs/open.c:351 [inline]
__do_sys_fallocate fs/open.c:359 [inline]
__se_sys_fallocate fs/open.c:357 [inline]
__x64_sys_fallocate+0xbd/0x110 fs/open.c:357
do_syscall_64+0xf9/0x240
entry_SYSCALL_64_after_hwframe+0x6f/0x77
RIP: 0033:0x7fc53647dda9
RSP: 002b:00007fc5372a40c8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007fc5365abf80 RCX: 00007fc53647dda9
RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000004
RBP: 00007fc5364ca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000020000020200 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fc5365abf80 R15: 00007fc5366cfa48
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8e130b60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
#0: ffffffff8e130b60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
#0: ffffffff8e130b60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
2 locks held by getty/4826:
#0: ffff88802a6f40a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201
3 locks held by kworker/0:0/13602:
#0: ffff888029cc2138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#0: ffff888029cc2138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
#1: ffffc900031efd20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#1: ffffc900031efd20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
#2: ffffffff8f377008 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4144
3 locks held by kworker/1:0/19593:
#0: ffff888029cc2138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#0: ffff888029cc2138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
#1: ffffc900145f7d20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#1: ffffc900145f7d20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
#2: ffffffff8f377008 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4144
1 lock held by syz-executor.2/13569:
2 locks held by kworker/0:3/14179:
#0: ffff888014c7a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#0: ffff888014c7a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
#1: ffffc900131dfd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline]
#1: ffffc900131dfd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706
1 lock held by syz-executor.2/14198:
#0: ffff88801d0a14c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:838 [inline]
#0: ffff88801d0a14c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x233/0x550 block/fops.c:797
1 lock held by syz-executor.3/14380:
#0: ffff88801d0a14c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:838 [inline]
#0: ffff88801d0a14c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x233/0x550 block/fops.c:797
1 lock held by syz-executor.2/14465:
#0: ffff88801d0a14c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:838 [inline]
#0: ffff88801d0a14c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x233/0x550 block/fops.c:797
1 lock held by syz-executor.2/14706:
5 locks held by syz-executor.4/17627:
#0: ffffffff8f3dab70 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1216
#1: ffffffff8f3daa28 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline]
#1: ffffffff8f3daa28 (genl_mutex){+.+.}-{3:3}, at: genl_op_lock net/netlink/genetlink.c:58 [inline]
#1: ffffffff8f3daa28 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x121/0xe50 net/netlink/genetlink.c:1207
#2: ffffffff8f377008 (rtnl_mutex){+.+.}-{3:3}, at: wg_set_device+0x102/0x2160 drivers/net/wireguard/netlink.c:504
#3: ffff888043d7d3e8 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_set_device+0x11d/0x2160 drivers/net/wireguard/netlink.c:505
#4: ffffffff8e1364f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline]
#4: ffffffff8e1364f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:995
2 locks held by syz-executor.4/17630:
#0: ffffffff8f3dab70 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1216
#1: ffffffff8f3daa28 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline]
#1: ffffffff8f3daa28 (genl_mutex){+.+.}-{3:3}, at: genl_op_lock net/netlink/genetlink.c:58 [inline]
#1: ffffffff8f3daa28 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x121/0xe50 net/netlink/genetlink.c:1207
2 locks held by syz-executor.0/17629:
#0: ffffffff8f3dab70 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1216
#1: ffffffff8f3daa28 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline]
#1: ffffffff8f3daa28 (genl_mutex){+.+.}-{3:3}, at: genl_op_lock net/netlink/genetlink.c:58 [inline]
#1: ffffffff8f3daa28 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x121/0xe50 net/netlink/genetlink.c:1207
2 locks held by syz-executor.0/17631:
#0: ffffffff8f3dab70 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1216
#1: ffffffff8f3daa28 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline]
#1: ffffffff8f3daa28 (genl_mutex){+.+.}-{3:3}, at: genl_op_lock net/netlink/genetlink.c:58 [inline]
#1: ffffffff8f3daa28 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x121/0xe50 net/netlink/genetlink.c:1207
2 locks held by syz-executor.0/17639:
#0: ffffffff8f3dab70 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1216
#1: ffffffff8f3daa28 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline]
#1: ffffffff8f3daa28 (genl_mutex){+.+.}-{3:3}, at: genl_op_lock net/netlink/genetlink.c:58 [inline]
#1: ffffffff8f3daa28 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x121/0xe50 net/netlink/genetlink.c:1207
1 lock held by syz-executor.1/17644:
#0: ffffffff8f377008 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8f377008 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x82c/0x1040 net/core/rtnetlink.c:6614
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-syzkaller-00295-g0f1a876682f0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106
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:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xfaf/0xff0 kernel/hung_task.c:379
kthread+0x2ef/0x390 kernel/kthread.c:388
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 17644 Comm: syz-executor.1 Not tainted 6.8.0-syzkaller-00295-g0f1a876682f0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
RIP: 0010:arch_atomic_dec_and_test arch/x86/include/asm/atomic.h:67 [inline]
RIP: 0010:raw_atomic_dec_and_test include/linux/atomic/atomic-arch-fallback.h:2270 [inline]
RIP: 0010:atomic_dec_and_test include/linux/atomic/atomic-instrumented.h:1376 [inline]
RIP: 0010:page_ref_dec_and_test include/linux/page_ref.h:210 [inline]
RIP: 0010:put_page_testzero include/linux/mm.h:1116 [inline]
RIP: 0010:folio_put_testzero include/linux/mm.h:1121 [inline]
RIP: 0010:release_pages+0x36b/0x2a80 mm/swap.c:1000
Code: 00 41 8b 1c 24 31 ff 89 de e8 91 f6 c5 ff 85 db 0f 84 44 24 00 00 4c 89 e7 be 04 00 00 00 e8 9c 11 28 00 31 db f0 41 ff 0c 24 <41> 0f 94 c7 0f 94 c3 bf 02 00 00 00 89 de e8 22 f5 c5 ff 31 ff 89
RSP: 0018:ffffc900046575e0 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81cd74f4
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffea0001324074
RBP: ffffc90004657758 R08: ffffea0001324077 R09: 1ffffd400026480e
R10: dffffc0000000000 R11: fffff9400026480f R12: ffffea0001324074
R13: 0000000000000000 R14: ffffea0001324040 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555573158f8 CR3: 000000000df32000 CR4: 00000000003506f0
Call Trace:
tlb_batch_pages_flush mm/mmu_gather.c:98 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:293 [inline]
tlb_flush_mmu+0x34c/0x4e0 mm/mmu_gather.c:300
tlb_finish_mmu+0xd4/0x200 mm/mmu_gather.c:392
exit_mmap+0x4b6/0xd40 mm/mmap.c:3300
__mmput+0x115/0x3c0 kernel/fork.c:1345
exit_mm+0x21f/0x310 kernel/exit.c:569
do_exit+0x99d/0x27d0 kernel/exit.c:865
do_group_exit+0x206/0x2c0 kernel/exit.c:1027
get_signal+0x176d/0x1850 kernel/signal.c:2907
arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310
exit_to_user_mode_loop kernel/entry/common.c:105 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline]
syscall_exit_to_user_mode+0xc8/0x360 kernel/entry/common.c:212
do_syscall_64+0x108/0x240 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x6f/0x77
RIP: 0033:0x7f3a9447dda9
Code: Unable to access opcode bytes at 0x7f3a9447dd7f.
RSP: 002b:00007f3a9521e178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f3a945abf88 RCX: 00007f3a9447dda9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f3a945abf88
RBP: 00007f3a945abf80 R08: 00007f3a9521e6c0 R09: 00007f3a9521e6c0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3a945abf8c
R13: 000000000000000b R14: 00007f3a946cf960 R15: 00007f3a946cfa48