ci-upstream-kasan-gce-smack-root/strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ci-upstream-kasan-gce-smack-root/syz-executor2085647577 <...> Warning: Permanently added '10.128.0.89' (ED25519) to the list of known hosts. execve("ci-upstream-kasan-gce-smack-root/syz-executor2085647577", ["ci-upstream-kasan-gce-smack-root/syz-executor2085647577"], 0x7ffefbb76510 /* 10 vars */) = 0 brk(NULL) = 0x555570b88000 brk(0x555570b88d80) = 0x555570b88d80 arch_prctl(ARCH_SET_FS, 0x555570b88400) = 0 set_tid_address(0x555570b886d0) = 5619 set_robust_list(0x555570b886e0, 24) = 0 rseq({cpu_id_start=0, cpu_id=RSEQ_CPU_ID_UNINITIALIZED, rseq_cs=NULL, flags=0, node_id=0, mm_cid=0, slice_ctrl={request=0, granted=0, __reserved=0}, __reserved=0}, 33, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlinkat(AT_FDCWD, "/proc/self/exe", "/root/ci-upstream-kasan-gce-smack-root/syz-executor2085647577", 4096) = 61 getrandom("\xbe\xe8\x86\xb3\xf1\x2a\xb1\x9a", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555570b88d80 brk(0x555570ba9d80) = 0x555570ba9d80 brk(0x555570baa000) = 0x555570baa000 mprotect(0x7fdde8352000, 20480, PROT_READ) = 0 mmap(0x1ffffffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffffffff000 mmap(0x200000000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x200000000000 mmap(0x200001000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x200001000000 rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDci-upstream-kasan-gce-smack-root/strace-static-x86_64: Process 5620 attached , child_tidptr=0x555570b886d0) = 5620 [pid 5619] rt_sigprocmask(SIG_SETMASK, [] [pid 5620] set_robust_list(0x555570b886e0, 24 [pid 5619] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 5620] <... set_robust_list resumed>) = 0 [pid 5620] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5620] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5620] setpgid(0, 0) = 0 [pid 5620] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5620] write(3, "1000", 4) = 4 [pid 5620] close(3) = 0 [pid 5620] write(1, "executing program\n", 18) = 18 executing program [pid 5620] openat(AT_FDCWD, "/dev/raw-gadget", O_RDWR) = 3 [pid 5620] ioctl(3, USB_RAW_IOCTL_INIT, 0x7ffdf0487020) = 0 [pid 5620] ioctl(3, UI_DEV_CREATE or USB_RAW_IOCTL_RUN, 0) = 0 [pid 5620] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffdf0487020) = 0 [pid 5620] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffdf0487020) = 0 [pid 5620] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffdf0487020) = 0 [pid 5620] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffdf0487020) = 0 [pid 5620] ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7ffdf0486010) = 18 [pid 5620] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffdf0487020) = 0 [ 100.177233][ T821] usb 1-1: new high-speed USB device number 2 using dummy_hcd [pid 5620] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffdf0487020) = 0 [pid 5620] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffdf0487020) = 0 [pid 5620] ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7ffdf0486010) = 18 [pid 5620] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffdf0487020) = 0 [pid 5620] ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7ffdf0486010) = 9 [pid 5620] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffdf0487020) = 0 [pid 5620] ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7ffdf0486010) = 74 [pid 5620] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffdf0487020) = 0 [pid 5620] ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7ffdf0486010) = 4 [pid 5620] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffdf0487020) = 0 [pid 5620] ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7ffdf0486010) = 8 [pid 5620] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffdf0487020) = 0 [pid 5620] ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7ffdf0486010) = 8 [pid 5620] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffdf0487020) = 0 [pid 5620] ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7ffdf0486010) = 8 [pid 5620] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffdf0487020) = 0 [pid 5620] ioctl(3, USB_RAW_IOCTL_VBUS_DRAW, 0x32) = 0 [pid 5620] ioctl(3, USB_RAW_IOCTL_CONFIGURE, 0) = 0 [pid 5620] ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7fdde8358b4c) = 0 [pid 5620] ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7fdde8358b5c) = 9 [pid 5620] ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7fdde8358b6c) = 10 [ 100.401533][ T821] usb 1-1: New USB device found, idVendor=05c5, idProduct=0002, bcdDevice= 1.00 [ 100.401564][ T821] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 100.401585][ T821] usb 1-1: Product: syz [ 100.401600][ T821] usb 1-1: Manufacturer: syz [ 100.401624][ T821] usb 1-1: SerialNumber: syz [pid 5620] ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7fdde8358b7c) = 1 [pid 5620] ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7fdde8358b8c) = 12 [pid 5620] ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7fdde8358b9c) = 11 [pid 5620] ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7fdde8358bac) = 15 [pid 5620] ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7fdde8358bbc) = 13 [pid 5620] ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7ffdf0486010) = 0 [ 100.563469][ T821] digi_acceleport 1-1:1.0: Digi 2 port USB adapter converter detected [ 100.584132][ T821] usb 1-1: Digi 2 port USB adapter converter now attached to ttyUSB0 [ 100.602905][ T821] usb 1-1: Digi 2 port USB adapter converter now attached to ttyUSB1 [ 100.615390][ T821] usb 1-1: Digi 2 port USB adapter converter now attached to ttyUSB2 [pid 5620] mkdir("mnt", 0777) = 0 [pid 5620] mount(NULL, "mnt", "devtmpfs", 0, NULL) = 0 [pid 5620] openat(AT_FDCWD, "mnt/ttyUSB0", O_RDWR|O_DIRECT|O_LARGEFILE|FASYNC [pid 5619] kill(-5620, SIGKILL) = 0 [pid 5619] kill(5620, SIGKILL) = 0 [ 104.871893][ T5620] [ 104.871907][ T5620] ============================================ [ 104.871915][ T5620] WARNING: possible recursive locking detected [ 104.871937][ T5620] syzkaller #0 Not tainted [ 104.871948][ T5620] -------------------------------------------- [ 104.871955][ T5620] syz-executor208/5620 is trying to acquire lock: [ 104.871965][ T5620] ffff88803c767858 (&priv->dp_port_lock){+.+.}-{3:3}, at: digi_set_modem_signals+0x19d/0x8c0 [ 104.872058][ T5620] [ 104.872058][ T5620] but task is already holding lock: [ 104.872065][ T5620] ffff888037ce6058 (&priv->dp_port_lock){+.+.}-{3:3}, at: digi_set_modem_signals+0x195/0x8c0 [ 104.872123][ T5620] [ 104.872123][ T5620] other info that might help us debug this: [ 104.872130][ T5620] Possible unsafe locking scenario: [ 104.872130][ T5620] [ 104.872136][ T5620] CPU0 [ 104.872141][ T5620] ---- [ 104.872146][ T5620] lock(&priv->dp_port_lock); [ 104.872159][ T5620] lock(&priv->dp_port_lock); [ 104.872172][ T5620] [ 104.872172][ T5620] *** DEADLOCK *** [ 104.872172][ T5620] [ 104.872177][ T5620] May be due to missing lock nesting notation [ 104.872177][ T5620] [ 104.872183][ T5620] 3 locks held by syz-executor208/5620: [ 104.872195][ T5620] #0: ffff88804040f1a0 (&tty->legacy_mutex){+.+.}-{4:4}, at: tty_init_dev+0x74/0x4d0 [ 104.872258][ T5620] #1: ffff888037ce6058 (&priv->dp_port_lock){+.+.}-{3:3}, at: digi_set_modem_signals+0x195/0x8c0 [ 104.872318][ T5620] #2: ffffffff8e1c3000 (rcu_read_lock){....}-{1:3}, at: rt_spin_lock+0x1e0/0x400 [ 104.872382][ T5620] [ 104.872382][ T5620] stack backtrace: [ 104.872403][ T5620] CPU: 1 UID: 0 PID: 5620 Comm: syz-executor208 Not tainted syzkaller #0 PREEMPT_{RT,(full)} [ 104.872432][ T5620] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 [ 104.872453][ T5620] Call Trace: [ 104.872461][ T5620] [ 104.872470][ T5620] dump_stack_lvl+0xe8/0x150 [ 104.872504][ T5620] print_deadlock_bug+0x279/0x290 [ 104.872533][ T5620] __lock_acquire+0x24df/0x2ce0 [ 104.872565][ T5620] ? __pfx_rtlock_slowlock_locked+0x10/0x10 [ 104.872588][ T5620] ? digi_set_modem_signals+0x19d/0x8c0 [ 104.872618][ T5620] lock_acquire+0x106/0x350 [ 104.872637][ T5620] ? digi_set_modem_signals+0x19d/0x8c0 [ 104.872672][ T5620] ? _raw_spin_unlock_irqrestore+0x30/0x80 [ 104.872698][ T5620] rt_spin_lock+0x83/0x400 [ 104.872729][ T5620] ? digi_set_modem_signals+0x19d/0x8c0 [ 104.872772][ T5620] ? __pfx_rt_spin_lock+0x10/0x10 [ 104.872809][ T5620] digi_set_modem_signals+0x19d/0x8c0 [ 104.872840][ T5620] ? _raw_spin_unlock_irqrestore+0x4c/0x80 [ 104.872869][ T5620] ? rt_mutex_slowunlock+0x4ee/0xa20 [ 104.872922][ T5620] ? __pfx_rt_mutex_slowunlock+0x10/0x10 [ 104.872959][ T5620] ? __pfx_digi_set_modem_signals+0x10/0x10 [ 104.872991][ T5620] ? rt_spin_unlock+0x157/0x200 [ 104.873028][ T5620] ? rt_spin_unlock+0x163/0x200 [ 104.873051][ T5620] ? __pfx_serial_port_dtr_rts+0x10/0x10 [ 104.873092][ T5620] tty_port_block_til_ready+0x386/0x890 [ 104.873126][ T5620] ? _raw_spin_unlock_irqrestore+0x30/0x80 [ 104.873155][ T5620] ? __pfx_tty_port_block_til_ready+0x10/0x10 [ 104.873192][ T5620] ? __pfx_autoremove_wake_function+0x10/0x10 [ 104.873219][ T5620] ? tty_port_open+0x234/0x2b0 [ 104.873261][ T5620] tty_open+0x496/0xcd0 [ 104.873300][ T5620] ? __pfx_tty_open+0x10/0x10 [ 104.873328][ T5620] ? rt_spin_unlock+0x157/0x200 [ 104.873365][ T5620] ? rt_spin_unlock+0x163/0x200 [ 104.873390][ T5620] chrdev_open+0x4dc/0x600 [ 104.873431][ T5620] ? __pfx_chrdev_open+0x10/0x10 [ 104.873464][ T5620] ? fsnotify_open_perm_and_set_mode+0x13b/0x6c0 [ 104.873494][ T5620] ? __pfx_chrdev_open+0x10/0x10 [ 104.873523][ T5620] do_dentry_open+0x849/0x1420 [ 104.873546][ T5620] vfs_open+0x3b/0x350 [ 104.873559][ T5620] ? path_openat+0x2e49/0x3850 [ 104.873594][ T5620] path_openat+0x2e60/0x3850 [ 104.873626][ T5620] ? kmem_cache_alloc_noprof+0x355/0x650 [ 104.873647][ T5620] ? __x64_sys_openat+0x138/0x170 [ 104.873666][ T5620] ? do_syscall_64+0x174/0x580 [ 104.873696][ T5620] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 104.873719][ T5620] do_file_open+0x23e/0x4a0 [ 104.873736][ T5620] ? lockdep_hardirqs_on+0x7a/0x110 [ 104.873781][ T5620] ? __pfx_do_file_open+0x10/0x10 [ 104.873820][ T5620] ? alloc_fd+0x654/0x6d0 [ 104.873844][ T5620] do_sys_openat2+0x115/0x200 [ 104.873870][ T5620] ? __pfx_do_sys_openat2+0x10/0x10 [ 104.873890][ T5620] __x64_sys_openat+0x138/0x170 [ 104.873907][ T5620] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 104.873941][ T5620] do_syscall_64+0x174/0x580 [ 104.873967][ T5620] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 104.873989][ T5620] ? clear_bhb_loop+0x40/0x90 [ 104.874012][ T5620] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 104.874037][ T5620] RIP: 0033:0x7fdde82befc9 [ 104.874058][ T5620] Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 0f 1f 44 00 00 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 d8 ff ff ff f7 d8 64 89 01 48 [ 104.874070][ T5620] RSP: 002b:00007ffdf0488068 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 104.874103][ T5620] RAX: ffffffffffffffda RBX: 0000200000000400 RCX: 00007fdde82befc9 [ 104.874120][ T5620] RDX: 000000000000e002 RSI: 0000200000000400 RDI: 00000000ffffff9c [ 104.874135][ T5620] RBP: 0000200000000408 R08: 0000000000000006 R09: 0000000000000006 [ 104.874148][ T5620] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffdf04881d8 [ 104.874160][ T5620] R13: 431bde82d7b634db R14: 00007fdde8352c40 R15: 0000000000000002 [ 104.874182][ T5620] [pid 5619] openat(AT_FDCWD, "/sys/fs/fuse/connections", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5619] fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 [pid 5619] getdents64(3, 0x555570b897a0 /* 2 entries */, 32768) = 48 [pid 5619] getdents64(3, 0x555570b897a0 /* 0 entries */, 32768) = 0 [pid 5619] close(3) = 0