INFO: task syz-executor.4:7639 blocked for more than 143 seconds. Not tainted 5.16.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27696 pid: 7639 ppid: 7348 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 rwsem_down_read_slowpath+0x5e2/0xb00 kernel/locking/rwsem.c:1041 __down_read_common+0xaa/0x450 kernel/locking/rwsem.c:1223 mmap_read_lock include/linux/mmap_lock.h:117 [inline] do_user_addr_fault+0x6cf/0x10c0 arch/x86/mm/fault.c:1348 handle_page_fault arch/x86/mm/fault.c:1485 [inline] exc_page_fault+0xa1/0x1e0 arch/x86/mm/fault.c:1541 asm_exc_page_fault+0x1e/0x30 RIP: 0033:0x7f4a70d56d20 RSP: 002b:00007f4a6f699ce8 EFLAGS: 00010206 RAX: 00000000200000c0 RBX: 00000000000003ff RCX: 00000000000000c0 RDX: 00000000000003ff RSI: 00000000200004bf RDI: 00000000200000c0 RBP: 00000000200000c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000480 R11: 00000000200004bf R12: 0000000000000000 R13: 00007f4a6f699d40 R14: 00007f4a6f69a300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8cb1de40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3281: #0: ffff88807f3fa098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002b932e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2113 1 lock held by syz-executor.4/7623: #0: ffff88801ee25528 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline] #0: ffff88801ee25528 (&mm->mmap_lock#2){++++}-{3:3}, at: exit_mm+0xd4/0x2f0 kernel/exit.c:483 1 lock held by syz-executor.4/7625: #0: ffff88801ee25528 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline] #0: ffff88801ee25528 (&mm->mmap_lock#2){++++}-{3:3}, at: exit_mm+0xd4/0x2f0 kernel/exit.c:483 1 lock held by syz-executor.4/7638: #0: ffff88801ee25528 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline] #0: ffff88801ee25528 (&mm->mmap_lock#2){++++}-{3:3}, at: exit_mm+0xd4/0x2f0 kernel/exit.c:483 1 lock held by syz-executor.4/7639: #0: ffff88801ee25528 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline] #0: ffff88801ee25528 (&mm->mmap_lock#2){++++}-{3:3}, at: do_user_addr_fault+0x6cf/0x10c0 arch/x86/mm/fault.c:1348 1 lock held by syz-executor.4/7640: 1 lock held by syz-executor.4/7641: #0: ffff88801ee25528 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline] #0: ffff88801ee25528 (&mm->mmap_lock#2){++++}-{3:3}, at: exit_mm+0xd4/0x2f0 kernel/exit.c:483 1 lock held by syz-executor.4/7642: #0: ffff88801ee25528 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline] #0: ffff88801ee25528 (&mm->mmap_lock#2){++++}-{3:3}, at: exit_mm+0xd4/0x2f0 kernel/exit.c:483 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc82/0xcd0 kernel/hung_task.c:295 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 50 Comm: kworker/u4:2 Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:mark_lock+0x8/0x1e00 kernel/locking/lockdep.c:4566 Code: c1 03 38 c1 0f 8c 6f ff ff ff 4c 89 ff e8 e0 f5 69 00 e9 62 ff ff ff e8 36 15 ac 08 66 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 <41> 55 41 54 53 48 83 e4 e0 48 81 ec c0 01 00 00 65 48 8b 04 25 28 RSP: 0018:ffffc9000137f8e0 EFLAGS: 00000046 RAX: 0000000000000002 RBX: ffff8880139ee1d0 RCX: 00000000ffffffff RDX: 0000000000000008 RSI: ffff8880139ee1b0 RDI: ffff8880139ed700 RBP: ffffc9000137f8f0 R08: dffffc0000000000 R09: fffffbfff1ff39f9 R10: fffffbfff1ff39f9 R11: 0000000000000000 R12: 000000000000000a R13: ffff8880139ee1b0 R14: ffff8880139ed700 R15: ffff8880139ee1d0 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055deea749600 CR3: 000000000c88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_usage kernel/locking/lockdep.c:4526 [inline] __lock_acquire+0xd38/0x2b00 kernel/locking/lockdep.c:4981 lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5637 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:268 rcu_read_lock include/linux/rcupdate.h:688 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0xc8/0x5b0 net/batman-adv/network-coding.c:723 process_one_work+0x853/0x1140 kernel/workqueue.c:2298 worker_thread+0xac1/0x1320 kernel/workqueue.c:2445 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 38 c1 cmp %al,%cl 2: 0f 8c 6f ff ff ff jl 0xffffff77 8: 4c 89 ff mov %r15,%rdi b: e8 e0 f5 69 00 callq 0x69f5f0 10: e9 62 ff ff ff jmpq 0xffffff77 15: e8 36 15 ac 08 callq 0x8ac1550 1a: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 20: 55 push %rbp 21: 48 89 e5 mov %rsp,%rbp 24: 41 57 push %r15 26: 41 56 push %r14 * 28: 41 55 push %r13 <-- trapping instruction 2a: 41 54 push %r12 2c: 53 push %rbx 2d: 48 83 e4 e0 and $0xffffffffffffffe0,%rsp 31: 48 81 ec c0 01 00 00 sub $0x1c0,%rsp 38: 65 gs 39: 48 rex.W 3a: 8b .byte 0x8b 3b: 04 25 add $0x25,%al 3d: 28 .byte 0x28