INFO: task syz-executor366:3687 blocked for more than 143 seconds. Not tainted 6.1.83-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor366 state:D stack:27000 pid:3687 ppid:3600 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6b9/0xd80 kernel/locking/mutex.c:747 blkdev_get_by_dev+0x148/0xa10 block/bdev.c:815 blkdev_open+0x12e/0x2e0 block/fops.c:500 do_dentry_open+0x7f9/0x10f0 fs/open.c:882 do_open fs/namei.c:3628 [inline] path_openat+0x2644/0x2e60 fs/namei.c:3785 do_filp_open+0x230/0x480 fs/namei.c:3812 do_sys_openat2+0x13b/0x500 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_openat fs/open.c:1350 [inline] __se_sys_openat fs/open.c:1345 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1345 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2b59930c09 RSP: 002b:00007f2b598ed218 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f2b599c21a8 RCX: 00007f2b59930c09 RDX: 0004000000004002 RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00007f2b599c21a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2b5998834c R13: 6c756e2f7665642f R14: 0004000000004002 R15: 00007f2b5998800f INFO: task syz-executor366:3688 blocked for more than 144 seconds. Not tainted 6.1.83-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor366 state:D stack:27000 pid:3688 ppid:3602 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6b9/0xd80 kernel/locking/mutex.c:747 blkdev_get_by_dev+0x148/0xa10 block/bdev.c:815 blkdev_open+0x12e/0x2e0 block/fops.c:500 do_dentry_open+0x7f9/0x10f0 fs/open.c:882 do_open fs/namei.c:3628 [inline] path_openat+0x2644/0x2e60 fs/namei.c:3785 do_filp_open+0x230/0x480 fs/namei.c:3812 do_sys_openat2+0x13b/0x500 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_openat fs/open.c:1350 [inline] __se_sys_openat fs/open.c:1345 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1345 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2b59930c09 RSP: 002b:00007f2b598cc218 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f2b599c21b8 RCX: 00007f2b59930c09 RDX: 0004000000004002 RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00007f2b599c21b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2b5998834c R13: 6c756e2f7665642f R14: 0004000000004002 R15: 00007f2b5998800f Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d12ab10 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d12b310 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516 1 lock held by khungtaskd/28: #0: ffffffff8d12a940 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8d12a940 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8d12a940 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6494 2 locks held by getty/3297: #0: ffff88807ed48098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2188 2 locks held by syz-executor366/3646: 2 locks held by syz-executor366/3674: 1 lock held by syz-executor366/3686: 1 lock held by syz-executor366/3687: #0: ffff88801fe374c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x148/0xa10 block/bdev.c:815 2 locks held by syz-executor366/3685: 1 lock held by syz-executor366/3688: #0: ffff88801fe374c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x148/0xa10 block/bdev.c:815 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.83-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b0/0x3f0 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+0xf88/0xfd0 kernel/hung_task.c:377 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:307 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3674 Comm: syz-executor366 Not tainted 6.1.83-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:29 [inline] RIP: 0010:rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline] RIP: 0010:rcu_is_watching+0x56/0xb0 kernel/rcu/tree.c:721 Code: f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 a0 bc 6e 00 48 c7 c3 a8 56 03 00 49 03 1e 48 89 d8 48 c1 e8 03 42 0f b6 04 38 <84> c0 75 1e 8b 03 65 ff 0d 65 31 8f 7e 74 0c 83 e0 04 c1 e8 02 5b RSP: 0018:ffffc90003c2f4a8 EFLAGS: 00000a02 RAX: 0000000000000000 RBX: ffff8880b99356a8 RCX: ffff88807b98d940 RDX: ffff88807b98d940 RSI: ffffffff8b3d2b20 RDI: ffffffff8b3d2ae0 RBP: 0000000000000001 R08: ffffffff8a860f99 R09: fffffbfff2092e45 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000013 R13: ffff88803d3d8582 R14: ffffffff8cb0f858 R15: dffffc0000000000 FS: 00007f2b598ed6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c638d90680 CR3: 000000007f21b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock_held_common kernel/rcu/update.c:108 [inline] rcu_read_lock_held+0x11/0x40 kernel/rcu/update.c:309 xa_entry include/linux/xarray.h:1198 [inline] xas_descend+0x120/0x470 lib/xarray.c:204 xas_load lib/xarray.c:242 [inline] xa_get_order+0x283/0x5a0 lib/xarray.c:1768 __filemap_add_folio+0x4ef/0x1ba0 mm/filemap.c:867 filemap_add_folio+0x11d/0x570 mm/filemap.c:934 page_cache_ra_unbounded+0x20c/0x7b0 mm/readahead.c:251 do_sync_mmap_readahead+0x7ae/0x980 mm/filemap.c:3107 filemap_fault+0x813/0x17e0 mm/filemap.c:3199 __do_fault+0x136/0x4f0 mm/memory.c:4261 do_shared_fault mm/memory.c:4667 [inline] do_fault mm/memory.c:4745 [inline] handle_pte_fault mm/memory.c:5013 [inline] __handle_mm_fault mm/memory.c:5155 [inline] handle_mm_fault+0x2243/0x5340 mm/memory.c:5276 do_user_addr_fault arch/x86/mm/fault.c:1371 [inline] handle_page_fault arch/x86/mm/fault.c:1462 [inline] exc_page_fault+0x26f/0x660 arch/x86/mm/fault.c:1518 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7f2b5990931d Code: 48 83 c4 08 4c 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 0f 1f 00 e8 93 cd ff ff eb 8d 90 31 c0 66 0f 1f 44 00 00 41 0f b6 14 04 <88> 14 07 48 83 c0 01 48 39 c3 75 ef 48 01 df 49 01 dc 49 89 7e 28 RSP: 002b:00007f2b598eca70 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000000 RDX: 0000000000000030 RSI: 00007f2b5998800f RDI: 0000000020000200 RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2b5998800f R13: 0000000000000002 R14: 00007f2b598ed000 R15: 00007f2b598ed140 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.514 msecs