INFO: task syz.5.591:9733 blocked for more than 143 seconds. Not tainted 6.12.0-next-20241128-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.591 state:D stack:25520 pid:9733 tgid:9703 ppid:5947 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write_nested+0x1e0/0x220 kernel/locking/rwsem.c:1694 inode_lock_nested include/linux/fs.h:853 [inline] filename_create+0x260/0x540 fs/namei.c:4080 do_mkdirat+0xbd/0x3a0 fs/namei.c:4326 __do_sys_mkdirat fs/namei.c:4349 [inline] __se_sys_mkdirat fs/namei.c:4347 [inline] __x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4347 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8b14180849 RSP: 002b:00007f8b14f74058 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f8b14346240 RCX: 00007f8b14180849 RDX: 0000000000000000 RSI: 0000000020002040 RDI: ffffffffffffff9c RBP: 00007f8b141f3986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f8b14346240 R15: 00007fff6dfd60c8 INFO: task syz.5.591:9736 blocked for more than 143 seconds. Not tainted 6.12.0-next-20241128-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.591 state:D stack:26096 pid:9736 tgid:9703 ppid:5947 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578 inode_lock include/linux/fs.h:818 [inline] open_last_lookups fs/namei.c:3745 [inline] path_openat+0x89a/0x3590 fs/namei.c:3984 do_filp_open+0x27f/0x4e0 fs/namei.c:4014 do_sys_openat2+0x13e/0x1d0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_sys_openat fs/open.c:1433 [inline] __se_sys_openat fs/open.c:1428 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1428 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8b14180849 RSP: 002b:00007f8b14f53058 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f8b14346320 RCX: 00007f8b14180849 RDX: 0000000000000042 RSI: 0000000020000100 RDI: ffffffffffffff9c RBP: 00007f8b141f3986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f8b14346320 R15: 00007fff6dfd60c8 INFO: task syz.5.591:9738 blocked for more than 144 seconds. Not tainted 6.12.0-next-20241128-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.591 state:D stack:26192 pid:9738 tgid:9703 ppid:5947 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write_nested+0x1e0/0x220 kernel/locking/rwsem.c:1694 inode_lock_nested include/linux/fs.h:853 [inline] filename_create+0x260/0x540 fs/namei.c:4080 do_mkdirat+0xbd/0x3a0 fs/namei.c:4326 __do_sys_mkdirat fs/namei.c:4349 [inline] __se_sys_mkdirat fs/namei.c:4347 [inline] __x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4347 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8b1417f0b7 RSP: 002b:00007f8b14f31e88 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f8b14f31f10 RCX: 00007f8b1417f0b7 RDX: 00000000000001ff RSI: 0000000020001040 RDI: 00000000ffffff9c RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020001040 R13: 00007f8b14f31ed0 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: #0: ffffffff8e93d038 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: ffffffff8e93d038 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 3 locks held by kworker/0:0/8: 1 lock held by khungtaskd/30: #0: ffffffff8e937b20 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937b20 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937b20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 2 locks held by kworker/u8:6/1330: 1 lock held by udevd/5206: #0: ffff88814376b4c8 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xf0/0xc50 block/bdev.c:904 2 locks held by getty/5604: #0: ffff888030adb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 7 locks held by kworker/1:2/5839: 3 locks held by kworker/0:3/5859: #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc90003f6fd00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90003f6fd00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffff888061554240 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1490 2 locks held by kworker/0:5/5892: #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc9000430fd00 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc9000430fd00 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 3 locks held by kworker/1:4/5922: 1 lock held by syz.5.591/9704: 1 lock held by syz.5.591/9733: #0: ffff88805d7dc180 (&type->i_mutex_dir_key#24/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:853 [inline] #0: ffff88805d7dc180 (&type->i_mutex_dir_key#24/1){+.+.}-{4:4}, at: filename_create+0x260/0x540 fs/namei.c:4080 1 lock held by syz.5.591/9736: #0: ffff88805d7dc180 (&type->i_mutex_dir_key#24){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline] #0: ffff88805d7dc180 (&type->i_mutex_dir_key#24){+.+.}-{4:4}, at: open_last_lookups fs/namei.c:3745 [inline] #0: ffff88805d7dc180 (&type->i_mutex_dir_key#24){+.+.}-{4:4}, at: path_openat+0x89a/0x3590 fs/namei.c:3984 1 lock held by syz.5.591/9738: #0: ffff88805d7dc180 (&type->i_mutex_dir_key#24/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:853 [inline] #0: ffff88805d7dc180 (&type->i_mutex_dir_key#24/1){+.+.}-{4:4}, at: filename_create+0x260/0x540 fs/namei.c:4080 2 locks held by syz-executor/10720: 1 lock held by syz-executor/10886: 1 lock held by syz-executor/10933: 2 locks held by syz.9.874/11185: 1 lock held by syz.7.871/11180: 2 locks held by dhcpcd-run-hook/11184: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-next-20241128-syzkaller #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+0x241/0x360 lib/dump_stack.c:120 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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline] watchdog+0xff6/0x1040 kernel/hung_task.c:397 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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: 10933 Comm: syz-executor Not tainted 6.12.0-next-20241128-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__list_del_entry_valid include/linux/list.h:124 [inline] RIP: 0010:__list_del_entry include/linux/list.h:215 [inline] RIP: 0010:list_del include/linux/list.h:229 [inline] RIP: 0010:free_pcppages_bulk+0x27b/0x5e0 mm/page_alloc.c:1216 Code: 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 48 89 ef e8 a1 4b 0f 00 48 8b 6d 00 80 e3 3c 89 d9 48 d3 ed <4c> 89 ff e8 6d 46 d7 02 84 c0 0f 84 94 00 00 00 49 8d 7f 08 48 89 RSP: 0018:ffffc9000ed67690 EFLAGS: 00000046 RAX: 1ffff11027fff41e RBX: 0000000000000d20 RCX: 0000000000000d20 RDX: 0000000000000000 RSI: ffffffff8c5f8d80 RDI: ffffffff8c5f8d40 RBP: 0000000000000000 R08: ffffffff90199eb7 R09: 1ffffffff20333d6 R10: dffffc0000000000 R11: fffffbfff20333d7 R12: 0000000000000000 R13: 000000000000001f R14: 000000000006915d R15: ffffea0001a45748 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005558a521b048 CR3: 0000000065670000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: free_unref_page_commit+0x582/0x1140 mm/page_alloc.c:2668 free_unref_page+0x72f/0x1130 mm/page_alloc.c:2716 vfree+0x186/0x2e0 mm/vmalloc.c:3382 kcov_put kernel/kcov.c:439 [inline] kcov_close+0x28/0x50 kernel/kcov.c:535 __fput+0x23c/0xa50 fs/file_table.c:450 task_work_run+0x24f/0x310 kernel/task_work.c:239 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0xa2f/0x28e0 kernel/exit.c:938 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 get_signal+0x16b2/0x1750 kernel/signal.c:3016 arch_do_signal_or_restart+0x96/0x860 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:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xce/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fefb6b8044b Code: Unable to access opcode bytes at 0x7fefb6b80421. RSP: 002b:00007ffdf6555e00 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffed RBX: 0000000000000005 RCX: 00007fefb6b8044b RDX: 00007ffdf6555e60 RSI: 0000000000008933 RDI: 0000000000000005 RBP: 00007ffdf6555e60 R08: 0000000000000009 R09: 0000000000000004 R10: 0000000000000015 R11: 0000000000000246 R12: 00007ffdf6555eec R13: 00007fefb6bf4bcc R14: 00007fefb7874620 R15: 00007fefb6bf4bcc