INFO: task syz.8.3297:28343 blocked for more than 143 seconds. Not tainted 6.12.0-rc6-syzkaller-00110-gff7afaeca1a1 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.8.3297 state:D stack:27696 pid:28343 tgid:28340 ppid:22324 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0xe55/0x5740 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6782 schedule_timeout+0x258/0x2a0 kernel/time/timer.c:2591 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x3e1/0x600 kernel/sched/completion.c:116 wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion_state+0x1c/0x40 kernel/sched/completion.c:264 coredump_wait fs/coredump.c:418 [inline] do_coredump+0x82f/0x4160 fs/coredump.c:575 get_signal+0x237c/0x26d0 kernel/signal.c:2902 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x150/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa3acb7e719 RSP: 002b:00007fa3ad8c1038 EFLAGS: 00000246 ORIG_RAX: 0000000000000080 RAX: fffffffffffffffc RBX: 00007fa3acd36058 RCX: 00007fa3acb7e719 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007fa3acbf139e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa3acd36058 R15: 00007ffdfaccf2a8 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8ddb7800 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8ddb7800 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8ddb7800 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6720 2 locks held by getty/5599: #0: ffff8880354a20a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 1 lock held by syz-executor/5830: #0: ffff88807f78dec0 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:870 [inline] #0: ffff88807f78dec0 (mapping.invalidate_lock){++++}-{3:3}, at: page_cache_ra_unbounded+0x173/0x6c0 mm/readahead.c:226 3 locks held by kworker/u8:21/8773: #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1212/0x1b30 kernel/workqueue.c:3204 #1: ffffc9000bdafd80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 #2: ffffffff8fac5328 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:276 5 locks held by kworker/u8:31/10021: #0: ffff88801baed948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x1212/0x1b30 kernel/workqueue.c:3204 #1: ffffc9000c4cfd80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 #2: ffffffff8faaf690 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xbb/0xb40 net/core/net_namespace.c:580 #3: ffffffff8fac5328 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0x8f/0x9b0 net/core/dev.c:11938 #4: ffffffff8ddc30f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:297 2 locks held by syz.3.2321/21471: 2 locks held by kworker/u8:22/23334: 1 lock held by syz.8.3297/28341: 7 locks held by syz-executor/29540: #0: ffff888035718420 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x12f/0x260 fs/read_write.c:736 #1: ffff888031ee8888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x27b/0x500 fs/kernfs/file.c:325 #2: ffff8881443841e8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x29e/0x500 fs/kernfs/file.c:326 #3: ffffffff8f06b1a8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xd2/0x4b0 drivers/net/netdevsim/bus.c:216 #4: ffff88805a04c0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff88805a04c0e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff88805a04c0e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1293 #5: ffff8880453b0250 (&devlink->lock_key#48){+.+.}-{3:3}, at: nsim_drv_remove+0x4a/0x1d0 drivers/net/netdevsim/dev.c:1675 #6: ffffffff8fac5328 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x6f/0x6b0 drivers/net/netdevsim/netdev.c:773 1 lock held by syz.2.3493/29731: #0: ffff88807f78dec0 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:870 [inline] #0: ffff88807f78dec0 (mapping.invalidate_lock){++++}-{3:3}, at: page_cache_ra_unbounded+0x173/0x6c0 mm/readahead.c:226 4 locks held by syz.6.3495/29736: 1 lock held by syz.4.3496/29738: #0: ffff88807f78dec0 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:870 [inline] #0: ffff88807f78dec0 (mapping.invalidate_lock){++++}-{3:3}, at: page_cache_ra_unbounded+0x173/0x6c0 mm/readahead.c:226 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc6-syzkaller-00110-gff7afaeca1a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf0c/0x1240 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 21471 Comm: syz.3.2321 Not tainted 6.12.0-rc6-syzkaller-00110-gff7afaeca1a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:arch_atomic64_read arch/x86/include/asm/atomic64_64.h:15 [inline] RIP: 0010:raw_atomic64_read include/linux/atomic/atomic-arch-fallback.h:2583 [inline] RIP: 0010:raw_atomic_long_read include/linux/atomic/atomic-long.h:38 [inline] RIP: 0010:atomic_long_read include/linux/atomic/atomic-instrumented.h:3189 [inline] RIP: 0010:__rwsem_set_reader_owned kernel/locking/rwsem.c:174 [inline] RIP: 0010:rwsem_set_reader_owned kernel/locking/rwsem.c:181 [inline] RIP: 0010:__down_read_trylock kernel/locking/rwsem.c:1286 [inline] RIP: 0010:down_read_trylock+0x152/0x3f0 kernel/locking/rwsem.c:1563 Code: 8d 7c 24 20 e8 af 38 85 00 48 8b 44 24 20 f0 48 0f b1 2b 0f 85 eb 01 00 00 4c 8d 6b 08 be 08 00 00 00 4c 89 ef e8 5e 38 85 00 <4c> 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 65 4c 8b 35 a5 RSP: 0018:ffffc9000c00fca8 EFLAGS: 00000246 RAX: 0000000000000001 RBX: ffff88802b33f328 RCX: ffffffff8168ce02 RDX: ffffed1005667e67 RSI: 0000000000000008 RDI: ffff88802b33f330 RBP: 0000000000000100 R08: 0000000000000000 R09: ffffed1005667e66 R10: ffff88802b33f337 R11: 0000000000000000 R12: 1ffff92001801f95 R13: ffff88802b33f330 R14: ffff88802b33f328 R15: 0000000000000000 FS: 00007fb993d0e6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000009 CR3: 00000000339b6000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mmap_read_trylock include/linux/mmap_lock.h:163 [inline] get_mmap_lock_carefully mm/memory.c:6114 [inline] lock_mm_and_find_vma+0x35/0x6a0 mm/memory.c:6174 do_user_addr_fault+0x2b5/0x13f0 arch/x86/mm/fault.c:1361 handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x5c/0xc0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:__put_user_8+0x11/0x20 arch/x86/lib/putuser.S:107 Code: 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 89 cb 48 c1 fb 3f 48 09 d9 0f 01 cb <48> 89 01 31 c9 0f 01 ca c3 cc cc cc cc 66 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000c00feb0 EFLAGS: 00050206 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000009 RDX: 1ffff1100cca46e3 RSI: ffffffff813d4970 RDI: ffff888066523718 RBP: 0000000000000009 R08: 0000000000000000 R09: fffffbfff2039e59 R10: ffffffff901cf2cf R11: 0000000000000000 R12: ffff888066521e00 R13: 000000000000009e R14: 0000000000000000 R15: 0000000000000000 shstk_prctl+0x333/0x6a0 arch/x86/kernel/shstk.c:540 do_arch_prctl_64+0x249/0x710 arch/x86/kernel/process_64.c:974 __do_sys_arch_prctl arch/x86/kernel/process_64.c:987 [inline] __se_sys_arch_prctl arch/x86/kernel/process_64.c:983 [inline] __x64_sys_arch_prctl+0x63/0xc0 arch/x86/kernel/process_64.c:983 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb992f7e719 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:00007fb993d0e038 EFLAGS: 00000246 ORIG_RAX: 000000000000009e RAX: ffffffffffffffda RBX: 00007fb993135f80 RCX: 00007fb992f7e719 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 0000000000005005 RBP: 00007fb992ff139e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fb993135f80 R15: 00007ffe20283828