INFO: task syz.8.24:6241 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.8.24 state:D stack:27872 pid: 6241 ppid: 6214 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 rwsem_down_write_slowpath+0xc46/0x11f0 kernel/locking/rwsem.c:1165 filemap_invalidate_lock include/linux/fs.h:832 [inline] blk_ioctl_zeroout block/ioctl.c:183 [inline] blkdev_common_ioctl+0x17d6/0x1c70 block/ioctl.c:487 blkdev_ioctl+0x295/0x690 block/ioctl.c:598 block_ioctl+0xac/0xf0 block/fops.c:496 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fbba3119d29 RSP: 002b:00007fbba2392038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fbba3309fa0 RCX: 00007fbba3119d29 RDX: 0000000020000080 RSI: 000000000000127f RDI: 0000000000000003 RBP: 00007fbba3195b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fbba3309fa0 R15: 00007ffcda669e08 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c11c320 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:2/154: 2 locks held by getty/3945: #0: ffff88802b59c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900025e62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158 2 locks held by kworker/0:17/4348: #0: ffff888016872138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90002fffd00 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 1 lock held by syz.7.23/6073: 1 lock held by syz.8.24/6241: #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x17d6/0x1c70 block/ioctl.c:487 1 lock held by syz.9.25/6396: #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x17d6/0x1c70 block/ioctl.c:487 1 lock held by syz.0.26/6627: #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x17d6/0x1c70 block/ioctl.c:487 1 lock held by syz.1.27/7122: #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x17d6/0x1c70 block/ioctl.c:487 1 lock held by syz.2.28/7536: #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x17d6/0x1c70 block/ioctl.c:487 1 lock held by syz.3.29/8003: #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x17d6/0x1c70 block/ioctl.c:487 1 lock held by syz.4.30/8458: #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x17d6/0x1c70 block/ioctl.c:487 1 lock held by syz.5.31/8966: #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff888020154438 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x17d6/0x1c70 block/ioctl.c:487 2 locks held by syz-executor/9308: #0: ffffffff8d235f08 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d235f08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x974/0xe60 net/core/rtnetlink.c:5647 #1: ffffffff8c120da8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8c120da8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x347/0x6b0 kernel/rcu/tree_exp.h:845 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xe0f/0xe50 kernel/hung_task.c:369 kthread+0x436/0x520 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: 6073 Comm: syz.7.23 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:get_stack_info+0x2/0xf0 arch/x86/kernel/dumpstack_64.c:193 Code: 89 c0 48 8b 04 c5 a8 67 05 8a c3 83 c7 fb 83 ff 05 77 0b 89 f8 48 8b 04 c5 00 66 05 8a c3 31 c0 c3 0f 1f 80 00 00 00 00 41 57 <41> 56 41 55 41 54 53 48 89 cb 49 89 d6 49 89 f7 48 85 f6 74 07 48 RSP: 0018:ffffc900038fed58 EFLAGS: 00000246 RAX: 1ffff9200071fdc0 RBX: ffffc900038fedc8 RCX: ffffc900038fede8 RDX: ffffc900038fedc8 RSI: ffff888025c1bb80 RDI: ffffc900038fed68 RBP: ffffc900038fee01 R08: dffffc0000000000 R09: ffffc900038fedc8 R10: fffff5200071fdc5 R11: 1ffff9200071fdb9 R12: ffffc900038fed68 R13: ffffc900038fede8 R14: ffffc900038fedf0 R15: 1ffff9200071fdbe FS: 00007f1dd7ab06c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005594d3fb2350 CR3: 00000000555a2000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __unwind_start+0x441/0x740 arch/x86/kernel/unwind_orc.c:673 unwind_start arch/x86/include/asm/unwind.h:60 [inline] arch_stack_walk+0xda/0x140 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x98/0xe0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0x9c/0xd0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3220 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0x100/0x290 mm/slub.c:3233 mempool_alloc+0x18f/0x4e0 mm/mempool.c:393 bio_alloc_bioset+0x124/0x870 block/bio.c:466 bio_clone_fast+0x21/0x160 block/bio.c:750 bio_split+0xae/0x2e0 block/bio.c:1505 blk_bio_segment_split block/blk-merge.c:301 [inline] __blk_queue_split+0x1035/0x16a0 block/blk-merge.c:350 blk_mq_submit_bio+0x1af/0x17b0 block/blk-mq.c:2218 __submit_bio+0x7bd/0x810 block/blk-core.c:917 __submit_bio_noacct_mq block/blk-core.c:997 [inline] submit_bio_noacct+0x650/0x6d0 block/blk-core.c:1027 submit_bio+0x2be/0x560 block/blk-core.c:1089 blk_next_bio block/blk-lib.c:19 [inline] __blkdev_issue_zero_pages+0x147/0x3a0 block/blk-lib.c:319 blkdev_issue_zeroout+0x254/0x4b0 block/blk-lib.c:413 blk_ioctl_zeroout block/ioctl.c:188 [inline] blkdev_common_ioctl+0x19e5/0x1c70 block/ioctl.c:487 blkdev_ioctl+0x295/0x690 block/ioctl.c:598 block_ioctl+0xac/0xf0 block/fops.c:496 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f1dd8837d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1dd7ab0038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f1dd8a27fa0 RCX: 00007f1dd8837d29 RDX: 0000000020000080 RSI: 000000000000127f RDI: 0000000000000003 RBP: 00007f1dd88b3b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f1dd8a27fa0 R15: 00007ffc73a96488