INFO: task syz-executor410:5073 blocked for more than 143 seconds. Not tainted 6.8.0-rc6-syzkaller-00120-g87adedeba51a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor410 state:D stack:26800 pid:5073 tgid:5073 ppid:5070 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17d1/0x49f0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874 rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1ae/0x200 kernel/locking/rwsem.c:1306 filemap_invalidate_lock include/linux/fs.h:849 [inline] blk_ioctl_zeroout block/ioctl.c:185 [inline] blkdev_common_ioctl+0x1718/0x2880 block/ioctl.c:514 blkdev_ioctl+0x532/0x740 block/ioctl.c:628 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl+0xfe/0x170 fs/ioctl.c:857 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f854669d819 RSP: 002b:00007ffdd80bce18 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f854669d819 RDX: 0000000020000040 RSI: 000000000000127f RDI: 0000000000000003 RBP: 00000000000f4240 R08: 00007f85466df09e R09: 00007f85466df09e R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffdd80bced0 R13: 00007ffdd80bcef0 R14: 00007ffdd80bcfd0 R15: 00007f85466df0b7 INFO: task syz-executor410:5077 blocked for more than 143 seconds. Not tainted 6.8.0-rc6-syzkaller-00120-g87adedeba51a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor410 state:D stack:25936 pid:5077 tgid:5077 ppid:5075 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17d1/0x49f0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874 rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1ae/0x200 kernel/locking/rwsem.c:1306 filemap_invalidate_lock include/linux/fs.h:849 [inline] blk_ioctl_zeroout block/ioctl.c:185 [inline] blkdev_common_ioctl+0x1718/0x2880 block/ioctl.c:514 blkdev_ioctl+0x532/0x740 block/ioctl.c:628 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl+0xfe/0x170 fs/ioctl.c:857 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f854669d819 RSP: 002b:00007ffdd80bce18 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f854669d819 RDX: 0000000020000040 RSI: 000000000000127f RDI: 0000000000000003 RBP: 00000000000f4240 R08: 00007f85466df09e R09: 00007f85466df09e R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffdd80bced0 R13: 00007ffdd80bcef0 R14: 00007ffdd80bcfd0 R15: 00007f85466df0b7 INFO: task syz-executor410:5078 blocked for more than 144 seconds. Not tainted 6.8.0-rc6-syzkaller-00120-g87adedeba51a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor410 state:D stack:26512 pid:5078 tgid:5078 ppid:5076 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17d1/0x49f0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874 rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1ae/0x200 kernel/locking/rwsem.c:1306 filemap_invalidate_lock include/linux/fs.h:849 [inline] blk_ioctl_zeroout block/ioctl.c:185 [inline] blkdev_common_ioctl+0x1718/0x2880 block/ioctl.c:514 blkdev_ioctl+0x532/0x740 block/ioctl.c:628 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl+0xfe/0x170 fs/ioctl.c:857 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f854669d819 RSP: 002b:00007ffdd80bce18 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f854669d819 RDX: 0000000020000040 RSI: 000000000000127f RDI: 0000000000000003 RBP: 00000000000f4240 R08: 00007f85466df09e R09: 00007f85466df09e R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffdd80bced0 R13: 00007ffdd80bcef0 R14: 00007ffdd80bcfd0 R15: 00007f85466df0b7 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4818: #0: ffff88802e7290a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor410/5069: 1 lock held by syz-executor410/5073: #0: ffff88801d0a42c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:849 [inline] #0: ffff88801d0a42c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:185 [inline] #0: ffff88801d0a42c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1718/0x2880 block/ioctl.c:514 1 lock held by syz-executor410/5077: #0: ffff88801d0a42c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:849 [inline] #0: ffff88801d0a42c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:185 [inline] #0: ffff88801d0a42c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1718/0x2880 block/ioctl.c:514 1 lock held by syz-executor410/5078: #0: ffff88801d0a42c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:849 [inline] #0: ffff88801d0a42c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:185 [inline] #0: ffff88801d0a42c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1718/0x2880 block/ioctl.c:514 1 lock held by syz-executor410/5096: #0: ffff88801d0a42c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:849 [inline] #0: ffff88801d0a42c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:185 [inline] #0: ffff88801d0a42c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1718/0x2880 block/ioctl.c:514 1 lock held by syz-executor410/5097: #0: ffff88801d0a42c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:849 [inline] #0: ffff88801d0a42c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:185 [inline] #0: ffff88801d0a42c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1718/0x2880 block/ioctl.c:514 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc6-syzkaller-00120-g87adedeba51a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106 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:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2f1/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 42 Comm: kworker/u4:2 Not tainted 6.8.0-rc6-syzkaller-00120-g87adedeba51a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__lock_acquire+0x13b5/0x1fd0 kernel/locking/lockdep.c:5151 Code: 84 00 48 ba 00 00 00 00 00 fc ff df 48 89 2b 48 8b 44 24 40 0f b6 04 10 84 c0 0f 85 84 09 00 00 48 8b 0c 24 8b 01 ff c0 89 01 <83> f8 30 0f 83 5f 02 00 00 3b 05 7c a8 57 11 0f 87 b9 02 00 00 b9 RSP: 0018:ffffc90000b2f370 EFLAGS: 00000006 RAX: 0000000000000006 RBX: ffff88801aef63f0 RCX: ffff88801aef63f8 RDX: dffffc0000000000 RSI: ffff88801aef64c8 RDI: ffff88801aef5940 RBP: 7f2a5853d8cc6066 R08: ffffffff92c8d427 R09: 1ffffffff2591a84 R10: dffffc0000000000 R11: fffffbfff2591a85 R12: ffff88801aef5940 R13: ffff88801aef5940 R14: 0000000000000000 R15: ffff88801aef5940 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c8153d7680 CR3: 000000000df32000 CR4: 0000000000350ef0 Call Trace: lock_acquire+0x1e3/0x530 kernel/locking/lockdep.c:5754 rcu_lock_acquire include/linux/rcupdate.h:298 [inline] rcu_read_lock include/linux/rcupdate.h:750 [inline] __pte_offset_map+0x9e/0x380 mm/pgtable-generic.c:285 __pte_offset_map_lock+0xc7/0x300 mm/pgtable-generic.c:369 get_locked_pte include/linux/mm.h:2683 [inline] __text_poke+0x2c5/0xd30 arch/x86/kernel/alternative.c:1901 text_poke arch/x86/kernel/alternative.c:1986 [inline] text_poke_bp_batch+0x8cd/0xb30 arch/x86/kernel/alternative.c:2375 text_poke_flush arch/x86/kernel/alternative.c:2488 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2495 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:826 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x915/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2f1/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243