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-executor1643634046 <...> Warning: Permanently added '10.128.1.90' (ED25519) to the list of known hosts. execve("ci-upstream-kasan-gce-smack-root/syz-executor1643634046", ["ci-upstream-kasan-gce-smack-root/syz-executor1643634046"], 0x7ffd5ded33a0 /* 10 vars */) = 0 brk(NULL) = 0x55555d6c7000 brk(0x55555d6c7d80) = 0x55555d6c7d80 arch_prctl(ARCH_SET_FS, 0x55555d6c7400) = 0 set_tid_address(0x55555d6c76d0) = 5615 set_robust_list(0x55555d6c76e0, 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-executor1643634046", 4096) = 61 getrandom("\x5a\x03\x2d\xac\x34\x73\xf7\x62", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55555d6c7d80 brk(0x55555d6e8d80) = 0x55555d6e8d80 brk(0x55555d6e9000) = 0x55555d6e9000 mprotect(0x7f2dafb61000, 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 5616 attached , child_tidptr=0x55555d6c76d0) = 5616 [pid 5615] rt_sigprocmask(SIG_SETMASK, [] [pid 5616] set_robust_list(0x55555d6c76e0, 24 [pid 5615] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 5616] <... set_robust_list resumed>) = 0 [pid 5616] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5616] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5616] setpgid(0, 0) = 0 [pid 5616] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5616] write(3, "1000", 4) = 4 [pid 5616] close(3) = 0 executing program [pid 5616] write(1, "executing program\n", 18) = 18 [pid 5616] openat(AT_FDCWD, "/dev/raw-gadget", O_RDWR) = 3 [pid 5616] ioctl(3, USB_RAW_IOCTL_INIT, 0x7ffe4d87f9c0) = 0 [pid 5616] ioctl(3, UI_DEV_CREATE or USB_RAW_IOCTL_RUN, 0) = 0 [pid 5616] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffe4d87f9c0) = 0 [pid 5616] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffe4d87f9c0) = 0 [pid 5616] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffe4d87f9c0) = 0 [pid 5616] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffe4d87f9c0) = 0 [pid 5616] ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7ffe4d87e9b0) = 18 [pid 5616] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffe4d87f9c0) = 0 [ 84.729102][ T31] usb 1-1: new high-speed USB device number 2 using dummy_hcd [pid 5616] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffe4d87f9c0) = 0 [pid 5616] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffe4d87f9c0) = 0 [pid 5616] ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7ffe4d87e9b0) = 18 [pid 5616] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffe4d87f9c0) = 0 [pid 5616] ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7ffe4d87e9b0) = 9 [pid 5616] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffe4d87f9c0) = 0 [pid 5616] ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7ffe4d87e9b0) = 74 [pid 5616] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffe4d87f9c0) = 0 [pid 5616] ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7ffe4d87e9b0) = 4 [pid 5616] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffe4d87f9c0) = 0 [pid 5616] ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7ffe4d87e9b0) = 8 [pid 5616] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffe4d87f9c0) = 0 [pid 5616] ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7ffe4d87e9b0) = 8 [pid 5616] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffe4d87f9c0) = 0 [pid 5616] ioctl(3, USB_RAW_IOCTL_EP0_WRITE, 0x7ffe4d87e9b0) = 8 [pid 5616] ioctl(3, USB_RAW_IOCTL_EVENT_FETCH, 0x7ffe4d87f9c0) = 0 [pid 5616] ioctl(3, USB_RAW_IOCTL_VBUS_DRAW, 0x32) = 0 [pid 5616] ioctl(3, USB_RAW_IOCTL_CONFIGURE, 0) = 0 [pid 5616] ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7f2dafb67b4c) = 0 [ 84.980510][ T31] usb 1-1: New USB device found, idVendor=05c5, idProduct=0002, bcdDevice= 1.00 [ 84.980533][ T31] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 84.980542][ T31] usb 1-1: Product: syz [ 84.980549][ T31] usb 1-1: Manufacturer: syz [ 84.980555][ T31] usb 1-1: SerialNumber: syz [pid 5616] ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7f2dafb67b5c) = 9 [pid 5616] ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7f2dafb67b6c) = 10 [pid 5616] ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7f2dafb67b7c) = 1 [pid 5616] ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7f2dafb67b8c) = 12 [pid 5616] ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7f2dafb67b9c) = 11 [pid 5616] ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7f2dafb67bac) = 15 [pid 5616] ioctl(3, USB_RAW_IOCTL_EP_ENABLE, 0x7f2dafb67bbc) = 13 [pid 5616] ioctl(3, USB_RAW_IOCTL_EP0_READ, 0x7ffe4d87e9b0) = 0 [ 85.118565][ T31] digi_acceleport 1-1:1.0: Digi 2 port USB adapter converter detected [ 85.134719][ T31] usb 1-1: Digi 2 port USB adapter converter now attached to ttyUSB0 [ 85.140474][ T31] usb 1-1: Digi 2 port USB adapter converter now attached to ttyUSB1 [ 85.148133][ T31] usb 1-1: Digi 2 port USB adapter converter now attached to ttyUSB2 [pid 5616] mkdir("mnt", 0777) = 0 [pid 5616] mount(NULL, "mnt", "devtmpfs", 0, NULL) = 0 [ 87.098673][ T36] cfg80211: failed to load regulatory.db [pid 5616] openat(AT_FDCWD, "mnt/ttyUSB0", O_RDWR|O_DIRECT|O_LARGEFILE|FASYNC [pid 5615] kill(-5616, SIGKILL) = 0 [pid 5615] kill(5616, SIGKILL) = 0 [ 89.394819][ T5616] [ 89.394831][ T5616] ============================================ [ 89.394846][ T5616] WARNING: possible recursive locking detected [ 89.394860][ T5616] syzkaller #0 Not tainted [ 89.394869][ T5616] -------------------------------------------- [ 89.394875][ T5616] syz-executor164/5616 is trying to acquire lock: [ 89.394884][ T5616] ffff888037675858 (&priv->dp_port_lock){+.+.}-{3:3}, at: digi_set_modem_signals+0x19d/0x8c0 [ 89.394955][ T5616] [ 89.394955][ T5616] but task is already holding lock: [ 89.394961][ T5616] ffff888037676058 (&priv->dp_port_lock){+.+.}-{3:3}, at: digi_set_modem_signals+0x195/0x8c0 [ 89.395014][ T5616] [ 89.395014][ T5616] other info that might help us debug this: [ 89.395019][ T5616] Possible unsafe locking scenario: [ 89.395019][ T5616] [ 89.395024][ T5616] CPU0 [ 89.395028][ T5616] ---- [ 89.395032][ T5616] lock(&priv->dp_port_lock); [ 89.395043][ T5616] lock(&priv->dp_port_lock); [ 89.395053][ T5616] [ 89.395053][ T5616] *** DEADLOCK *** [ 89.395053][ T5616] [ 89.395056][ T5616] May be due to missing lock nesting notation [ 89.395056][ T5616] [ 89.395061][ T5616] 3 locks held by syz-executor164/5616: [ 89.395071][ T5616] #0: ffff8880379d71a0 (&tty->legacy_mutex){+.+.}-{4:4}, at: tty_init_dev+0x74/0x4d0 [ 89.395134][ T5616] #1: ffff888037676058 (&priv->dp_port_lock){+.+.}-{3:3}, at: digi_set_modem_signals+0x195/0x8c0 [ 89.395179][ T5616] #2: ffffffff8e1c3000 (rcu_read_lock){....}-{1:3}, at: rt_spin_lock+0x1e0/0x400 [ 89.395234][ T5616] [ 89.395234][ T5616] stack backtrace: [ 89.395252][ T5616] CPU: 0 UID: 0 PID: 5616 Comm: syz-executor164 Not tainted syzkaller #0 PREEMPT_{RT,(full)} [ 89.395277][ T5616] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 [ 89.395295][ T5616] Call Trace: [ 89.395302][ T5616] [ 89.395309][ T5616] dump_stack_lvl+0xe8/0x150 [ 89.395338][ T5616] print_deadlock_bug+0x279/0x290 [ 89.395365][ T5616] __lock_acquire+0x24df/0x2ce0 [ 89.395392][ T5616] ? __pfx_rtlock_slowlock_locked+0x10/0x10 [ 89.395411][ T5616] ? digi_set_modem_signals+0x19d/0x8c0 [ 89.395435][ T5616] lock_acquire+0x106/0x350 [ 89.395450][ T5616] ? digi_set_modem_signals+0x19d/0x8c0 [ 89.395475][ T5616] ? _raw_spin_unlock_irqrestore+0x30/0x80 [ 89.395497][ T5616] rt_spin_lock+0x83/0x400 [ 89.395521][ T5616] ? digi_set_modem_signals+0x19d/0x8c0 [ 89.395547][ T5616] ? __pfx_rt_spin_lock+0x10/0x10 [ 89.395576][ T5616] digi_set_modem_signals+0x19d/0x8c0 [ 89.395600][ T5616] ? _raw_spin_unlock_irqrestore+0x4c/0x80 [ 89.395619][ T5616] ? rt_mutex_slowunlock+0x4ee/0xa20 [ 89.395645][ T5616] ? __pfx_rt_mutex_slowunlock+0x10/0x10 [ 89.395674][ T5616] ? __pfx_digi_set_modem_signals+0x10/0x10 [ 89.395700][ T5616] ? rt_spin_unlock+0x157/0x200 [ 89.395727][ T5616] ? rt_spin_unlock+0x163/0x200 [ 89.395754][ T5616] ? __pfx_serial_port_dtr_rts+0x10/0x10 [ 89.395777][ T5616] tty_port_block_til_ready+0x386/0x890 [ 89.395801][ T5616] ? _raw_spin_unlock_irqrestore+0x30/0x80 [ 89.395822][ T5616] ? __pfx_tty_port_block_til_ready+0x10/0x10 [ 89.395844][ T5616] ? __pfx_autoremove_wake_function+0x10/0x10 [ 89.395870][ T5616] ? tty_port_open+0x234/0x2b0 [ 89.395892][ T5616] tty_open+0x496/0xcd0 [ 89.395917][ T5616] ? __pfx_tty_open+0x10/0x10 [ 89.395936][ T5616] ? rt_spin_unlock+0x157/0x200 [ 89.395959][ T5616] ? rt_spin_unlock+0x163/0x200 [ 89.395989][ T5616] chrdev_open+0x4dc/0x600 [ 89.396011][ T5616] ? __pfx_chrdev_open+0x10/0x10 [ 89.396031][ T5616] ? fsnotify_open_perm_and_set_mode+0x13b/0x6c0 [ 89.396053][ T5616] ? __pfx_chrdev_open+0x10/0x10 [ 89.396072][ T5616] do_dentry_open+0x849/0x1420 [ 89.396089][ T5616] vfs_open+0x3b/0x350 [ 89.396101][ T5616] ? path_openat+0x2e49/0x3850 [ 89.396120][ T5616] path_openat+0x2e60/0x3850 [ 89.396140][ T5616] ? kmem_cache_alloc_noprof+0x355/0x650 [ 89.396155][ T5616] ? __x64_sys_openat+0x138/0x170 [ 89.396168][ T5616] ? do_syscall_64+0x174/0x580 [ 89.396186][ T5616] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 89.396206][ T5616] do_file_open+0x23e/0x4a0 [ 89.396223][ T5616] ? lockdep_hardirqs_on+0x7a/0x110 [ 89.396242][ T5616] ? __pfx_do_file_open+0x10/0x10 [ 89.396267][ T5616] ? alloc_fd+0x654/0x6d0 [ 89.396284][ T5616] do_sys_openat2+0x115/0x200 [ 89.396299][ T5616] ? __pfx_do_sys_openat2+0x10/0x10 [ 89.396317][ T5616] __x64_sys_openat+0x138/0x170 [ 89.396332][ T5616] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 89.396346][ T5616] do_syscall_64+0x174/0x580 [ 89.396363][ T5616] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 89.396377][ T5616] ? clear_bhb_loop+0x40/0x90 [ 89.396393][ T5616] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 89.396407][ T5616] RIP: 0033:0x7f2dafacdfc9 [ 89.396426][ T5616] 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 [ 89.396438][ T5616] RSP: 002b:00007ffe4d880a08 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 89.396454][ T5616] RAX: ffffffffffffffda RBX: 0000200000000400 RCX: 00007f2dafacdfc9 [ 89.396465][ T5616] RDX: 000000000000e002 RSI: 0000200000000400 RDI: 00000000ffffff9c [ 89.396475][ T5616] RBP: 0000200000000408 R08: 0000000000000006 R09: 0000000000000006 [ 89.396485][ T5616] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe4d880b78 [ 89.396495][ T5616] R13: 431bde82d7b634db R14: 00007f2dafb61c40 R15: 0000000000000002 [ 89.396510][ T5616] [pid 5615] openat(AT_FDCWD, "/sys/fs/fuse/connections", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5615] fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 [pid 5615] getdents64(3, 0x55555d6c87a0 /* 2 entries */, 32768) = 48 [pid 5615] getdents64(3, 0x55555d6c87a0 /* 0 entries */, 32768) = 0 [pid 5615] close(3) = 0