INFO: task syz-executor.1:9413 blocked for more than 143 seconds. Not tainted 6.1.0-rc7-syzkaller-00211-g0ba09b173387 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:19808 pid:9413 ppid:3670 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6521 schedule+0xcb/0x190 kernel/sched/core.c:6597 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6656 __mutex_lock_common+0xe4f/0x26e0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 reiserfs_write_lock+0x77/0xd0 fs/reiserfs/lock.c:27 reiserfs_get_block+0x24e/0x5180 fs/reiserfs/inode.c:680 do_mpage_readpage+0x970/0x1c50 fs/mpage.c:208 mpage_readahead+0x210/0x380 fs/mpage.c:361 read_pages+0x169/0x9c0 mm/readahead.c:161 page_cache_ra_unbounded+0x703/0x820 mm/readahead.c:270 page_cache_sync_readahead include/linux/pagemap.h:1213 [inline] filemap_get_pages+0x465/0x10d0 mm/filemap.c:2581 filemap_read+0x3cf/0xea0 mm/filemap.c:2675 call_read_iter include/linux/fs.h:2193 [inline] generic_file_splice_read+0x1ff/0x5d0 fs/splice.c:309 do_splice_to fs/splice.c:793 [inline] splice_direct_to_actor+0x41b/0xc00 fs/splice.c:865 do_splice_direct+0x279/0x3d0 fs/splice.c:974 do_sendfile+0x5fb/0xf80 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64+0x14f/0x1b0 fs/read_write.c:1309 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7efd5548c0d9 RSP: 002b:00007efd56268168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007efd555abf80 RCX: 00007efd5548c0d9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007efd554e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 00008400fffffffa R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc7f8913df R14: 00007efd56268300 R15: 0000000000022000 INFO: task syz-executor.1:9458 blocked for more than 145 seconds. Not tainted 6.1.0-rc7-syzkaller-00211-g0ba09b173387 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:24048 pid:9458 ppid:3670 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6521 schedule+0xcb/0x190 kernel/sched/core.c:6597 io_schedule+0x83/0x100 kernel/sched/core.c:8741 folio_wait_bit_common+0x83a/0x12a0 mm/filemap.c:1296 __folio_lock mm/filemap.c:1659 [inline] folio_lock include/linux/pagemap.h:939 [inline] __filemap_get_folio+0x566/0x1260 mm/filemap.c:1931 pagecache_get_page+0x28/0x260 mm/folio-compat.c:110 find_or_create_page include/linux/pagemap.h:613 [inline] grab_cache_page include/linux/pagemap.h:743 [inline] grab_tail_page fs/reiserfs/inode.c:2201 [inline] reiserfs_truncate_file+0x1e3/0x790 fs/reiserfs/inode.c:2269 reiserfs_setattr+0xc4d/0x11a0 fs/reiserfs/inode.c:3395 notify_change+0xe38/0x10f0 fs/attr.c:420 do_truncate+0x1fb/0x2e0 fs/open.c:65 vfs_truncate+0x2af/0x380 fs/open.c:111 do_sys_truncate+0xcb/0x180 fs/open.c:134 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7efd5548c0d9 RSP: 002b:00007efd56247168 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00007efd555ac050 RCX: 00007efd5548c0d9 RDX: 0000000000000000 RSI: 0000000000000fff RDI: 0000000020000080 RBP: 00007efd554e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc7f8913df R14: 00007efd56247300 R15: 0000000000022000 INFO: task syz-executor.1:9460 blocked for more than 145 seconds. Not tainted 6.1.0-rc7-syzkaller-00211-g0ba09b173387 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:23736 pid:9460 ppid:3670 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6521 schedule+0xcb/0x190 kernel/sched/core.c:6597 rwsem_down_write_slowpath+0xfc1/0x1480 kernel/locking/rwsem.c:1190 __down_write_common kernel/locking/rwsem.c:1305 [inline] __down_write kernel/locking/rwsem.c:1314 [inline] down_write+0x231/0x270 kernel/locking/rwsem.c:1563 inode_lock include/linux/fs.h:756 [inline] process_measurement+0x427/0x1bd0 security/integrity/ima/ima_main.c:241 ima_file_check+0xd8/0x130 security/integrity/ima/ima_main.c:517 do_open fs/namei.c:3559 [inline] path_openat+0x2642/0x2df0 fs/namei.c:3714 do_filp_open+0x264/0x4f0 fs/namei.c:3741 do_sys_openat2+0x124/0x4e0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_creat fs/open.c:1402 [inline] __se_sys_creat fs/open.c:1396 [inline] __x64_sys_creat+0x11f/0x160 fs/open.c:1396 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7efd5548c0d9 RSP: 002b:00007efd56226168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007efd555ac120 RCX: 00007efd5548c0d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180 RBP: 00007efd554e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc7f8913df R14: 00007efd56226300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d127330 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d127b30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8d127160 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3313: #0: ffff888144fa3098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177 2 locks held by syz-executor.4/3684: #0: ffff88802f7560e0 (&type->s_umount_key#76){++++}-{3:3}, at: deactivate_super+0x96/0xd0 fs/super.c:362 #1: ffffffff8d12c738 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #1: ffffffff8d12c738 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x455/0x860 kernel/rcu/tree_exp.h:946 2 locks held by kworker/0:4/3727: #0: ffff888012864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc9000465fd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/1:4/3728: #0: ffff888012864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc9000466fd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/0:8/3749: #0: ffff888012864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc900046efd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/0:11/4220: #0: ffff888012864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90009c8fd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/0:12/4222: #0: ffff888012864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90009807d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 4 locks held by kworker/0:14/4344: #0: ffff888012865538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90009c7fd00 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 #2: ffff88807ae960e0 (&type->s_umount_key#92){++++}-{3:3}, at: flush_old_commits+0xd4/0x300 fs/reiserfs/super.c:97 #3: ffff88801eafc090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x77/0xd0 fs/reiserfs/lock.c:27 2 locks held by kworker/0:15/4345: #0: ffff888012864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc9000c02fd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/0:17/5101: #0: ffff888012864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc900165d7d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/0:21/9290: #0: ffff888012864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90006d0fd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/0:24/9369: #0: ffff888012864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc9000bd9fd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/0:25/9370: #0: ffff888012864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc9000bdafd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/0:27/9372: #0: ffff888012866538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc9000bdbfd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/0:28/9373: #0: ffff888012864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc9000bdcfd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/0:29/9374: #0: ffff888012864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc9000bddfd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/0:30/9375: #0: ffff888012864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc9000bdffd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/0:31/9376: #0: ffff888012864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc9000be0fd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/0:32/9377: #0: ffff888012864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc9000be1fd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 3 locks held by kworker/0:33/9378: #0: ffff888012864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc9000be2fd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 #2: ffffffff8d12c738 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #2: ffffffff8d12c738 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x384/0x860 kernel/rcu/tree_exp.h:946 3 locks held by syz-executor.1/9413: #0: ffff88807ae96460 (sb_writers#23){.+.+}-{0:0}, at: do_sendfile+0x5d6/0xf80 fs/read_write.c:1254 #1: ffff88802c34c020 (mapping.invalidate_lock#7){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:811 [inline] #1: ffff88802c34c020 (mapping.invalidate_lock#7){.+.+}-{3:3}, at: page_cache_ra_unbounded+0xe9/0x820 mm/readahead.c:226 #2: ffff88801eafc090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x77/0xd0 fs/reiserfs/lock.c:27 4 locks held by syz-executor.1/9458: #0: ffff88807ae96460 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff88802c34be80 (&sb->s_type->i_mutex_key#32){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff88802c34be80 (&sb->s_type->i_mutex_key#32){+.+.}-{3:3}, at: do_truncate+0x1e7/0x2e0 fs/open.c:63 #2: ffff88802c34bc58 (&ei->tailpack){+.+.}-{3:3}, at: reiserfs_setattr+0xc21/0x11a0 fs/reiserfs/inode.c:3393 #3: ffff88801eafc090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x77/0xd0 fs/reiserfs/lock.c:27 2 locks held by syz-executor.1/9460: #0: ffff88807ae96460 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff88802c34be80 (&sb->s_type->i_mutex_key#32){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff88802c34be80 (&sb->s_type->i_mutex_key#32){+.+.}-{3:3}, at: process_measurement+0x427/0x1bd0 security/integrity/ima/ima_main.c:241 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.0-rc7-syzkaller-00211-g0ba09b173387 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x28e lib/dump_stack.c:106 nmi_cpu_backtrace+0x46f/0x4f0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ba/0x420 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xcf5/0xd40 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 12100 Comm: syz-executor.2 Not tainted 6.1.0-rc7-syzkaller-00211-g0ba09b173387 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:preempt_count_add+0x4/0x180 kernel/sched/core.c:5660 Code: 20 00 74 08 4c 89 f7 e8 2a 8d 80 00 49 8b 06 49 39 c7 0f 85 37 ff ff ff e9 1e ff ff ff 66 0f 1f 84 00 00 00 00 00 41 57 41 56 <53> 89 fb 48 c7 c0 40 f0 d8 91 48 c1 e8 03 49 bf 00 00 00 00 00 fc RSP: 0000:ffffc900032dfab8 EFLAGS: 00000282 RAX: dffffc0000000000 RBX: ffff888029345ba0 RCX: 1ffff9200065bfbe RDX: ffff8880811c0000 RSI: 0000000000000067 RDI: 0000000000000001 RBP: ffffc900032dfbf0 R08: ffffffff81cb1521 R09: fffff940002a7d49 R10: fffff940002a7d49 R11: 1ffffd40002a7d48 R12: ffffc900032dfdf0 R13: 8000000054fa9867 R14: ffffc900032dfd90 R15: ffff888029345ba0 FS: 00005555558b4400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0cbe98d718 CR3: 000000007b60e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock include/linux/spinlock_api_smp.h:132 [inline] _raw_spin_lock+0xe/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:350 [inline] do_anonymous_page+0xb06/0x1150 mm/memory.c:4133 handle_pte_fault mm/memory.c:4952 [inline] __handle_mm_fault mm/memory.c:5096 [inline] handle_mm_fault+0x184e/0x3630 mm/memory.c:5217 do_user_addr_fault+0x69b/0xcb0 arch/x86/mm/fault.c:1428 handle_page_fault arch/x86/mm/fault.c:1519 [inline] exc_page_fault+0x7a/0x110 arch/x86/mm/fault.c:1575 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7f0cbdc3b8df Code: ff ff 4d 89 cd 48 85 c0 74 19 8b 95 44 ff ff ff 48 29 c6 48 01 c7 e8 10 09 05 00 85 c0 0f 85 0b 03 00 00 48 8b 85 48 ff ff ff <41> c7 45 18 01 00 00 00 4c 89 ef 49 89 85 90 06 00 00 48 8b 85 50 RSP: 002b:00007fff0e4aa510 EFLAGS: 00010246 RAX: 00007f0cbe96d000 RBX: 0000000000021000 RCX: 00007f0cbdc8c1e7 RDX: 0000000000000003 RSI: 0000000000020000 RDI: 00007f0cbe96e000 RBP: 00007fff0e4aa5e0 R08: 00000000ffffffff R09: 00007f0cbe98d700 R10: 0000000000020022 R11: 0000000000000206 R12: 00007fff0e4aa700 R13: 00007f0cbe98d700 R14: 0000000000000000 R15: 0000000000022000