INFO: task syz-executor.4:10783 blocked for more than 143 seconds. Not tainted 5.18.0-rc6-syzkaller-00015-g0ac824f379fb #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27528 pid:10783 ppid: 3652 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0xa9a/0x4cc0 kernel/sched/core.c:6388 schedule+0xd2/0x1f0 kernel/sched/core.c:6460 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1860 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x373/0x530 kernel/sched/completion.c:106 io_wq_exit_workers fs/io-wq.c:1266 [inline] io_wq_put_and_exit+0x4d6/0xe40 fs/io-wq.c:1301 io_uring_clean_tctx fs/io_uring.c:10391 [inline] io_uring_cancel_generic+0x538/0x5bc fs/io_uring.c:10461 io_uring_files_cancel include/linux/io_uring.h:18 [inline] do_exit+0x4f9/0x2a00 kernel/exit.c:750 do_group_exit+0xd2/0x2f0 kernel/exit.c:925 get_signal+0x22df/0x24c0 kernel/signal.c:2864 arch_do_signal_or_restart+0x82/0x20f0 arch/x86/kernel/signal.c:867 exit_to_user_mode_loop kernel/entry/common.c:166 [inline] exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:294 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fa5fec890e9 RSP: 002b:00007fa5ffea8218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fa5fed9bf68 RCX: 00007fa5fec890e9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fa5fed9bf68 RBP: 00007fa5fed9bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa5fed9bf6c R13: 00007fa5ff2cfb1f R14: 00007fa5ffea8300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bd820e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6467 3 locks held by klogd/2954: 2 locks held by getty/3276: #0: ffff88814869a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002ce62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcea/0x1230 drivers/tty/n_tty.c:2075 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.18.0-rc6-syzkaller-00015-g0ac824f379fb #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+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:298 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 10787 Comm: iou-wrk-10783 Not tainted 5.18.0-rc6-syzkaller-00015-g0ac824f379fb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kasan_check_range+0x17/0x180 mm/kasan/generic.c:188 Code: ff 89 43 08 5b 5d 41 5c c3 66 2e 0f 1f 84 00 00 00 00 00 48 85 f6 0f 84 3c 01 00 00 49 89 f9 41 54 44 0f b6 c2 49 01 f1 55 53 <0f> 82 18 01 00 00 48 b8 ff ff ff ff ff 7f ff ff 48 39 c7 0f 86 05 RSP: 0018:ffffc9000607f4f8 EFLAGS: 00000082 RAX: 0000000000000000 RBX: 0000000000000029 RCX: ffffffff815d59cc RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9006d900 RBP: 0000000000000004 R08: 0000000000000000 R09: ffffffff9006d908 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888019790a60 R13: ffff888019790000 R14: 0000000000000000 R15: 0000000000000002 FS: 00007fa5ffea8700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c003c49370 CR3: 000000007e1c8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] __lock_acquire+0x102c/0x56c0 kernel/locking/lockdep.c:4999 lock_acquire kernel/locking/lockdep.c:5641 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5606 rcu_lock_acquire include/linux/rcupdate.h:268 [inline] rcu_read_lock include/linux/rcupdate.h:694 [inline] aa_file_perm+0x14d/0x1230 security/apparmor/file.c:611 common_file_perm security/apparmor/lsm.c:475 [inline] apparmor_file_permission+0x15e/0x4e0 security/apparmor/lsm.c:489 security_file_permission+0x4d/0xd0 security/security.c:1523 rw_verify_area+0xae/0x1b0 fs/read_write.c:385 io_read+0x263/0x12b0 fs/io_uring.c:3855 io_issue_sqe+0x768/0x8a00 fs/io_uring.c:7143 io_wq_submit_work+0x22a/0x620 fs/io_uring.c:7318 io_worker_handle_work+0xb1c/0x1ab0 fs/io-wq.c:597 io_wqe_worker+0x637/0xdb0 fs/io-wq.c:644 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 ---------------- Code disassembly (best guess): 0: ff 89 43 08 5b 5d decl 0x5d5b0843(%rcx) 6: 41 5c pop %r12 8: c3 retq 9: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 10: 00 00 00 13: 48 85 f6 test %rsi,%rsi 16: 0f 84 3c 01 00 00 je 0x158 1c: 49 89 f9 mov %rdi,%r9 1f: 41 54 push %r12 21: 44 0f b6 c2 movzbl %dl,%r8d 25: 49 01 f1 add %rsi,%r9 28: 55 push %rbp 29: 53 push %rbx * 2a: 0f 82 18 01 00 00 jb 0x148 <-- trapping instruction 30: 48 b8 ff ff ff ff ff movabs $0xffff7fffffffffff,%rax 37: 7f ff ff 3a: 48 39 c7 cmp %rax,%rdi 3d: 0f .byte 0xf 3e: 86 .byte 0x86 3f: 05 .byte 0x5