./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor123667907 <...> Warning: Permanently added '10.128.0.216' (ED25519) to the list of known hosts. execve("./syz-executor123667907", ["./syz-executor123667907"], 0x7ffe2071f590 /* 10 vars */) = 0 brk(NULL) = 0x55557321f000 brk(0x55557321fd00) = 0x55557321fd00 arch_prctl(ARCH_SET_FS, 0x55557321f380) = 0 set_tid_address(0x55557321f650) = 5092 set_robust_list(0x55557321f660, 24) = 0 rseq(0x55557321fca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor123667907", 4096) = 27 getrandom("\x54\xc3\xc7\xb0\x44\x63\x2c\x25", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55557321fd00 brk(0x555573240d00) = 0x555573240d00 brk(0x555573241000) = 0x555573241000 mprotect(0x7f6388495000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55557321f650) = 5093 ./strace-static-x86_64: Process 5093 attached [pid 5092] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5093] set_robust_list(0x55557321f660, 24) = 0 ./strace-static-x86_64: Process 5094 attached [pid 5093] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5092] <... clone resumed>, child_tidptr=0x55557321f650) = 5094 [pid 5094] set_robust_list(0x55557321f660, 24 [pid 5092] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5095 attached [pid 5094] <... set_robust_list resumed>) = 0 [pid 5095] set_robust_list(0x55557321f660, 24 [pid 5094] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5095] <... set_robust_list resumed>) = 0 ./strace-static-x86_64: Process 5097 attached ./strace-static-x86_64: Process 5096 attached [pid 5095] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5093] <... clone resumed>, child_tidptr=0x55557321f650) = 5095 [pid 5094] <... clone resumed>, child_tidptr=0x55557321f650) = 5097 [pid 5095] <... prctl resumed>) = 0 [pid 5095] setpgid(0, 0 [pid 5092] <... clone resumed>, child_tidptr=0x55557321f650) = 5096 [pid 5097] set_robust_list(0x55557321f660, 24 [pid 5096] set_robust_list(0x55557321f660, 24 [pid 5092] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] <... set_robust_list resumed>) = 0 [pid 5096] <... set_robust_list resumed>) = 0 [pid 5095] <... setpgid resumed>) = 0 [pid 5096] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5095] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5097] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5095] <... openat resumed>) = 3 ./strace-static-x86_64: Process 5099 attached ./strace-static-x86_64: Process 5098 attached [pid 5098] set_robust_list(0x55557321f660, 24 [pid 5099] set_robust_list(0x55557321f660, 24 [pid 5097] setpgid(0, 0 [pid 5095] write(3, "1000", 4 [pid 5092] <... clone resumed>, child_tidptr=0x55557321f650) = 5098 [pid 5098] <... set_robust_list resumed>) = 0 [pid 5099] <... set_robust_list resumed>) = 0 [pid 5092] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] <... setpgid resumed>) = 0 executing program [pid 5095] <... write resumed>) = 4 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5096] <... clone resumed>, child_tidptr=0x55557321f650) = 5099 [pid 5095] close(3 [pid 5099] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5097] <... openat resumed>) = 3 [pid 5095] <... close resumed>) = 0 ./strace-static-x86_64: Process 5100 attached [pid 5095] write(1, "executing program\n", 18 [pid 5100] set_robust_list(0x55557321f660, 24 [pid 5095] <... write resumed>) = 18 [pid 5095] openat(AT_FDCWD, "/dev/ttyS3", O_RDONLY./strace-static-x86_64: Process 5101 attached [pid 5092] <... clone resumed>, child_tidptr=0x55557321f650) = 5100 [pid 5100] <... set_robust_list resumed>) = 0 [pid 5099] <... prctl resumed>) = 0 [pid 5097] write(3, "1000", 4 [pid 5101] set_robust_list(0x55557321f660, 24 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] setpgid(0, 0 [pid 5097] <... write resumed>) = 4 [pid 5101] <... set_robust_list resumed>) = 0 [pid 5099] <... setpgid resumed>) = 0 ./strace-static-x86_64: Process 5102 attached [pid 5101] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5098] <... clone resumed>, child_tidptr=0x55557321f650) = 5101 [pid 5099] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5097] close(3 [pid 5095] <... openat resumed>) = 3 [pid 5102] set_robust_list(0x55557321f660, 24 [pid 5101] <... prctl resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5097] <... close resumed>) = 0 executing program [pid 5102] <... set_robust_list resumed>) = 0 [pid 5101] setpgid(0, 0 [pid 5100] <... clone resumed>, child_tidptr=0x55557321f650) = 5102 [pid 5099] write(3, "1000", 4 [pid 5097] write(1, "executing program\n", 18 [pid 5095] ioctl(3, TIOCSETD, [7] [pid 5102] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5101] <... setpgid resumed>) = 0 [pid 5099] <... write resumed>) = 4 [pid 5097] <... write resumed>) = 18 [pid 5102] <... prctl resumed>) = 0 [pid 5101] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5099] close(3 [pid 5097] openat(AT_FDCWD, "/dev/ttyS3", O_RDONLY [pid 5102] setpgid(0, 0 [pid 5099] <... close resumed>) = 0 executing program [pid 5102] <... setpgid resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5101] write(3, "1000", 4 [pid 5099] write(1, "executing program\n", 18 [pid 5101] <... write resumed>) = 4 [pid 5099] <... write resumed>) = 18 [pid 5102] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5101] close(3 [pid 5102] <... openat resumed>) = 3 [pid 5101] <... close resumed>) = 0 [pid 5099] openat(AT_FDCWD, "/dev/ttyS3", O_RDONLY [pid 5101] write(1, "executing program\n", 18 [pid 5102] write(3, "1000", 4) = 4 executing program [pid 5101] <... write resumed>) = 18 [pid 5101] openat(AT_FDCWD, "/dev/ttyS3", O_RDONLY [pid 5102] close(3) = 0 executing program [pid 5102] write(1, "executing program\n", 18) = 18 [pid 5102] openat(AT_FDCWD, "/dev/ttyS3", O_RDONLY [pid 5095] <... ioctl resumed>) = 0 [pid 5102] <... openat resumed>) = 3 [pid 5097] <... openat resumed>) = 3 [pid 5095] ioctl(3, TIOCVHANGUP [pid 5097] ioctl(3, TIOCSETD, [7]) = -1 EIO (Input/output error) [pid 5097] ioctl(3, TIOCVHANGUP) = -1 EIO (Input/output error) [pid 5097] exit_group(0 [pid 5102] ioctl(3, TIOCSETD, [7] [pid 5097] <... exit_group resumed>) = ? [pid 5102] <... ioctl resumed>) = -1 EIO (Input/output error) [pid 5102] ioctl(3, TIOCVHANGUP) = -1 EIO (Input/output error) [pid 5102] exit_group(0) = ? [ 57.801739][ T5095] sp0: Synchronizing with TNC [pid 5095] <... ioctl resumed>) = 0 [pid 5095] exit_group(0) = ? [ 57.893350][ T5099] sp0: Synchronizing with TNC [ 57.898701][ T5099] ------------[ cut here ]------------ [ 57.898911][ T5099] [ 57.898917][ T5099] ====================================================== [ 57.898922][ T5099] WARNING: possible circular locking dependency detected [ 57.898936][ T5099] 6.9.0-next-20240521-syzkaller #0 Not tainted [ 57.898945][ T5099] ------------------------------------------------------ [ 57.898950][ T5099] syz-executor123/5099 is trying to acquire lock: [ 57.898959][ T5099] ffffffff8e327fc0 (console_owner){....}-{0:0}, at: console_flush_all+0x152/0xfd0 [ 57.899019][ T5099] [ 57.899019][ T5099] but task is already holding lock: [ 57.899024][ T5099] ffffffff94adecf8 (&port_lock_key){-.-.}-{2:2}, at: uart_write+0x10e/0x320 [ 57.899068][ T5099] [ 57.899068][ T5099] which lock already depends on the new lock. [ 57.899068][ T5099] [ 57.899073][ T5099] [ 57.899073][ T5099] the existing dependency chain (in reverse order) is: [ 57.899079][ T5099] [ 57.899079][ T5099] -> #1 (&port_lock_key){-.-.}-{2:2}: [ 57.899099][ T5099] lock_acquire+0x1ed/0x550 [ 57.899116][ T5099] _raw_spin_lock_irqsave+0xd5/0x120 [ 57.899139][ T5099] serial8250_console_write+0x1a8/0x1770 [ 57.899161][ T5099] console_flush_all+0x867/0xfd0 [ 57.899181][ T5099] console_unlock+0x13b/0x4d0 [ 57.899200][ T5099] vprintk_emit+0x5a6/0x770 [ 57.899219][ T5099] _printk+0xd5/0x120 [ 57.899232][ T5099] register_console+0x722/0xce0 [ 57.899252][ T5099] univ8250_console_init+0x49/0x50 [ 57.899272][ T5099] console_init+0x1b8/0x6f0 [ 57.899287][ T5099] start_kernel+0x2d3/0x500 [ 57.899301][ T5099] x86_64_start_reservations+0x2a/0x30 [ 57.899319][ T5099] x86_64_start_kernel+0x9f/0xa0 [ 57.899337][ T5099] common_startup_64+0x13e/0x147 [ 57.899353][ T5099] [ 57.899353][ T5099] -> #0 (console_owner){....}-{0:0}: [ 57.899375][ T5099] validate_chain+0x18cb/0x58e0 [ 57.899393][ T5099] __lock_acquire+0x1346/0x1fd0 [ 57.899409][ T5099] lock_acquire+0x1ed/0x550 [ 57.899423][ T5099] console_flush_all+0x810/0xfd0 [ 57.899443][ T5099] console_unlock+0x13b/0x4d0 [ 57.899461][ T5099] vprintk_emit+0x5a6/0x770 [ 57.899479][ T5099] _printk+0xd5/0x120 [ 57.899492][ T5099] report_bug+0x346/0x500 [ 57.899512][ T5099] handle_bug+0x3e/0x70 [ 57.899529][ T5099] exc_invalid_op+0x1a/0x50 [ 57.899544][ T5099] asm_exc_invalid_op+0x1a/0x20 [ 57.899561][ T5099] uart_write+0x2b0/0x320 [ 57.899579][ T5099] sixpack_open+0x790/0xa80 [ 57.899594][ T5099] tty_ldisc_reinit+0x2d4/0x4a0 [ 57.899613][ T5099] tty_reopen+0x20b/0x2d0 [ 57.899628][ T5099] tty_open+0xa26/0xdf0 [ 57.899642][ T5099] chrdev_open+0x5b0/0x630 [ 57.899660][ T5099] do_dentry_open+0x95a/0x1720 [ 57.899680][ T5099] path_openat+0x289f/0x3280 [ 57.899696][ T5099] do_filp_open+0x235/0x490 [ 57.899710][ T5099] do_sys_openat2+0x13e/0x1d0 [ 57.899721][ T5099] __x64_sys_openat+0x247/0x2a0 [ 57.899733][ T5099] do_syscall_64+0xf5/0x240 [ 57.899748][ T5099] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 57.899763][ T5099] [ 57.899763][ T5099] other info that might help us debug this: [ 57.899763][ T5099] [ 57.899767][ T5099] Possible unsafe locking scenario: [ 57.899767][ T5099] [ 57.899771][ T5099] CPU0 CPU1 [ 57.899775][ T5099] ---- ---- [ 57.899779][ T5099] lock(&port_lock_key); [ 57.899788][ T5099] lock(console_owner); [ 57.899798][ T5099] lock(&port_lock_key); [ 57.899807][ T5099] lock(console_owner); [ 57.899816][ T5099] [ 57.899816][ T5099] *** DEADLOCK *** [ 57.899816][ T5099] [ 57.899820][ T5099] 5 locks held by syz-executor123/5099: [ 57.899830][ T5099] #0: ffff8880227091c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_lock_interruptible+0x68/0xc0 [ 57.899865][ T5099] #1: ffff8880227090a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock+0x6c/0xc0 [ 57.899905][ T5099] #2: ffffffff94adecf8 (&port_lock_key){-.-.}-{2:2}, at: uart_write+0x10e/0x320 [ 57.899951][ T5099] #3: ffffffff8e20f8e0 (console_lock){+.+.}-{0:0}, at: _printk+0xd5/0x120 [ 57.899986][ T5099] #4: ffffffff8e20f510 (console_srcu){....}-{0:0}, at: console_flush_all+0x152/0xfd0 [ 57.900027][ T5099] [ 57.900027][ T5099] stack backtrace: [ 57.900033][ T5099] CPU: 1 PID: 5099 Comm: syz-executor123 Not tainted 6.9.0-next-20240521-syzkaller #0 [ 57.900048][ T5099] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 57.900058][ T5099] Call Trace: [ 57.900065][ T5099] [ 57.900071][ T5099] dump_stack_lvl+0x241/0x360 [ 57.900089][ T5099] ? __pfx_dump_stack_lvl+0x10/0x10 [ 57.900110][ T5099] ? print_circular_bug+0x130/0x1a0 [ 57.900132][ T5099] check_noncircular+0x36a/0x4a0 [ 57.900152][ T5099] ? __pfx_check_noncircular+0x10/0x10 [ 57.900170][ T5099] ? lockdep_lock+0x123/0x2b0 [ 57.900187][ T5099] ? add_lock_to_list+0x1de/0x2e0 [ 57.900210][ T5099] validate_chain+0x18cb/0x58e0 [ 57.900239][ T5099] ? __pfx_validate_chain+0x10/0x10 [ 57.900259][ T5099] ? sprintf+0xda/0x120 [ 57.900278][ T5099] ? vsnprintf+0x1cc3/0x1da0 [ 57.900302][ T5099] ? info_print_prefix+0x204/0x310 [ 57.900320][ T5099] ? mark_lock+0x9a/0x350 [ 57.900339][ T5099] __lock_acquire+0x1346/0x1fd0 [ 57.900361][ T5099] lock_acquire+0x1ed/0x550 [ 57.900376][ T5099] ? console_flush_all+0x152/0xfd0 [ 57.900398][ T5099] ? __pfx_lock_acquire+0x10/0x10 [ 57.900413][ T5099] ? __pfx_lock_release+0x10/0x10 [ 57.900429][ T5099] ? do_raw_spin_lock+0x14f/0x370 [ 57.900454][ T5099] ? do_raw_spin_unlock+0x13c/0x8b0 [ 57.900476][ T5099] ? console_flush_all+0x3a8/0xfd0 [ 57.900499][ T5099] console_flush_all+0x810/0xfd0 [ 57.900518][ T5099] ? console_flush_all+0x152/0xfd0 [ 57.900541][ T5099] ? console_flush_all+0x152/0xfd0 [ 57.900566][ T5099] ? __pfx_console_flush_all+0x10/0x10 [ 57.900588][ T5099] ? __pfx_lock_acquire+0x10/0x10 [ 57.900607][ T5099] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 57.900627][ T5099] ? __pfx__prb_read_valid+0x10/0x10 [ 57.900644][ T5099] console_unlock+0x13b/0x4d0 [ 57.900667][ T5099] ? __pfx_console_unlock+0x10/0x10 [ 57.900687][ T5099] ? _printk+0xd5/0x120 [ 57.900702][ T5099] ? _printk+0xd5/0x120 [ 57.900716][ T5099] ? __pfx___down_trylock_console_sem+0x10/0x10 [ 57.900738][ T5099] ? prb_read_valid+0xa9/0xf0 [ 57.900756][ T5099] ? __pfx_prb_read_valid+0x10/0x10 [ 57.900775][ T5099] vprintk_emit+0x5a6/0x770 [ 57.900796][ T5099] ? __pfx_vprintk_emit+0x10/0x10 [ 57.900815][ T5099] ? __lock_acquire+0x1346/0x1fd0 [ 57.900838][ T5099] _printk+0xd5/0x120 [ 57.900854][ T5099] ? report_bug+0x25e/0x500 [ 57.900876][ T5099] ? __pfx__printk+0x10/0x10 [ 57.900894][ T5099] ? find_bug+0xa3/0x390 [ 57.900913][ T5099] ? uart_write+0x2b0/0x320 [ 57.900940][ T5099] ? do_raw_spin_lock+0x14f/0x370 [ 57.900963][ T5099] report_bug+0x346/0x500 [ 57.900985][ T5099] ? uart_write+0x2b0/0x320 [ 57.901008][ T5099] handle_bug+0x3e/0x70 [ 57.901024][ T5099] exc_invalid_op+0x1a/0x50 [ 57.901039][ T5099] asm_exc_invalid_op+0x1a/0x20 [ 57.901057][ T5099] RIP: 0010:uart_write+0x2b0/0x320 [ 57.901078][ T5099] Code: 74 08 48 89 df e8 c0 5e bf fc 48 83 3b 00 74 74 e8 55 7a 59 fc eb 97 e8 4e 7a 59 fc 45 31 e4 eb 08 e8 44 7a 59 fc 45 31 ed 90 <0f> 0b 90 45 84 e4 74 0a e8 33 7a 59 fc 45 31 f6 eb 84 e8 29 7a 59 [ 57.901090][ T5099] RSP: 0018:ffffc90003e6f4b8 EFLAGS: 00010046 [ 57.901103][ T5099] RAX: ffffffff853ceb62 RBX: dffffc0000000000 RCX: ffff888022409e00 [ 57.901115][ T5099] RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffc90003e6f3a0 [ 57.901126][ T5099] RBP: ffff88801f478f48 R08: 0000000000000003 R09: fffff520007cde74 [ 57.901137][ T5099] R10: dffffc0000000000 R11: fffff520007cde74 R12: 0000000000000000 [ 57.901147][ T5099] R13: 0000000000000246 R14: ffff88801f478be8 R15: ffffffff94adece0 [ 57.901160][ T5099] ? uart_write+0x2a2/0x320 [ 57.901182][ T5099] ? uart_write+0x2a2/0x320 [ 57.901202][ T5099] sixpack_open+0x790/0xa80 [ 57.901223][ T5099] ? __pfx_sixpack_open+0x10/0x10 [ 57.901243][ T5099] tty_ldisc_reinit+0x2d4/0x4a0 [ 57.901265][ T5099] tty_reopen+0x20b/0x2d0 [ 57.901282][ T5099] tty_open+0xa26/0xdf0 [ 57.901299][ T5099] ? kobject_get_unless_zero+0x22d/0x330 [ 57.901316][ T5099] ? __pfx_tty_open+0x10/0x10 [ 57.901329][ T5099] ? do_raw_spin_unlock+0x13c/0x8b0 [ 57.901350][ T5099] ? module_put+0x13a/0x2d0 [ 57.901373][ T5099] chrdev_open+0x5b0/0x630 [ 57.901394][ T5099] ? __pfx_chrdev_open+0x10/0x10 [ 57.901416][ T5099] ? security_file_open+0x5bc/0x730 [ 57.901432][ T5099] ? __pfx_chrdev_open+0x10/0x10 [ 57.901452][ T5099] do_dentry_open+0x95a/0x1720 [ 57.901481][ T5099] path_openat+0x289f/0x3280 [ 57.901505][ T5099] ? mark_lock+0x9a/0x350 [ 57.901527][ T5099] ? mark_lock+0x9a/0x350 [ 57.901546][ T5099] ? __pfx_path_openat+0x10/0x10 [ 57.901570][ T5099] do_filp_open+0x235/0x490 [ 57.901588][ T5099] ? __pfx_do_filp_open+0x10/0x10 [ 57.901614][ T5099] ? _raw_spin_unlock+0x28/0x50 [ 57.901630][ T5099] ? alloc_fd+0x59d/0x640 [ 57.901654][ T5099] do_sys_openat2+0x13e/0x1d0 [ 57.901669][ T5099] ? __pfx_do_sys_openat2+0x10/0x10 [ 57.901685][ T5099] ? lockdep_hardirqs_on+0x99/0x150 [ 57.901701][ T5099] ? _raw_spin_unlock_irq+0x2e/0x50 [ 57.901719][ T5099] ? ptrace_notify+0x279/0x380 [ 57.901743][ T5099] __x64_sys_openat+0x247/0x2a0 [ 57.901761][ T5099] ? __pfx___x64_sys_openat+0x10/0x10 [ 57.901779][ T5099] ? exc_page_fault+0x590/0x8c0 [ 57.901797][ T5099] do_syscall_64+0xf5/0x240 [ 57.901815][ T5099] ? clear_bhb_loop+0x35/0x90 [ 57.901834][ T5099] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 57.901851][ T5099] RIP: 0033:0x7f6388422b29 [ 57.901865][ T5099] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 57.901878][ T5099] RSP: 002b:00007ffe1f2d9de8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 57.901894][ T5099] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f6388422b29 [ 57.901905][ T5099] RDX: 0000000000000000 RSI: 0000000020000000 RDI: ffffffffffffff9c [ 57.901915][ T5099] RBP: 00000000000f4240 R08: 0000000000000000 R09: 00000000000000a0 [ 57.901933][ T5099] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 57.901944][ T5099] R13: 00007ffe1f2da008 R14: 00007ffe1f2d9e10 R15: 00007ffe1f2d9e00 [ 57.901961][ T5099] [ 58.898205][ T5099] WARNING: CPU: 1 PID: 5099 at drivers/tty/serial/serial_core.c:625 uart_write+0x2b0/0x320 [ 58.908176][ T5099] Modules linked in: [ 58.912052][ T5099] CPU: 1 PID: 5099 Comm: syz-executor123 Not tainted 6.9.0-next-20240521-syzkaller #0 [ 58.921571][ T5099] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 58.931606][ T5099] RIP: 0010:uart_write+0x2b0/0x320 [ 58.936704][ T5099] Code: 74 08 48 89 df e8 c0 5e bf fc 48 83 3b 00 74 74 e8 55 7a 59 fc eb 97 e8 4e 7a 59 fc 45 31 e4 eb 08 e8 44 7a 59 fc 45 31 ed 90 <0f> 0b 90 45 84 e4 74 0a e8 33 7a 59 fc 45 31 f6 eb 84 e8 29 7a 59 [ 58.956321][ T5099] RSP: 0018:ffffc90003e6f4b8 EFLAGS: 00010046 [ 58.962378][ T5099] RAX: ffffffff853ceb62 RBX: dffffc0000000000 RCX: ffff888022409e00 [ 58.970431][ T5099] RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffc90003e6f3a0 [ 58.978384][ T5099] RBP: ffff88801f478f48 R08: 0000000000000003 R09: fffff520007cde74 [ 58.986341][ T5099] R10: dffffc0000000000 R11: fffff520007cde74 R12: 0000000000000000 [ 58.994319][ T5099] R13: 0000000000000246 R14: ffff88801f478be8 R15: ffffffff94adece0 [ 59.002364][ T5099] FS: 000055557321f380(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 [ 59.011276][ T5099] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 59.017949][ T5099] CR2: 00007ffca5317ed8 CR3: 0000000051256000 CR4: 00000000003506f0 [ 59.025992][ T5099] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 59.033942][ T5099] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 59.041893][ T5099] Call Trace: [ 59.045155][ T5099] [ 59.048072][ T5099] ? __warn+0x163/0x4e0 [ 59.052214][ T5099] ? uart_write+0x2b0/0x320 [ 59.056701][ T5099] ? report_bug+0x2b3/0x500 [ 59.061186][ T5099] ? uart_write+0x2b0/0x320 [ 59.065772][ T5099] ? handle_bug+0x3e/0x70 [ 59.070095][ T5099] ? exc_invalid_op+0x1a/0x50 [ 59.074791][ T5099] ? asm_exc_invalid_op+0x1a/0x20 [ 59.079813][ T5099] ? uart_write+0x2a2/0x320 [ 59.084319][ T5099] ? uart_write+0x2b0/0x320 [ 59.088804][ T5099] ? uart_write+0x2a2/0x320 [ 59.093375][ T5099] sixpack_open+0x790/0xa80 [ 59.097950][ T5099] ? __pfx_sixpack_open+0x10/0x10 [ 59.103215][ T5099] tty_ldisc_reinit+0x2d4/0x4a0 [ 59.108055][ T5099] tty_reopen+0x20b/0x2d0 [ 59.112451][ T5099] tty_open+0xa26/0xdf0 [ 59.116677][ T5099] ? kobject_get_unless_zero+0x22d/0x330 [ 59.122291][ T5099] ? __pfx_tty_open+0x10/0x10 [ 59.126960][ T5099] ? do_raw_spin_unlock+0x13c/0x8b0 [ 59.132141][ T5099] ? module_put+0x13a/0x2d0 [ 59.136629][ T5099] chrdev_open+0x5b0/0x630 [ 59.141029][ T5099] ? __pfx_chrdev_open+0x10/0x10 [ 59.145951][ T5099] ? security_file_open+0x5bc/0x730 [ 59.151129][ T5099] ? __pfx_chrdev_open+0x10/0x10 [ 59.156053][ T5099] do_dentry_open+0x95a/0x1720 [ 59.160806][ T5099] path_openat+0x289f/0x3280 [ 59.165384][ T5099] ? mark_lock+0x9a/0x350 [ 59.169701][ T5099] ? mark_lock+0x9a/0x350 [ 59.174025][ T5099] ? __pfx_path_openat+0x10/0x10 [ 59.178949][ T5099] do_filp_open+0x235/0x490 [ 59.183436][ T5099] ? __pfx_do_filp_open+0x10/0x10 [ 59.188446][ T5099] ? _raw_spin_unlock+0x28/0x50 [ 59.193276][ T5099] ? alloc_fd+0x59d/0x640 [ 59.197604][ T5099] do_sys_openat2+0x13e/0x1d0 [ 59.202274][ T5099] ? __pfx_do_sys_openat2+0x10/0x10 [ 59.207455][ T5099] ? lockdep_hardirqs_on+0x99/0x150 [ 59.212638][ T5099] ? _raw_spin_unlock_irq+0x2e/0x50 [ 59.217815][ T5099] ? ptrace_notify+0x279/0x380 [ 59.222564][ T5099] __x64_sys_openat+0x247/0x2a0 [ 59.227410][ T5099] ? __pfx___x64_sys_openat+0x10/0x10 [ 59.232759][ T5099] ? exc_page_fault+0x590/0x8c0 [ 59.237591][ T5099] do_syscall_64+0xf5/0x240 [ 59.242086][ T5099] ? clear_bhb_loop+0x35/0x90 [ 59.246742][ T5099] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 59.252628][ T5099] RIP: 0033:0x7f6388422b29 [ 59.257044][ T5099] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 59.276632][ T5099] RSP: 002b:00007ffe1f2d9de8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 59.285027][ T5099] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f6388422b29 [ 59.293087][ T5099] RDX: 0000000000000000 RSI: 0000000020000000 RDI: ffffffffffffff9c [ 59.301070][ T5099] RBP: 00000000000f4240 R08: 0000000000000000 R09: 00000000000000a0 [ 59.309049][ T5099] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 59.317024][ T5099] R13: 00007ffe1f2da008 R14: 00007ffe1f2d9e10 R15: 00007ffe1f2d9e00 [ 59.325015][ T5099] [ 59.328027][ T5099] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 59.335378][ T5099] CPU: 1 PID: 5099 Comm: syz-executor123 Not tainted 6.9.0-next-20240521-syzkaller #0 [ 59.344904][ T5099] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 59.354971][ T5099] Call Trace: [ 59.358245][ T5099] [ 59.361185][ T5099] dump_stack_lvl+0x241/0x360 [ 59.365878][ T5099] ? __pfx_dump_stack_lvl+0x10/0x10 [ 59.371075][ T5099] ? __pfx__printk+0x10/0x10 [ 59.375696][ T5099] ? _printk+0xd5/0x120 [ 59.379847][ T5099] ? vscnprintf+0x5d/0x90 [ 59.384183][ T5099] panic+0x349/0x860 [ 59.388080][ T5099] ? __warn+0x172/0x4e0 [ 59.392217][ T5099] ? __pfx_panic+0x10/0x10 [ 59.396611][ T5099] ? show_trace_log_lvl+0x4e6/0x520 [ 59.401885][ T5099] __warn+0x346/0x4e0 [ 59.405852][ T5099] ? uart_write+0x2b0/0x320 [ 59.410338][ T5099] report_bug+0x2b3/0x500 [ 59.414653][ T5099] ? uart_write+0x2b0/0x320 [ 59.419141][ T5099] handle_bug+0x3e/0x70 [ 59.423281][ T5099] exc_invalid_op+0x1a/0x50 [ 59.427762][ T5099] asm_exc_invalid_op+0x1a/0x20 [ 59.432593][ T5099] RIP: 0010:uart_write+0x2b0/0x320 [ 59.437685][ T5099] Code: 74 08 48 89 df e8 c0 5e bf fc 48 83 3b 00 74 74 e8 55 7a 59 fc eb 97 e8 4e 7a 59 fc 45 31 e4 eb 08 e8 44 7a 59 fc 45 31 ed 90 <0f> 0b 90 45 84 e4 74 0a e8 33 7a 59 fc 45 31 f6 eb 84 e8 29 7a 59 [ 59.457399][ T5099] RSP: 0018:ffffc90003e6f4b8 EFLAGS: 00010046 [ 59.463472][ T5099] RAX: ffffffff853ceb62 RBX: dffffc0000000000 RCX: ffff888022409e00 [ 59.471517][ T5099] RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffc90003e6f3a0 [ 59.479467][ T5099] RBP: ffff88801f478f48 R08: 0000000000000003 R09: fffff520007cde74 [ 59.487424][ T5099] R10: dffffc0000000000 R11: fffff520007cde74 R12: 0000000000000000 [ 59.495465][ T5099] R13: 0000000000000246 R14: ffff88801f478be8 R15: ffffffff94adece0 [ 59.503420][ T5099] ? uart_write+0x2a2/0x320 [ 59.507912][ T5099] ? uart_write+0x2a2/0x320 [ 59.512413][ T5099] sixpack_open+0x790/0xa80 [ 59.516911][ T5099] ? __pfx_sixpack_open+0x10/0x10 [ 59.521931][ T5099] tty_ldisc_reinit+0x2d4/0x4a0 [ 59.526768][ T5099] tty_reopen+0x20b/0x2d0 [ 59.531091][ T5099] tty_open+0xa26/0xdf0 [ 59.535227][ T5099] ? kobject_get_unless_zero+0x22d/0x330 [ 59.540857][ T5099] ? __pfx_tty_open+0x10/0x10 [ 59.545513][ T5099] ? do_raw_spin_unlock+0x13c/0x8b0 [ 59.550696][ T5099] ? module_put+0x13a/0x2d0 [ 59.555263][ T5099] chrdev_open+0x5b0/0x630 [ 59.559723][ T5099] ? __pfx_chrdev_open+0x10/0x10 [ 59.564713][ T5099] ? security_file_open+0x5bc/0x730 [ 59.569910][ T5099] ? __pfx_chrdev_open+0x10/0x10 [ 59.574838][ T5099] do_dentry_open+0x95a/0x1720 [ 59.579595][ T5099] path_openat+0x289f/0x3280 [ 59.584174][ T5099] ? mark_lock+0x9a/0x350 [ 59.588486][ T5099] ? mark_lock+0x9a/0x350 [ 59.592818][ T5099] ? __pfx_path_openat+0x10/0x10 [ 59.597754][ T5099] do_filp_open+0x235/0x490 [ 59.602246][ T5099] ? __pfx_do_filp_open+0x10/0x10 [ 59.607257][ T5099] ? _raw_spin_unlock+0x28/0x50 [ 59.612154][ T5099] ? alloc_fd+0x59d/0x640 [ 59.616523][ T5099] do_sys_openat2+0x13e/0x1d0 [ 59.621192][ T5099] ? __pfx_do_sys_openat2+0x10/0x10 [ 59.626384][ T5099] ? lockdep_hardirqs_on+0x99/0x150 [ 59.631564][ T5099] ? _raw_spin_unlock_irq+0x2e/0x50 [ 59.636745][ T5099] ? ptrace_notify+0x279/0x380 [ 59.641580][ T5099] __x64_sys_openat+0x247/0x2a0 [ 59.646414][ T5099] ? __pfx___x64_sys_openat+0x10/0x10 [ 59.651771][ T5099] ? exc_page_fault+0x590/0x8c0 [ 59.656604][ T5099] do_syscall_64+0xf5/0x240 [ 59.661098][ T5099] ? clear_bhb_loop+0x35/0x90 [ 59.665778][ T5099] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 59.671673][ T5099] RIP: 0033:0x7f6388422b29 [ 59.676073][ T5099] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 59.695660][ T5099] RSP: 002b:00007ffe1f2d9de8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 59.704069][ T5099] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f6388422b29 [ 59.712109][ T5099] RDX: 0000000000000000 RSI: 0000000020000000 RDI: ffffffffffffff9c [ 59.720060][ T5099] RBP: 00000000000f4240 R08: 0000000000000000 R09: 00000000000000a0 [ 59.728010][ T5099] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 59.735962][ T5099] R13: 00007ffe1f2da008 R14: 00007ffe1f2d9e10 R15: 00007ffe1f2d9e00 [ 59.743923][ T5099] [ 60.813262][ T5099] Shutting down cpus with NMI [ 60.818099][ T5099] Kernel Offset: disabled [ 60.822416][ T5099] Rebooting in 86400 seconds..