INFO: task syz-executor.4:5911 blocked for more than 143 seconds. Not tainted 5.18.0-rc5-syzkaller-00016-g107c948d1d3e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27160 pid: 5911 ppid: 3621 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:10386 [inline] io_uring_cancel_generic+0x538/0x5bc fs/io_uring.c:10456 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:0x7fcd618890e9 RSP: 002b:00007fcd62a3e218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fcd6199bf68 RCX: 00007fcd618890e9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fcd6199bf68 RBP: 00007fcd6199bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fcd6199bf6c R13: 00007fcd61ecfb1f R14: 00007fcd62a3e300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8bd821e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6467 2 locks held by kworker/u4:2/45: 2 locks held by getty/3278: #0: ffff888148e2a098 (&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 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 5.18.0-rc5-syzkaller-00016-g107c948d1d3e #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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5929 Comm: iou-wrk-5911 Not tainted 5.18.0-rc5-syzkaller-00016-g107c948d1d3e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:aa_file_perm+0x8e/0x1230 security/apparmor/file.c:600 Code: 04 00 00 00 f2 c7 40 08 00 00 00 f2 c7 40 0c f2 f2 00 00 c7 40 10 00 00 00 04 c7 40 14 f3 f3 f3 f3 65 48 8b 04 25 28 00 00 00 <48> 89 84 24 28 01 00 00 31 c0 e8 43 b6 b3 fd 4d 85 ed 0f 84 5c 0a RSP: 0018:ffffc90002e0f768 EFLAGS: 00000282 RAX: 6aac915d1a1bd100 RBX: ffff888022cfaf00 RCX: 1ffff920005c1ef7 RDX: ffff888022cfaf00 RSI: ffff888010dbd2b0 RDI: ffffffff8a20f060 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000002000 R10: ffffffff83c460d8 R11: 00000000ffffc000 R12: ffff888022cfaf00 R13: ffff888010dbd2b0 R14: ffff888022cfaf00 R15: ffff888074b14b48 FS: 00007fcd62a3e700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c000357020 CR3: 000000001a235000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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:7138 io_wq_submit_work+0x22a/0x620 fs/io_uring.c:7313 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: 04 00 add $0x0,%al 2: 00 00 add %al,(%rax) 4: f2 c7 40 08 00 00 00 repnz movl $0xf2000000,0x8(%rax) b: f2 c: c7 40 0c f2 f2 00 00 movl $0xf2f2,0xc(%rax) 13: c7 40 10 00 00 00 04 movl $0x4000000,0x10(%rax) 1a: c7 40 14 f3 f3 f3 f3 movl $0xf3f3f3f3,0x14(%rax) 21: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax 28: 00 00 * 2a: 48 89 84 24 28 01 00 mov %rax,0x128(%rsp) <-- trapping instruction 31: 00 32: 31 c0 xor %eax,%eax 34: e8 43 b6 b3 fd callq 0xfdb3b67c 39: 4d 85 ed test %r13,%r13 3c: 0f .byte 0xf 3d: 84 .byte 0x84 3e: 5c pop %rsp 3f: 0a .byte 0xa