INFO: task syz-executor.2:6890 blocked for more than 143 seconds.
Not tainted 5.15.175-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:24184 pid: 6890 ppid: 4482 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5027 [inline]
__schedule+0x12c4/0x45b0 kernel/sched/core.c:6373
schedule+0x11b/0x1f0 kernel/sched/core.c:6456
io_schedule+0x88/0x100 kernel/sched/core.c:8481
wait_on_page_bit_common+0xa13/0x1180 mm/filemap.c:1356
__lock_page mm/filemap.c:1648 [inline]
lock_page include/linux/pagemap.h:625 [inline]
pagecache_get_page+0x5af/0x1010 mm/filemap.c:1910
find_or_create_page include/linux/pagemap.h:420 [inline]
ni_readpage_cmpr+0x2f2/0x8d0 fs/ntfs3/frecord.c:2089
ntfs_readpage+0x19a/0x210 fs/ntfs3/inode.c:726
filemap_read_page+0x166/0x4b0 mm/filemap.c:2386
filemap_update_page mm/filemap.c:2464 [inline]
filemap_get_pages mm/filemap.c:2574 [inline]
filemap_read+0x15dc/0x2980 mm/filemap.c:2634
call_read_iter include/linux/fs.h:2168 [inline]
generic_file_splice_read+0x4ad/0x790 fs/splice.c:311
do_splice_to fs/splice.c:796 [inline]
splice_direct_to_actor+0x448/0xc10 fs/splice.c:870
do_splice_direct+0x285/0x3d0 fs/splice.c:979
do_sendfile+0x622/0x1000 fs/read_write.c:1249
__do_sys_sendfile64 fs/read_write.c:1317 [inline]
__se_sys_sendfile64+0x178/0x1e0 fs/read_write.c:1303
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fa040637da9
RSP: 002b:00007fa03f9b80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fa040765f80 RCX: 00007fa040637da9
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004
RBP: 00007fa04068447a R08: 0000000000000000 R09: 0000000000000000
R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fa040765f80 R15: 00007fff961d2a18
INFO: task syz-executor.2:6900 blocked for more than 143 seconds.
Not tainted 5.15.175-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:24152 pid: 6900 ppid: 4482 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5027 [inline]
__schedule+0x12c4/0x45b0 kernel/sched/core.c:6373
schedule+0x11b/0x1f0 kernel/sched/core.c:6456
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6515
__mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669
__mutex_lock kernel/locking/mutex.c:729 [inline]
mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
ni_lock fs/ntfs3/ntfs_fs.h:1100 [inline]
ntfs_readpage+0x18f/0x210 fs/ntfs3/inode.c:725
filemap_read_page+0x166/0x4b0 mm/filemap.c:2386
filemap_create_page mm/filemap.c:2506 [inline]
filemap_get_pages mm/filemap.c:2558 [inline]
filemap_read+0xfad/0x2980 mm/filemap.c:2634
call_read_iter include/linux/fs.h:2168 [inline]
generic_file_splice_read+0x4ad/0x790 fs/splice.c:311
do_splice_to fs/splice.c:796 [inline]
splice_direct_to_actor+0x448/0xc10 fs/splice.c:870
do_splice_direct+0x285/0x3d0 fs/splice.c:979
do_sendfile+0x622/0x1000 fs/read_write.c:1249
__do_sys_sendfile64 fs/read_write.c:1317 [inline]
__se_sys_sendfile64+0x178/0x1e0 fs/read_write.c:1303
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fa040637da9
RSP: 002b:00007fa03f9970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fa040766050 RCX: 00007fa040637da9
RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006
RBP: 00007fa04068447a R08: 0000000000000000 R09: 0000000000000000
R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fa040766050 R15: 00007fff961d2a18
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8cb1fd20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
3 locks held by kworker/u4:3/364:
#0: ffff8880b8e3a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475
#1: ffffc90002ddfd20 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
#2: ffff8880b8e28098 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 kernel/time/timer.c:946
2 locks held by getty/3922:
#0: ffff88802cdff098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc900025c62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158
3 locks held by syz-executor.2/6890:
#0: ffff888024834460 (sb_writers#13){.+.+}-{0:0}, at: do_sendfile+0x5fd/0x1000 fs/read_write.c:1248
#1: ffff8880681e5660 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:844 [inline]
#1: ffff8880681e5660 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_update_page mm/filemap.c:2435 [inline]
#1: ffff8880681e5660 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_get_pages mm/filemap.c:2574 [inline]
#1: ffff8880681e5660 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_read+0xaef/0x2980 mm/filemap.c:2634
#2: ffff8880681e5220 (&ni->ni_lock/5){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1100 [inline]
#2: ffff8880681e5220 (&ni->ni_lock/5){+.+.}-{3:3}, at: ntfs_readpage+0x18f/0x210 fs/ntfs3/inode.c:725
3 locks held by syz-executor.2/6900:
#0: ffff888024834460 (sb_writers#13){.+.+}-{0:0}, at: do_sendfile+0x5fd/0x1000 fs/read_write.c:1248
#1: ffff8880681e5660 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:844 [inline]
#1: ffff8880681e5660 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_create_page mm/filemap.c:2498 [inline]
#1: ffff8880681e5660 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_get_pages mm/filemap.c:2558 [inline]
#1: ffff8880681e5660 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_read+0xd75/0x2980 mm/filemap.c:2634
#2: ffff8880681e5220 (&ni->ni_lock/5){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1100 [inline]
#2: ffff8880681e5220 (&ni->ni_lock/5){+.+.}-{3:3}, at: ntfs_readpage+0x18f/0x210 fs/ntfs3/inode.c:725
3 locks held by syz-executor.0/9053:
#0: ffff8880780ec460 (sb_writers#13){.+.+}-{0:0}, at: do_sendfile+0x5fd/0x1000 fs/read_write.c:1248
#1: ffff888063f1ddc0 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:844 [inline]
#1: ffff888063f1ddc0 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_update_page mm/filemap.c:2435 [inline]
#1: ffff888063f1ddc0 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_get_pages mm/filemap.c:2574 [inline]
#1: ffff888063f1ddc0 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_read+0xaef/0x2980 mm/filemap.c:2634
#2: ffff888063f1d980 (&ni->ni_lock/5){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1100 [inline]
#2: ffff888063f1d980 (&ni->ni_lock/5){+.+.}-{3:3}, at: ntfs_readpage+0x18f/0x210 fs/ntfs3/inode.c:725
3 locks held by syz-executor.0/9064:
#0: ffff8880780ec460 (sb_writers#13){.+.+}-{0:0}, at: do_sendfile+0x5fd/0x1000 fs/read_write.c:1248
#1: ffff888063f1ddc0 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:844 [inline]
#1: ffff888063f1ddc0 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_update_page mm/filemap.c:2435 [inline]
#1: ffff888063f1ddc0 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_get_pages mm/filemap.c:2574 [inline]
#1: ffff888063f1ddc0 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_read+0xaef/0x2980 mm/filemap.c:2634
#2: ffff888063f1d980 (&ni->ni_lock/5){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1100 [inline]
#2: ffff888063f1d980 (&ni->ni_lock/5){+.+.}-{3:3}, at: ntfs_readpage+0x18f/0x210 fs/ntfs3/inode.c:725
3 locks held by syz-executor.4/9093:
#0: ffff888073178460 (sb_writers#13){.+.+}-{0:0}, at: do_sendfile+0x5fd/0x1000 fs/read_write.c:1248
#1: ffff888068365dc0 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:844 [inline]
#1: ffff888068365dc0 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_update_page mm/filemap.c:2435 [inline]
#1: ffff888068365dc0 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_get_pages mm/filemap.c:2574 [inline]
#1: ffff888068365dc0 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_read+0xaef/0x2980 mm/filemap.c:2634
#2: ffff888068365980 (&ni->ni_lock/5){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1100 [inline]
#2: ffff888068365980 (&ni->ni_lock/5){+.+.}-{3:3}, at: ntfs_readpage+0x18f/0x210 fs/ntfs3/inode.c:725
3 locks held by syz-executor.4/9096:
#0: ffff888073178460 (sb_writers#13){.+.+}-{0:0}, at: do_sendfile+0x5fd/0x1000 fs/read_write.c:1248
#1: ffff888068365dc0 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:844 [inline]
#1: ffff888068365dc0 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_update_page mm/filemap.c:2435 [inline]
#1: ffff888068365dc0 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_get_pages mm/filemap.c:2574 [inline]
#1: ffff888068365dc0 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_read+0xaef/0x2980 mm/filemap.c:2634
#2: ffff888068365980 (&ni->ni_lock/5){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1100 [inline]
#2: ffff888068365980 (&ni->ni_lock/5){+.+.}-{3:3}, at: ntfs_readpage+0x18f/0x210 fs/ntfs3/inode.c:725
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.175-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
watchdog+0xe72/0xeb0 kernel/hung_task.c:295
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 364 Comm: kworker/u4:3 Not tainted 5.15.175-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: bat_events batadv_nc_worker
RIP: 0010:__lock_acquire+0x1551/0x1ff0 kernel/locking/lockdep.c:5039
Code: b9 00 00 00 00 00 fc ff df 0f b6 04 08 84 c0 0f 85 d7 09 00 00 83 3d a5 ab a7 0c 00 74 62 31 f6 89 f0 48 81 c4 88 00 00 00 5b <41> 5c 41 5d 41 5e 41 5f 5d c3 e8 20 ac ad 02 85 c0 74 e1 48 c7 c0
RSP: 0018:ffffc90002ddfa30 EFLAGS: 00000086
RAX: 0000000000000001 RBX: ffffc90002ddfae0 RCX: 1ffff920005bbefc
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff88801e9a5940
RBP: e14deda3b77c8209 R08: dffffc0000000000 R09: fffffbfff2131221
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000002
R13: ffff88801e9a6428 R14: ffff88801e9a5940 R15: ffff88801e9a64a0
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f54dc632866 CR3: 000000002b722000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623
rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312
rcu_read_lock include/linux/rcupdate.h:739 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline]
batadv_nc_worker+0xc1/0x5b0 net/batman-adv/network-coding.c:723
process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287