INFO: task syz-executor.3:1146 blocked for more than 143 seconds.
Not tainted 6.4.0-syzkaller-01312-gb19edac5992d #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:24960 pid:1146 ppid:5030 flags:0x00004004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0x187b/0x4900 kernel/sched/core.c:6669
schedule+0xc3/0x180 kernel/sched/core.c:6745
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804
__mutex_lock_common+0xe33/0x2530 kernel/locking/mutex.c:679
__mutex_lock kernel/locking/mutex.c:747 [inline]
mutex_lock_nested+0x1b/0x20 kernel/locking/mutex.c:799
reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27
reiserfs_get_block+0x280/0x5130 fs/reiserfs/inode.c:680
do_mpage_readpage+0x911/0x1fa0 fs/mpage.c:234
mpage_readahead+0x454/0x930 fs/mpage.c:382
read_pages+0x183/0x830 mm/readahead.c:161
page_cache_ra_unbounded+0x697/0x7c0 mm/readahead.c:270
do_sync_mmap_readahead+0x7b6/0x9a0 mm/filemap.c:3210
filemap_fault+0x81b/0x1810 mm/filemap.c:3302
__do_fault+0x136/0x500 mm/memory.c:4176
do_shared_fault mm/memory.c:4585 [inline]
do_fault mm/memory.c:4663 [inline]
do_pte_missing mm/memory.c:3647 [inline]
handle_pte_fault mm/memory.c:4947 [inline]
__handle_mm_fault mm/memory.c:5089 [inline]
handle_mm_fault+0x2098/0x5860 mm/memory.c:5243
do_user_addr_fault arch/x86/mm/fault.c:1440 [inline]
handle_page_fault arch/x86/mm/fault.c:1534 [inline]
exc_page_fault+0x7d2/0x910 arch/x86/mm/fault.c:1590
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x7fdc82286dd5
RSP: 002b:00007ffc41e19e38 EFLAGS: 00010202
RAX: 0000000020000000 RBX: 0000000000000000 RCX: 0000000000737562
RDX: 0000000000000006 RSI: 0000000075622f2e RDI: 0000000020000000
RBP: 00007ffc41e19ef8 R08: 00007fdc82200000 R09: 00007fdc81e00000
R10: 00007fdc81e01a98 R11: 000000000007e094 R12: 00000000002814ea
R13: 00007ffc41e19f20 R14: 00007ffc41e19f40 R15: 0000000000000032
</TASK>
INFO: task syz-executor.3:1166 blocked for more than 145 seconds.
Not tainted 6.4.0-syzkaller-01312-gb19edac5992d #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:25664 pid:1166 ppid:5030 flags:0x00004004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0x187b/0x4900 kernel/sched/core.c:6669
schedule+0xc3/0x180 kernel/sched/core.c:6745
io_schedule+0x8c/0x100 kernel/sched/core.c:8979
folio_wait_bit_common+0x86c/0x12b0 mm/filemap.c:1301
__filemap_get_folio+0x90/0xa00 mm/filemap.c:1937
pagecache_get_page+0x2e/0x220 mm/folio-compat.c:99
find_or_create_page include/linux/pagemap.h:635 [inline]
grab_cache_page include/linux/pagemap.h:757 [inline]
grab_tail_page fs/reiserfs/inode.c:2199 [inline]
reiserfs_truncate_file+0x21b/0x820 fs/reiserfs/inode.c:2267
reiserfs_vfs_truncate_file+0x2d/0x40 fs/reiserfs/file.c:133
reiserfs_direct_IO+0x1e2/0x210 fs/reiserfs/inode.c:3256
generic_file_direct_write+0x208/0x460 mm/filemap.c:3870
__generic_file_write_iter+0x1c8/0x400 mm/filemap.c:4030
generic_file_write_iter+0xaf/0x310 mm/filemap.c:4106
call_write_iter include/linux/fs.h:1872 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x782/0xaf0 fs/read_write.c:584
ksys_write+0x1a0/0x2c0 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fdc8228c389
RSP: 002b:00007fdc82f53168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fdc823ac120 RCX: 00007fdc8228c389
RDX: 0000000000000012 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007fdc822d7493 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc41e19dbf R14: 00007fdc82f53300 R15: 0000000000022000
</TASK>
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8cf27530 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:522
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8cf278f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:522
4 locks held by kauditd/27:
1 lock held by khungtaskd/28:
#0: ffffffff8cf27360 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/4746:
#0: ffff88802cfb2098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1db0 drivers/tty/n_tty.c:2176
1 lock held by syz-executor.1/5032:
#0: ffff88807d4220e0 (&type->s_umount_key#51){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:361
2 locks held by syz-executor.4/5042:
#0: ffff88804f25a0e0 (&type->s_umount_key#51){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:361
#1: ffffffff8cf2c9f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
#1: ffffffff8cf2c9f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:992
2 locks held by kworker/1:0/14737:
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2381
#1: ffffc90016247d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2383
2 locks held by kworker/1:14/4575:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2381
#1: ffffc9000a79fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2383
4 locks held by kworker/1:16/5431:
#0: ffff888012471538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2381
#1: ffffc90016997d20 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2383
#2: ffff888029b420e0 (&type->s_umount_key#68){++++}-{3:3}, at: flush_old_commits+0xcb/0x2f0 fs/reiserfs/super.c:97
#3: ffff888038588090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27
2 locks held by kworker/0:4/23245:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2381
#1: ffffc90014f37d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2383
2 locks held by kworker/0:7/23248:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2381
#1: ffffc90014f67d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2383
2 locks held by kworker/0:11/23251:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2381
#1: ffffc90014f97d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2383
2 locks held by kworker/0:17/23256:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2381
#1: ffffc90014affd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2383
2 locks held by kworker/1:2/23802:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2381
#1: ffffc90004ebfd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2383
2 locks held by kworker/1:4/23804:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2381
#1: ffffc9000478fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2383
2 locks held by kworker/1:5/23805:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2381
#1: ffffc90004f3fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2383
2 locks held by kworker/1:7/23809:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2381
#1: ffffc9000533fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2383
2 locks held by kworker/1:10/23814:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2381
#1: ffffc9000537fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2383
3 locks held by kworker/1:13/25792:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2381
#1: ffffc90016727d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2383
#2: ffffffff8cf2c9f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
#2: ffffffff8cf2c9f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:992
2 locks held by kworker/1:18/25982:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2381
#1: ffffc9000349fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2383
2 locks held by kworker/1:19/25983:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2381
#1: ffffc9000359fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2383
2 locks held by kworker/1:20/25984:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2381
#1: ffffc900035afd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2383
2 locks held by syz-executor.3/1146:
#0: ffff8880792b5aa0 (mapping.invalidate_lock#7){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:826 [inline]
#0: ffff8880792b5aa0 (mapping.invalidate_lock#7){.+.+}-{3:3}, at: page_cache_ra_unbounded+0xf1/0x7c0 mm/readahead.c:226
#1: ffff888038588090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27
5 locks held by syz-executor.3/1166:
#0: ffff8880223da848 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x254/0x2f0 fs/file.c:1047
#1: ffff888029b42460 (sb_writers#22){.+.+}-{0:0}, at: vfs_write+0x216/0xaf0 fs/read_write.c:580
#2: ffff8880792b5900 (&sb->s_type->i_mutex_key#29){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:771 [inline]
#2: ffff8880792b5900 (&sb->s_type->i_mutex_key#29){+.+.}-{3:3}, at: generic_file_write_iter+0x83/0x310 mm/filemap.c:4103
#3: ffff8880792b56d8 (&ei->tailpack){+.+.}-{3:3}, at: reiserfs_vfs_truncate_file+0x20/0x40 fs/reiserfs/file.c:132
#4: ffff888038588090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7a/0xd0 fs/reiserfs/lock.c:27
2 locks held by kworker/1:1/1422:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2381
#1: ffffc9001721fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2383
2 locks held by kworker/1:3/2740:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2381
#1: ffffc9001566fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2383
2 locks held by kworker/1:11/3271:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2381
#1: ffffc90004e4fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2383
1 lock held by dhcpcd/3774:
#0: ffff88807aeb2130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1709 [inline]
#0: ffff88807aeb2130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xc10 net/packet/af_packet.c:3202
3 locks held by syz-executor.3/3780:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-syzkaller-01312-gb19edac5992d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Call Trace:
<TASK>
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x187/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+0xec2/0xf00 kernel/hung_task.c:379
kthread+0x2b8/0x350 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
</TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5032 Comm: syz-executor.1 Not tainted 6.4.0-syzkaller-01312-gb19edac5992d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
RIP: 0010:remove_class_from_lock_chain kernel/locking/lockdep.c:6023 [inline]
RIP: 0010:remove_class_from_lock_chains kernel/locking/lockdep.c:6062 [inline]
RIP: 0010:zap_class+0x15a/0x830 kernel/locking/lockdep.c:6104
Code: 74 08 48 89 df e8 d6 56 77 00 4c 8b 3b eb 03 4d 8b 3f 4d 85 ff 74 bc 49 83 c7 f8 74 b6 4d 89 fd 49 c1 ed 03 43 0f b6 44 35 00 <84> c0 0f 85 2d 02 00 00 41 8b 1f f6 c3 fc 0f 84 fe 01 00 00 48 c1
RSP: 0018:ffffc90003bcfb08 EFLAGS: 00000806
RAX: 0000000000000000 RBX: ffffffff9024d538 RCX: 0000000000057e78
RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff91b29e48
RBP: ffffffff8fe20e58 R08: dffffc0000000000 R09: fffffbfff23653ca
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000bce
R13: 1ffffffff20c6424 R14: dffffc0000000000 R15: ffffffff90632120
FS: 0000555556256400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff2f89ad988 CR3: 0000000035f30000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<NMI>
</NMI>
<TASK>
__lockdep_free_key_range kernel/locking/lockdep.c:6223 [inline]
lockdep_unregister_key+0x36b/0x5b0 kernel/locking/lockdep.c:6419
wq_unregister_lockdep kernel/workqueue.c:3618 [inline]
destroy_workqueue+0x8ad/0xba0 kernel/workqueue.c:4607
xfs_destroy_mount_workqueues+0x87/0x100 fs/xfs/xfs_super.c:608
xfs_fs_put_super+0x24a/0x2d0 fs/xfs/xfs_super.c:1149
generic_shutdown_super+0x134/0x340 fs/super.c:500
kill_block_super+0x68/0xa0 fs/super.c:1418
deactivate_locked_super+0xa4/0x110 fs/super.c:331
cleanup_mnt+0x426/0x4c0 fs/namespace.c:1254
task_work_run+0x24a/0x300 kernel/task_work.c:179
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0xd9/0x100 kernel/entry/common.c:171
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204
__syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
syscall_exit_to_user_mode+0x64/0x280 kernel/entry/common.c:297
do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fd74168d7f7
Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffcad777d98 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fd74168d7f7
RDX: 00007ffcad777e6c RSI: 000000000000000a RDI: 00007ffcad777e60
RBP: 00007ffcad777e60 R08: 00000000ffffffff R09: 00007ffcad777c30
R10: 0000555556257893 R11: 0000000000000246 R12: 00007fd7416d643b
R13: 00007ffcad778f20 R14: 0000555556257810 R15: 00007ffcad778f60
</TASK>