INFO: task syz-executor.1:6749 blocked for more than 143 seconds.
Not tainted 6.3.0-rc5-next-20230406-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:25552 pid:6749 ppid:5124 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5333 [inline]
__schedule+0x1d23/0x5650 kernel/sched/core.c:6658
schedule+0xde/0x1a0 kernel/sched/core.c:6734
io_schedule+0xbe/0x130 kernel/sched/core.c:8968
folio_wait_bit_common+0x394/0x9b0 mm/filemap.c:1301
__folio_lock mm/filemap.c:1664 [inline]
folio_lock include/linux/pagemap.h:953 [inline]
folio_lock include/linux/pagemap.h:949 [inline]
__filemap_get_folio+0x789/0x990 mm/filemap.c:1931
pagecache_get_page+0x2e/0x270 mm/folio-compat.c:99
find_or_create_page include/linux/pagemap.h:633 [inline]
ni_readpage_cmpr+0x236/0xcd0 fs/ntfs3/frecord.c:2131
ntfs_read_folio+0x101/0x1e0 fs/ntfs3/inode.c:716
filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2421
filemap_create_folio mm/filemap.c:2549 [inline]
filemap_get_pages+0x42a/0x1620 mm/filemap.c:2602
filemap_splice_read+0x2eb/0x890 mm/filemap.c:2906
generic_file_splice_read+0x131/0x1b0 fs/splice.c:400
vfs_splice_read+0x1bd/0x250 fs/splice.c:880
splice_direct_to_actor+0x2ab/0x8a0 fs/splice.c:952
do_splice_direct+0x1ab/0x280 fs/splice.c:1061
do_sendfile+0xb19/0x12c0 fs/read_write.c:1254
__do_sys_sendfile64 fs/read_write.c:1322 [inline]
__se_sys_sendfile64 fs/read_write.c:1308 [inline]
__x64_sys_sendfile64+0x1d0/0x210 fs/read_write.c:1308
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f13f988c169
RSP: 002b:00007f13fa665168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f13f99abf80 RCX: 00007f13f988c169
RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000005
RBP: 00007f13f98e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcdae69d3f R14: 00007f13fa665300 R15: 0000000000022000
INFO: task syz-executor.1:6791 blocked for more than 143 seconds.
Not tainted 6.3.0-rc5-next-20230406-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:27008 pid:6791 ppid:5124 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5333 [inline]
__schedule+0x1d23/0x5650 kernel/sched/core.c:6658
schedule+0xde/0x1a0 kernel/sched/core.c:6734
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6793
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
ni_lock fs/ntfs3/ntfs_fs.h:1121 [inline]
ntfs_read_folio+0xf6/0x1e0 fs/ntfs3/inode.c:715
filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2421
filemap_create_folio mm/filemap.c:2549 [inline]
filemap_get_pages+0x42a/0x1620 mm/filemap.c:2602
filemap_splice_read+0x2eb/0x890 mm/filemap.c:2906
generic_file_splice_read+0x131/0x1b0 fs/splice.c:400
vfs_splice_read+0x1bd/0x250 fs/splice.c:880
splice_direct_to_actor+0x2ab/0x8a0 fs/splice.c:952
do_splice_direct+0x1ab/0x280 fs/splice.c:1061
do_sendfile+0xb19/0x12c0 fs/read_write.c:1254
__do_sys_sendfile64 fs/read_write.c:1316 [inline]
__se_sys_sendfile64 fs/read_write.c:1308 [inline]
__x64_sys_sendfile64+0x14d/0x210 fs/read_write.c:1308
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f13f988c169
RSP: 002b:00007f13fa644168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f13f99ac050 RCX: 00007f13f988c169
RDX: 0000000020000040 RSI: 0000000000000004 RDI: 0000000000000006
RBP: 00007f13f98e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 000000007fffffff R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcdae69d3f R14: 00007f13fa644300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8c796ab0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:519
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8c7967b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:519
1 lock held by khungtaskd/28:
#0: ffffffff8c7976c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6545
2 locks held by kworker/1:2/898:
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline]
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline]
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline]
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2376
#1: ffffc900054bfdb0 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380
4 locks held by klogd/4436:
#0: ffff8880b983c698 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:566 [inline]
#0: ffff8880b983c698 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x90/0x120 kernel/sched/core.c:551
#1: ffffffff8c910c00 (mmu_notifier_invalidate_range_start){+.+.}-{0:0}, at: mm_cid_put kernel/sched/sched.h:3274 [inline]
#1: ffffffff8c910c00 (mmu_notifier_invalidate_range_start){+.+.}-{0:0}, at: mm_cid_put kernel/sched/sched.h:3269 [inline]
#1: ffffffff8c910c00 (mmu_notifier_invalidate_range_start){+.+.}-{0:0}, at: switch_mm_cid kernel/sched/sched.h:3302 [inline]
#1: ffffffff8c910c00 (mmu_notifier_invalidate_range_start){+.+.}-{0:0}, at: prepare_task_switch kernel/sched/core.c:5142 [inline]
#1: ffffffff8c910c00 (mmu_notifier_invalidate_range_start){+.+.}-{0:0}, at: context_switch kernel/sched/core.c:5284 [inline]
#1: ffffffff8c910c00 (mmu_notifier_invalidate_range_start){+.+.}-{0:0}, at: __schedule+0x27ed/0x5650 kernel/sched/core.c:6658
#2: ffff88807e36c3f0 (&p->pi_lock){-.-.}-{2:2}, at: try_to_wake_up+0xab/0x1a50 kernel/sched/core.c:4187
#3: ffff8880b983c698 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:566 [inline]
#3: ffff8880b983c698 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x90/0x120 kernel/sched/core.c:551
2 locks held by getty/4760:
#0: ffff88814b148098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176
3 locks held by kworker/1:7/5171:
#0: ffff888147035138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888147035138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888147035138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline]
#0: ffff888147035138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline]
#0: ffff888147035138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline]
#0: ffff888147035138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2376
#1: ffffc900051efdb0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380
#2: ffffffff8e1051e8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xa7/0x1390 net/ipv6/addrconf.c:4088
3 locks held by syz-executor.1/6749:
#0: ffff888035cf4460 (sb_writers#20){.+.+}-{0:0}, at: __do_sys_sendfile64 fs/read_write.c:1322 [inline]
#0: ffff888035cf4460 (sb_writers#20){.+.+}-{0:0}, at: __se_sys_sendfile64 fs/read_write.c:1308 [inline]
#0: ffff888035cf4460 (sb_writers#20){.+.+}-{0:0}, at: __x64_sys_sendfile64+0x1d0/0x210 fs/read_write.c:1308
#1: ffff88803a075dc0 (mapping.invalidate_lock#4){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:816 [inline]
#1: ffff88803a075dc0 (mapping.invalidate_lock#4){++++}-{3:3}, at: filemap_create_folio mm/filemap.c:2541 [inline]
#1: ffff88803a075dc0 (mapping.invalidate_lock#4){++++}-{3:3}, at: filemap_get_pages+0x37d/0x1620 mm/filemap.c:2602
#2: ffff88803a075980 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1121 [inline]
#2: ffff88803a075980 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_read_folio+0xf6/0x1e0 fs/ntfs3/inode.c:715
3 locks held by syz-executor.1/6791:
#0: ffff888035cf4460 (sb_writers#20){.+.+}-{0:0}, at: __do_sys_sendfile64 fs/read_write.c:1316 [inline]
#0: ffff888035cf4460 (sb_writers#20){.+.+}-{0:0}, at: __se_sys_sendfile64 fs/read_write.c:1308 [inline]
#0: ffff888035cf4460 (sb_writers#20){.+.+}-{0:0}, at: __x64_sys_sendfile64+0x14d/0x210 fs/read_write.c:1308
#1: ffff88803a075dc0 (mapping.invalidate_lock#4){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:816 [inline]
#1: ffff88803a075dc0 (mapping.invalidate_lock#4){++++}-{3:3}, at: filemap_create_folio mm/filemap.c:2541 [inline]
#1: ffff88803a075dc0 (mapping.invalidate_lock#4){++++}-{3:3}, at: filemap_get_pages+0x37d/0x1620 mm/filemap.c:2602
#2: ffff88803a075980 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1121 [inline]
#2: ffff88803a075980 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_read_folio+0xf6/0x1e0 fs/ntfs3/inode.c:715
3 locks held by kworker/1:11/7730:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2376
#1: ffffc9000378fdb0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380
#2: ffffffff8e1051e8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xf/0x70 net/core/link_watch.c:277
2 locks held by syz-executor.1/8415:
#0: ffffffff8e0f1850 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4cb/0x8e0 net/core/net_namespace.c:487
#1: ffffffff8e1051e8 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_delete_nets+0x94/0x3a0 net/ipv4/ip_tunnel.c:1121
2 locks held by syz-executor.4/8410:
#0: ffffffff8e0f1850 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4cb/0x8e0 net/core/net_namespace.c:487
#1: ffffffff8e1051e8 (rtnl_mutex){+.+.}-{3:3}, at: ip6_tnl_exit_batch_net+0x86/0x6f0 net/ipv6/ip6_tunnel.c:2275
2 locks held by syz-executor.2/8440:
#0: ffff888036472010 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:761 [inline]
#0: ffff888036472010 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x290 net/socket.c:652
#1: ffffffff8c7a2ab8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
#1: ffffffff8c7a2ab8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3e8/0x770 kernel/rcu/tree_exp.h:992
1 lock held by syz-executor.5/8447:
#0: ffffffff8e1051e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
#0: ffffffff8e1051e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6385
1 lock held by syz-executor.3/8449:
#0: ffffffff8e1051e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
#0: ffffffff8e1051e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6385
1 lock held by syz-executor.3/8453:
#0: ffffffff8e1051e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
#0: ffffffff8e1051e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6385
1 lock held by syz-executor.3/8458:
#0: ffffffff8e1051e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
#0: ffffffff8e1051e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6385
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc5-next-20230406-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106
nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x2a4/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xe16/0x1090 kernel/hung_task.c:379
kthread+0x33e/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 76 Comm: kworker/u4:5 Not tainted 6.3.0-rc5-next-20230406-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:switch_mm_irqs_off+0x615/0xbb0 arch/x86/mm/tlb.c:644
Code: c1 f2 ff ff 48 0b 44 24 20 e9 d3 02 00 00 66 81 3c 24 fe 0f 0f 87 40 03 00 00 0f b7 0c 24 8d 51 01 0f b7 d2 48 09 d0 0f 22 d8 <48> c7 c6 ff ff ff ff 31 ff e8 ad f6 ff ff 65 4c 89 35 d5 13 ca 7e
RSP: 0018:ffffc900020af978 EFLAGS: 00000046
RAX: 000000000c571000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff888018b5ba80 RSI: ffffffff81399cb8 RDI: 0000000000000007
RBP: ffff888012468000 R08: 0000000000000007 R09: 000000001fffffff
R10: 000000000c571000 R11: 0000000000000000 R12: 0000000000000020
R13: 0000000000000000 R14: ffffffff8c8f6f40 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd42c93d48 CR3: 000000000c571000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
unuse_temporary_mm arch/x86/kernel/alternative.c:1516 [inline]
__text_poke+0x47b/0x830 arch/x86/kernel/alternative.c:1626
text_poke arch/x86/kernel/alternative.c:1669 [inline]
text_poke_bp_batch+0x4d3/0x770 arch/x86/kernel/alternative.c:2048
text_poke_flush arch/x86/kernel/alternative.c:2161 [inline]
text_poke_flush arch/x86/kernel/alternative.c:2158 [inline]
text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2168
arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146
jump_label_update+0x32f/0x410 kernel/jump_label.c:829
static_key_disable_cpuslocked+0x156/0x1b0 kernel/jump_label.c:235
static_key_disable+0x1a/0x20 kernel/jump_label.c:243
toggle_allocation_gate mm/kfence/core.c:836 [inline]
toggle_allocation_gate+0x143/0x230 mm/kfence/core.c:823
process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405
worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552
kthread+0x33e/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308