INFO: task syz.6.1414:11592 blocked for more than 143 seconds. Not tainted 6.12.0-syzkaller-07834-g06afb0f36106 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.6.1414 state:D stack:26936 pid:11592 tgid:11591 ppid:8866 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 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 __mutex_lock_common kernel/locking/mutex.c:665 [inline] __mutex_lock+0x7e7/0xee0 kernel/locking/mutex.c:735 lock_system_sleep+0x60/0xa0 kernel/power/main.c:56 snapshot_open+0x27/0x280 kernel/power/user.c:56 misc_open+0x2cc/0x340 drivers/char/misc.c:165 chrdev_open+0x521/0x600 fs/char_dev.c:414 do_dentry_open+0xbe1/0x1b70 fs/open.c:945 vfs_open+0x3e/0x330 fs/open.c:1075 do_open fs/namei.c:3828 [inline] path_openat+0x2c84/0x3590 fs/namei.c:3987 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:0x7ffabd17e819 RSP: 002b:00007ffabdf5e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ffabd335fa0 RCX: 00007ffabd17e819 RDX: 0000000000080201 RSI: 0000000020002240 RDI: ffffffffffffff9c RBP: 00007ffabd1f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffabd335fa0 R15: 00007ffcf8cac9c8 INFO: task syz.6.1414:11595 blocked for more than 143 seconds. Not tainted 6.12.0-syzkaller-07834-g06afb0f36106 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.6.1414 state:D stack:24632 pid:11595 tgid:11591 ppid:8866 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 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 __mutex_lock_common kernel/locking/mutex.c:665 [inline] __mutex_lock+0x7e7/0xee0 kernel/locking/mutex.c:735 misc_open+0x54/0x340 drivers/char/misc.c:129 chrdev_open+0x521/0x600 fs/char_dev.c:414 do_dentry_open+0xbe1/0x1b70 fs/open.c:945 vfs_open+0x3e/0x330 fs/open.c:1075 do_open fs/namei.c:3828 [inline] path_openat+0x2c84/0x3590 fs/namei.c:3987 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:0x7ffabd17e819 RSP: 002b:00007ffabdf3d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ffabd336080 RCX: 00007ffabd17e819 RDX: 00000000001c1202 RSI: 0000000020002580 RDI: ffffffffffffff9c RBP: 00007ffabd1f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007ffabd336080 R15: 00007ffcf8cac9c8 INFO: task syz.9.1417:11602 blocked for more than 144 seconds. Not tainted 6.12.0-syzkaller-07834-g06afb0f36106 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.9.1417 state:D stack:24632 pid:11602 tgid:11599 ppid:11201 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 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 __mutex_lock_common kernel/locking/mutex.c:665 [inline] __mutex_lock+0x7e7/0xee0 kernel/locking/mutex.c:735 misc_open+0x54/0x340 drivers/char/misc.c:129 chrdev_open+0x521/0x600 fs/char_dev.c:414 do_dentry_open+0xbe1/0x1b70 fs/open.c:945 vfs_open+0x3e/0x330 fs/open.c:1075 do_open fs/namei.c:3828 [inline] path_openat+0x2c84/0x3590 fs/namei.c:3987 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:0x7f0d9bd7e819 RSP: 002b:00007f0d9cad3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f0d9bf35fa0 RCX: 00007f0d9bd7e819 RDX: 0000000000000002 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007f0d9bdf175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f0d9bf35fa0 R15: 00007ffdc5f928c8 INFO: task syz.7.1420:11616 blocked for more than 144 seconds. Not tainted 6.12.0-syzkaller-07834-g06afb0f36106 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.7.1420 state:D stack:27392 pid:11616 tgid:11615 ppid:9844 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 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 __mutex_lock_common kernel/locking/mutex.c:665 [inline] __mutex_lock+0x7e7/0xee0 kernel/locking/mutex.c:735 misc_open+0x54/0x340 drivers/char/misc.c:129 chrdev_open+0x521/0x600 fs/char_dev.c:414 do_dentry_open+0xbe1/0x1b70 fs/open.c:945 vfs_open+0x3e/0x330 fs/open.c:1075 do_open fs/namei.c:3828 [inline] path_openat+0x2c84/0x3590 fs/namei.c:3987 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:0x7f9500b7d1b0 RSP: 002b:00007f9501908ef0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f9500b7d1b0 RDX: 0000000000000002 RSI: 00007f9500bf14f4 RDI: 00000000ffffff9c RBP: 00007f9500bf14f4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000036 R14: 0000000020000000 R15: 00007ffdac718558 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e93c860 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e93c860 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e93c860 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 2 locks held by getty/5586: #0: ffff8880318d30a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fd62f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 5 locks held by syz.2.1007/9976: #0: ffff888024e22478 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x254/0x320 fs/file.c:1191 #1: ffff88803575c420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2964 [inline] #1: ffff88803575c420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x225/0xd30 fs/read_write.c:675 #2: ffff8880223fc888 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1ea/0x500 fs/kernfs/file.c:325 #3: ffff888140eda788 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20e/0x500 fs/kernfs/file.c:326 #4: ffffffff8e7ef648 (system_transition_mutex){+.+.}-{4:4}, at: software_resume+0x45/0x3d0 kernel/power/hibernate.c:989 2 locks held by syz.6.1414/11592: #0: ffffffff8f17b308 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x54/0x340 drivers/char/misc.c:129 #1: ffffffff8e7ef648 (system_transition_mutex){+.+.}-{4:4}, at: lock_system_sleep+0x60/0xa0 kernel/power/main.c:56 1 lock held by syz.6.1414/11595: #0: ffffffff8f17b308 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x54/0x340 drivers/char/misc.c:129 1 lock held by syz.9.1417/11602: #0: ffffffff8f17b308 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x54/0x340 drivers/char/misc.c:129 1 lock held by syz.7.1420/11616: #0: ffffffff8f17b308 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x54/0x340 drivers/char/misc.c:129 1 lock held by syz.4.1424/11641: #0: ffffffff8f17b308 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x54/0x340 drivers/char/misc.c:129 1 lock held by syz.8.1426/11651: #0: ffffffff8f17b308 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x54/0x340 drivers/char/misc.c:129 1 lock held by syz-executor/11761: #0: ffffffff8f17b308 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x54/0x340 drivers/char/misc.c:129 1 lock held by syz-executor/11764: #0: ffffffff8f17b308 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x54/0x340 drivers/char/misc.c:129 1 lock held by syz-executor/11819: #0: ffffffff8f17b308 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x54/0x340 drivers/char/misc.c:129 1 lock held by syz-executor/11866: #0: ffffffff8f17b308 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x54/0x340 drivers/char/misc.c:129 1 lock held by syz-executor/11885: #0: ffffffff8f17b308 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x54/0x340 drivers/char/misc.c:129 1 lock held by syz-executor/11902: #0: ffffffff8f17b308 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x54/0x340 drivers/char/misc.c:129 1 lock held by syz-executor/11903: #0: ffffffff8f17b308 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x54/0x340 drivers/char/misc.c:129 1 lock held by syz-executor/11905: #0: ffffffff8f17b308 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x54/0x340 drivers/char/misc.c:129 1 lock held by syz-executor/11907: #0: ffffffff8f17b308 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x54/0x340 drivers/char/misc.c:129 1 lock held by syz-executor/11909: #0: ffffffff8f17b308 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x54/0x340 drivers/char/misc.c:129 1 lock held by syz-executor/11913: #0: ffffffff8f17b308 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x54/0x340 drivers/char/misc.c:129 1 lock held by syz-executor/11914: #0: ffffffff8f17b308 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x54/0x340 drivers/char/misc.c:129 1 lock held by syz-executor/11916: #0: ffffffff8f17b308 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x54/0x340 drivers/char/misc.c:129 1 lock held by syz-executor/11918: #0: ffffffff8f17b308 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x54/0x340 drivers/char/misc.c:129 1 lock held by syz-executor/11920: #0: ffffffff8f17b308 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x54/0x340 drivers/char/misc.c:129 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-syzkaller-07834-g06afb0f36106 #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:223 [inline] watchdog+0xff4/0x1040 kernel/hung_task.c:379 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5502 Comm: dhcpcd Not tainted 6.12.0-syzkaller-07834-g06afb0f36106 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3817 [inline] RIP: 0010:validate_chain+0x1cb/0x5920 kernel/locking/lockdep.c:3872 Code: 8d 1c c5 c0 07 e2 93 48 89 d8 48 c1 e8 03 48 89 44 24 68 42 80 3c 20 00 74 08 48 89 df e8 5d 9c 8b 00 48 89 5c 24 48 48 8b 1b <48> 85 db 74 48 48 83 c3 f8 74 42 4c 8d 7b 18 4c 89 f8 48 c1 e8 03 RSP: 0018:ffffc90002edf4e0 EFLAGS: 00000046 RAX: 1ffffffff281b98a RBX: ffffffff943359e8 RCX: ffffffff817144ae RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff942b0950 RBP: ffffc90002edf7e0 R08: ffffffff942b0957 R09: 1ffffffff285612a R10: dffffc0000000000 R11: fffffbfff285612b R12: dffffc0000000000 R13: ffff88802e832900 R14: 64e5d643df372a3d R15: 0000000000000001 FS: 00007f493a5a6740(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff0f8cb228 CR3: 0000000034380000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x1397/0x2100 kernel/locking/lockdep.c:5226 reacquire_held_locks+0x3eb/0x690 kernel/locking/lockdep.c:5374 __lock_release kernel/locking/lockdep.c:5563 [inline] lock_release+0x396/0xa30 kernel/locking/lockdep.c:5870 sock_release_ownership include/net/sock.h:1732 [inline] release_sock+0x12f/0x1f0 net/core/sock.c:3643 sk_setsockopt+0xaa1/0x33b0 do_sock_setsockopt+0x2fb/0x720 net/socket.c:2309 __sys_setsockopt net/socket.c:2338 [inline] __do_sys_setsockopt net/socket.c:2344 [inline] __se_sys_setsockopt net/socket.c:2341 [inline] __x64_sys_setsockopt+0x1ee/0x280 net/socket.c:2341 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:0x7f493a67eb7a Code: d8 64 89 02 48 83 c8 ff 89 ef 48 89 44 24 08 e8 eb 54 f9 ff 48 8b 44 24 08 48 83 c4 30 5d c3 c3 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 10 48 8b 15 7f c2 0c 00 f7 d8 64 89 02 48 83 RSP: 002b:00007fff0f8aa998 EFLAGS: 00000283 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fff0f8aaa20 RCX: 00007f493a67eb7a RDX: 0000000000000007 RSI: 0000000000000001 RDI: 0000000000000027 RBP: 00007fff0f8cae68 R08: 0000000000000004 R09: 000055a2a347f8c0 R10: 00007fff0f8aa9ac R11: 0000000000000283 R12: 0000000000000007 R13: 000055a2a347f8c0 R14: 0000000000000000 R15: 000055a2a347f8f4