INFO: task syz.5.2976:17664 blocked for more than 143 seconds.
Not tainted 6.13.0-rc2-syzkaller-00018-g7cb1b4663150 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.5.2976 state:D stack:27360 pid:17664 tgid:17657 ppid:16862 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5369 [inline]
__schedule+0x17fb/0x4be0 kernel/sched/core.c:6756
__schedule_loop kernel/sched/core.c:6833 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6848
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905
rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176
__down_write_common kernel/locking/rwsem.c:1304 [inline]
__down_write kernel/locking/rwsem.c:1313 [inline]
down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578
filemap_invalidate_lock include/linux/fs.h:863 [inline]
blkdev_fallocate+0x20e/0x490 block/fops.c:813
vfs_fallocate+0x569/0x6e0 fs/open.c:327
madvise_remove mm/madvise.c:1020 [inline]
madvise_vma_behavior mm/madvise.c:1255 [inline]
madvise_walk_vmas mm/madvise.c:1497 [inline]
do_madvise+0x23c1/0x4d10 mm/madvise.c:1684
__do_sys_madvise mm/madvise.c:1700 [inline]
__se_sys_madvise mm/madvise.c:1698 [inline]
__x64_sys_madvise+0xa6/0xc0 mm/madvise.c:1698
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:0x7fe99f17ff19
RSP: 002b:00007fe99fee1058 EFLAGS: 00000246 ORIG_RAX: 000000000000001c
RAX: ffffffffffffffda RBX: 00007fe99f346240 RCX: 00007fe99f17ff19
RDX: 0000000000000009 RSI: 0000000000600002 RDI: 0000000020000000
RBP: 00007fe99f1f3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007fe99f346240 R15: 00007ffc445c5f88
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744
4 locks held by kworker/u8:2/35:
3 locks held by kworker/u8:4/60:
#0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310
#1: ffffc9000212fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc9000212fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310
#2: ffffffff8fc9f008 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:281
1 lock held by kswapd0/88:
3 locks held by kworker/u8:7/3489:
3 locks held by kworker/u8:8/3564:
#0: ffff88803086e948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88803086e948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310
#1: ffffc9000c8b7d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc9000c8b7d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310
#2: ffffffff8fc9f008 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4215
2 locks held by getty/5576:
#0: ffff88814d82f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000331b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211
1 lock held by syz.5.1782/12889:
#0: ffff8880235070c0 (mapping.invalidate_lock#2){++++}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:873 [inline]
#0: ffff8880235070c0 (mapping.invalidate_lock#2){++++}-{4:4}, at: filemap_fault+0xb3e/0x1490 mm/filemap.c:3351
1 lock held by syz.7.1765/12966:
1 lock held by syz.5.2976/17660:
#0: ffff8880235070c0 (mapping.invalidate_lock#2){++++}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:873 [inline]
#0: ffff8880235070c0 (mapping.invalidate_lock#2){++++}-{4:4}, at: filemap_fault+0xb3e/0x1490 mm/filemap.c:3351
1 lock held by syz.5.2976/17664:
#0: ffff8880235070c0 (mapping.invalidate_lock#2){++++}-{4:4}, at: filemap_invalidate_lock include/linux/fs.h:863 [inline]
#0: ffff8880235070c0 (mapping.invalidate_lock#2){++++}-{4:4}, at: blkdev_fallocate+0x20e/0x490 block/fops.c:813
1 lock held by syz.0.3173/18527:
#0: ffff8880235070c0 (mapping.invalidate_lock#2){++++}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:873 [inline]
#0: ffff8880235070c0 (mapping.invalidate_lock#2){++++}-{4:4}, at: page_cache_ra_unbounded+0x142/0x720 mm/readahead.c:226
1 lock held by syz.0.3173/18528:
#0: ffff8880235070c0 (mapping.invalidate_lock#2){++++}-{4:4}, at: filemap_invalidate_lock include/linux/fs.h:863 [inline]
#0: ffff8880235070c0 (mapping.invalidate_lock#2){++++}-{4:4}, at: blkdev_fallocate+0x20e/0x490 block/fops.c:813
1 lock held by syz.7.3180/18570:
1 lock held by syz.7.3180/18571:
2 locks held by syz.7.3180/18572:
2 locks held by syz.7.3180/18573:
2 locks held by syz.7.3180/18578:
2 locks held by syz-executor/18589:
#0: ffffffff8fc92b90 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x328/0x570 net/core/net_namespace.c:496
#1: ffffffff8fc9f008 (rtnl_mutex){+.+.}-{4:4}, at: ip_tunnel_init_net+0x20e/0x720 net/ipv4/ip_tunnel.c:1159
2 locks held by syz-executor/18591:
#0: ffffffff8fc92b90 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x328/0x570 net/core/net_namespace.c:496
#1: ffffffff8fc9f008 (rtnl_mutex){+.+.}-{4:4}, at: ip_tunnel_init_net+0x20e/0x720 net/ipv4/ip_tunnel.c:1159
1 lock held by syz.6.3191/18595:
#0: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline]
#0: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc2-syzkaller-00018-g7cb1b4663150 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
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:234 [inline]
watchdog+0xff6/0x1040 kernel/hung_task.c:397
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 17345 Comm: syz-executor Not tainted 6.13.0-rc2-syzkaller-00018-g7cb1b4663150 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:check_preemption_disabled+0x0/0x120 lib/smp_processor_id.c:13
Code: c7 a0 c2 5e 8c 48 c7 c6 e0 c2 5e 8c eb 1c 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <41> 57 41 56 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89
RSP: 0018:ffffc90003fc6850 EFLAGS: 00000046
RAX: 0000000000000001 RBX: 0000000000000001 RCX: 1ffffffff2030db0
RDX: ffff88802968da00 RSI: ffffffff8c0aa960 RDI: ffffffff8c5ec300
RBP: 0000000000000000 R08: ffffffff81df6c07 R09: 1ffffd400021d668
R10: dffffc0000000000 R11: fffff9400021d669 R12: 0000000000000046
R13: ffff88802968da00 R14: 00000000ffffffff R15: ffff88807e8b98b0
FS: 0000555581f63500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc97e2cff8 CR3: 000000006bd1e000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000097 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline]
lock_is_held_type+0x101/0x190 kernel/locking/lockdep.c:5922
lock_is_held include/linux/lockdep.h:249 [inline]
__update_lru_size include/linux/mm_inline.h:44 [inline]
update_lru_size include/linux/mm_inline.h:56 [inline]
lruvec_add_folio include/linux/mm_inline.h:349 [inline]
move_folios_to_lru+0x7ca/0x12b0 mm/vmscan.c:1883
shrink_inactive_list mm/vmscan.c:1963 [inline]
shrink_list mm/vmscan.c:2198 [inline]
shrink_lruvec+0x16f3/0x2f30 mm/vmscan.c:5727
shrink_node_memcgs mm/vmscan.c:5929 [inline]
shrink_node+0x12a4/0x2e10 mm/vmscan.c:5970
shrink_zones mm/vmscan.c:6215 [inline]
do_try_to_free_pages+0x69d/0x1b20 mm/vmscan.c:6277
try_to_free_mem_cgroup_pages+0x4b8/0xaf0 mm/vmscan.c:6609
try_charge_memcg+0x8c7/0x1150 mm/memcontrol.c:2238
obj_cgroup_charge_pages+0x91/0x230 mm/memcontrol.c:2646
obj_cgroup_charge+0x380/0x5d0 mm/memcontrol.c:2937
__memcg_slab_post_alloc_hook+0x1b1/0x7e0 mm/memcontrol.c:2998
memcg_slab_post_alloc_hook mm/slub.c:2152 [inline]
slab_post_alloc_hook mm/slub.c:4114 [inline]
slab_alloc_node mm/slub.c:4153 [inline]
kmem_cache_alloc_noprof+0x287/0x380 mm/slub.c:4160
alloc_empty_file+0x9e/0x1d0 fs/file_table.c:228
path_openat+0x107/0x3590 fs/namei.c:3973
do_filp_open+0x27f/0x4e0 fs/namei.c:4014
do_sys_openat2+0x13e/0x1d0 fs/open.c:1402
do_sys_open fs/open.c:1417 [inline]
__do_sys_openat fs/open.c:1433 [inline]
__se_sys_openat fs/open.c:1428 [inline]
__x64_sys_openat+0x247/0x2a0 fs/open.c:1428
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:0x7f068f37f811
Code: 44 24 18 31 c0 41 83 e2 40 75 3e 89 f0 25 00 00 41 00 3d 00 00 41 00 74 30 89 f2 b8 01 01 00 00 48 89 fe bf 9c ff ff ff 0f 05 <48> 3d 00 f0 ff ff 77 3f 48 8b 54 24 18 64 48 2b 14 25 28 00 00 00
RSP: 002b:00007ffdfe8b26e0 EFLAGS: 00000287 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 000000000000012e RCX: 00007f068f37f811
RDX: 0000000000090800 RSI: 00007f068f3f3fe8 RDI: 00000000ffffff9c
RBP: 00007ffdfe8b277c R08: 0000000000000000 R09: 7fffffffffffffff
R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000
R13: 0000000000132474 R14: 00000000001323c0 R15: 00007ffdfe8b27d0