INFO: task syz-executor.5:29014 blocked for more than 143 seconds. Not tainted 6.7.0-rc6-syzkaller-00176-g24e0d2e527a3 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:26896 pid:29014 tgid:29014 ppid:5123 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe9/0x270 kernel/sched/core.c:6778 schedule_timeout+0x257/0x290 kernel/time/timer.c:2143 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x3e0/0x5f0 kernel/sched/completion.c:116 __flush_work+0x523/0xa10 kernel/workqueue.c:3404 __cancel_work_timer+0x3ef/0x590 kernel/workqueue.c:3491 tls_sk_proto_close+0x4b1/0xac0 net/tls/tls_main.c:376 inet_release+0x132/0x270 net/ipv4/af_inet.c:433 inet6_release+0x4f/0x70 net/ipv6/af_inet6.c:485 __sock_release+0xae/0x260 net/socket.c:659 sock_close+0x1c/0x20 net/socket.c:1419 __fput+0x270/0xb70 fs/file_table.c:394 __fput_sync+0x47/0x50 fs/file_table.c:475 __do_sys_close fs/open.c:1587 [inline] __se_sys_close fs/open.c:1572 [inline] __x64_sys_close+0x87/0xf0 fs/open.c:1572 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7feb0407bbda RSP: 002b:00007feb042bfb10 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007feb0407bbda RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007feb0419d980 R08: 0000001b32920000 R09: 0000000000000411 R10: 0000000081301562 R11: 0000000000000293 R12: 00000000000c761c R13: ffffffffffffffff R14: 00007feb03c00000 R15: 00000000000c72db Showing all locks held in the system: 2 locks held by ksoftirqd/0/16: #0: ffff8880b983c718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:566 [inline] #0: ffff8880b983c718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:551 #1: ffff8880b9828888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:988 1 lock held by khungtaskd/29: #0: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 3 locks held by kworker/u4:3/48: 2 locks held by getty/4826: #0: ffff88814cf380a0 (&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+0xfc6/0x1490 drivers/tty/n_tty.c:2201 2 locks held by syz-executor.3/5126: 3 locks held by kworker/0:4/5168: #0: ffff888013070d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x789/0x15d0 kernel/workqueue.c:2602 #1: ffffc9000421fd80 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15d0 kernel/workqueue.c:2603 #2: ffff88801fdcccf0 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x134/0x230 net/tls/tls_sw.c:2540 1 lock held by syz-executor.5/29014: #0: ffff8880311cac10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #0: ffff8880311cac10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x260 net/socket.c:658 1 lock held by syz-executor.5/32233: #0: ffff8880308f79d0 (&client->ioctl_mutex){+.+.}-{3:3}, at: snd_seq_ioctl+0x1f7/0x3e0 sound/core/seq/seq_clientmgr.c:2326 1 lock held by syz-executor.5/32240: #0: ffff8880308f79d0 (&client->ioctl_mutex){+.+.}-{3:3}, at: snd_seq_ioctl+0x1f7/0x3e0 sound/core/seq/seq_clientmgr.c:2326 1 lock held by syz-executor.5/32245: #0: ffff88802ff4d1d0 (&client->ioctl_mutex){+.+.}-{3:3}, at: snd_seq_ioctl+0x1f7/0x3e0 sound/core/seq/seq_clientmgr.c:2326 1 lock held by syz-executor.5/32248: #0: ffff88802ff4d1d0 (&client->ioctl_mutex){+.+.}-{3:3}, at: snd_seq_ioctl+0x1f7/0x3e0 sound/core/seq/seq_clientmgr.c:2326 3 locks held by syz-executor.2/32230: 1 lock held by syz-executor.2/32232: #0: ffff88801ee3c230 (sk_lock-AF_INET6){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1720 [inline] #0: ffff88801ee3c230 (sk_lock-AF_INET6){+.+.}-{0:0}, at: sockopt_lock_sock net/core/sock.c:1063 [inline] #0: ffff88801ee3c230 (sk_lock-AF_INET6){+.+.}-{0:0}, at: sockopt_lock_sock+0x55/0x70 net/core/sock.c:1054 3 locks held by syz-executor.1/32235: #0: ffff88807508ee10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #0: ffff88807508ee10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x260 net/socket.c:658 #1: ffff88801778b130 (sk_lock-AF_CAN){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1720 [inline] #1: ffff88801778b130 (sk_lock-AF_CAN){+.+.}-{0:0}, at: bcm_release+0x200/0x8d0 net/can/bcm.c:1527 #2: ffffffff8cfb71b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #2: ffffffff8cfb71b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x6b1/0x800 kernel/rcu/tree_exp.h:996 3 locks held by syz-executor.0/32239: #0: ffff888031173210 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #0: ffff888031173210 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x260 net/socket.c:658 #1: ffff888034af8130 (sk_lock-AF_CAN){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1720 [inline] #1: ffff888034af8130 (sk_lock-AF_CAN){+.+.}-{0:0}, at: bcm_release+0x200/0x8d0 net/can/bcm.c:1527 #2: ffffffff8cfb71b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #2: ffffffff8cfb71b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3ff/0x800 kernel/rcu/tree_exp.h:996 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc6-syzkaller-00176-g24e0d2e527a3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x299/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5127 Comm: syz-executor.0 Not tainted 6.7.0-rc6-syzkaller-00176-g24e0d2e527a3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x8/0x20 kernel/kcov.c:290 Code: 00 00 f3 0f 1e fa 48 8b 0c 24 48 89 f2 48 89 fe bf 06 00 00 00 e9 08 ff ff ff 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 8b 0c 24 <40> 0f b6 d6 40 0f b6 f7 bf 01 00 00 00 e9 e6 fe ff ff 66 0f 1f 44 RSP: 0018:ffffc900041efa10 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff8131c809 RDX: 1ffff9200083df75 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900041efab0 R08: 0000000000000007 R09: 0000000000000000 R10: ffffffff8aa0008b R11: 0000000000000000 R12: ffffc900041efa20 R13: ffffffff8174dd70 R14: ffffc900041efae0 R15: ffff88807c845940 FS: 00005555564df480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7bee577198 CR3: 000000002df39000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0xe9/0x170 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x50 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:522 ____kasan_slab_free mm/kasan/common.c:236 [inline] ____kasan_slab_free+0x15b/0x1b0 mm/kasan/common.c:200 kasan_slab_free include/linux/kasan.h:164 [inline] slab_free_hook mm/slub.c:1800 [inline] slab_free_freelist_hook+0x114/0x1e0 mm/slub.c:1826 slab_free mm/slub.c:3809 [inline] kmem_cache_free+0xf8/0x350 mm/slub.c:3831 security_file_free+0xa8/0xd0 security/security.c:2628 file_free fs/file_table.c:66 [inline] __fput+0x3e7/0xb70 fs/file_table.c:407 __fput_sync+0x47/0x50 fs/file_table.c:475 __do_sys_close fs/open.c:1587 [inline] __se_sys_close fs/open.c:1572 [inline] __x64_sys_close+0x87/0xf0 fs/open.c:1572 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fe95c07bbda Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24 RSP: 002b:00007fe95c2bfd40 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 00000000ffffffff RCX: 00007fe95c07bbda RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fe95c2bfdbc R08: 00007fe95c2bf6bc R09: 00007fe95c2bfaa7 R10: 00007fe95c2bf710 R11: 0000000000000293 R12: 0000000000000032 R13: 00000000000eddcc R14: 00000000000edc3b R15: 0000000000000011