INFO: task syz-executor.2:4491 blocked for more than 143 seconds. Not tainted 5.19.0-rc5-syzkaller-00233-gb1c428b6c368 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28408 pid: 4491 ppid: 3655 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5146 [inline] __schedule+0xa00/0x4b50 kernel/sched/core.c:6458 schedule+0xd2/0x1f0 kernel/sched/core.c:6530 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6589 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747 odev_open+0x5b/0x90 sound/core/seq/oss/seq_oss.c:127 soundcore_open+0x44e/0x620 sound/sound_core.c:593 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4a1/0x11f0 fs/open.c:848 do_open fs/namei.c:3520 [inline] path_openat+0x1c71/0x2910 fs/namei.c:3653 do_filp_open+0x1aa/0x400 fs/namei.c:3680 do_sys_openat2+0x16d/0x4c0 fs/open.c:1278 do_sys_open fs/open.c:1294 [inline] __do_sys_openat fs/open.c:1310 [inline] __se_sys_openat fs/open.c:1305 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1305 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7fcfd5a89109 RSP: 002b:00007fcfd6c7a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fcfd5b9bf60 RCX: 00007fcfd5a89109 RDX: 0000000000040001 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007fcfd5ae305d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000006000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fcfd60cfb1f R14: 00007fcfd6c7a300 R15: 0000000000022000 INFO: task syz-executor.0:4493 blocked for more than 143 seconds. Not tainted 5.19.0-rc5-syzkaller-00233-gb1c428b6c368 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27576 pid: 4493 ppid: 3637 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5146 [inline] __schedule+0xa00/0x4b50 kernel/sched/core.c:6458 schedule+0xd2/0x1f0 kernel/sched/core.c:6530 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6589 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747 odev_open+0x5b/0x90 sound/core/seq/oss/seq_oss.c:127 soundcore_open+0x44e/0x620 sound/sound_core.c:593 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4a1/0x11f0 fs/open.c:848 do_open fs/namei.c:3520 [inline] path_openat+0x1c71/0x2910 fs/namei.c:3653 do_filp_open+0x1aa/0x400 fs/namei.c:3680 do_sys_openat2+0x16d/0x4c0 fs/open.c:1278 do_sys_open fs/open.c:1294 [inline] __do_sys_openat fs/open.c:1310 [inline] __se_sys_openat fs/open.c:1305 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1305 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7fe352a89109 RSP: 002b:00007fe353b3b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fe352b9bf60 RCX: 00007fe352a89109 RDX: 0000000000040001 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007fe352ae305d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000006000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fe3530cfb1f R14: 00007fe353b3b300 R15: 0000000000022000 Showing all locks held in the system: 3 locks held by kworker/0:0/6: #0: ffff8880b9a39ed8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:552 [inline] #0: ffff8880b9a39ed8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x8c/0x120 kernel/sched/core.c:537 #1: ffff8880b9a277c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3e7/0x4e0 kernel/sched/psi.c:889 #2: ffffffff911bdcb0 (&obj_hash[i].lock){-.-.}-{2:2}, at: __debug_check_no_obj_freed lib/debugobjects.c:977 [inline] #2: ffffffff911bdcb0 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_check_no_obj_freed+0xc7/0x420 lib/debugobjects.c:1020 1 lock held by khungtaskd/28: #0: ffffffff8bd866a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491 5 locks held by kworker/u4:2/41: #0: ffff8880b9a39ed8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:552 [inline] #0: ffff8880b9a39ed8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x8c/0x120 kernel/sched/core.c:537 #1: ffffc90000b27da8 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffff8880b9a28398 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5a/0x1f0 kernel/time/timer.c:999 #3: ffffffff911a1510 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x12e/0x3e0 lib/debugobjects.c:658 #4: ffff8880b9a28398 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5a/0x1f0 kernel/time/timer.c:999 2 locks held by getty/3295: #0: ffff888026762098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d162e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2124 2 locks held by syz-executor.5/4494: #0: ffffffff8d4ab4a8 (register_mutex#4){+.+.}-{3:3}, at: odev_release+0x47/0x70 sound/core/seq/oss/seq_oss.c:143 #1: ffff88807b23f9f0 (&grp->list_mutex#2){+.+.}-{3:3}, at: snd_seq_port_disconnect+0x4f/0x5d0 sound/core/seq/seq_ports.c:612 1 lock held by syz-executor.2/4491: #0: ffffffff8d4ab4a8 (register_mutex#4){+.+.}-{3:3}, at: odev_open+0x5b/0x90 sound/core/seq/oss/seq_oss.c:127 1 lock held by syz-executor.0/4493: #0: ffffffff8d4ab4a8 (register_mutex#4){+.+.}-{3:3}, at: odev_open+0x5b/0x90 sound/core/seq/oss/seq_oss.c:127 1 lock held by syz-executor.5/4738: #0: ffffffff8d4ab4a8 (register_mutex#4){+.+.}-{3:3}, at: odev_open+0x5b/0x90 sound/core/seq/oss/seq_oss.c:127 1 lock held by syz-executor.5/4745: #0: ffffffff8d4ab4a8 (register_mutex#4){+.+.}-{3:3}, at: odev_open+0x5b/0x90 sound/core/seq/oss/seq_oss.c:127 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.19.0-rc5-syzkaller-00233-gb1c428b6c368 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:369 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2455 Comm: kworker/u4:5 Not tainted 5.19.0-rc5-syzkaller-00233-gb1c428b6c368 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 Workqueue: bat_events batadv_nc_worker RIP: 0010:test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] RIP: 0010:hlock_class kernel/locking/lockdep.c:227 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4727 [inline] RIP: 0010:__lock_acquire+0x3da/0x5660 kernel/locking/lockdep.c:5003 Code: d0 7c 08 84 d2 0f 85 8e 11 00 00 8b 84 24 58 01 00 00 41 89 44 24 24 48 8b 6c 24 10 be 08 00 00 00 81 e5 ff 1f 00 00 48 89 e8 <48> c1 f8 06 48 8d 3c c5 00 19 68 90 e8 e5 2d 69 00 48 0f a3 2d dd RSP: 0018:ffffc9000aa67a38 EFLAGS: 00000006 RAX: 0000000000000027 RBX: ffffffff8bd866a0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888025960ad4 RBP: 0000000000000027 R08: 1ffff11004b2c155 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888025960ab0 R13: ffff888025960000 R14: 0000000000020000 R15: 0000000000020027 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efc2a9a96c0 CR3: 000000007f13f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5665 [inline] lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5630 rcu_lock_acquire include/linux/rcupdate.h:269 [inline] rcu_read_lock include/linux/rcupdate.h:695 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x12d/0xfa0 net/batman-adv/network-coding.c:719 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 ---------------- Code disassembly (best guess): 0: d0 7c 08 84 sarb -0x7c(%rax,%rcx,1) 4: d2 0f rorb %cl,(%rdi) 6: 85 8e 11 00 00 8b test %ecx,-0x74ffffef(%rsi) c: 84 24 58 test %ah,(%rax,%rbx,2) f: 01 00 add %eax,(%rax) 11: 00 41 89 add %al,-0x77(%rcx) 14: 44 24 24 rex.R and $0x24,%al 17: 48 8b 6c 24 10 mov 0x10(%rsp),%rbp 1c: be 08 00 00 00 mov $0x8,%esi 21: 81 e5 ff 1f 00 00 and $0x1fff,%ebp 27: 48 89 e8 mov %rbp,%rax * 2a: 48 c1 f8 06 sar $0x6,%rax <-- trapping instruction 2e: 48 8d 3c c5 00 19 68 lea -0x6f97e700(,%rax,8),%rdi 35: 90 36: e8 e5 2d 69 00 callq 0x692e20 3b: 48 rex.W 3c: 0f .byte 0xf 3d: a3 .byte 0xa3 3e: 2d .byte 0x2d 3f: dd .byte 0xdd