./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3046192582 <...> Warning: Permanently added '10.128.0.235' (ED25519) to the list of known hosts. execve("./syz-executor3046192582", ["./syz-executor3046192582"], 0x7ffc299db100 /* 10 vars */) = 0 brk(NULL) = 0x55556abaa000 brk(0x55556abaad00) = 0x55556abaad00 arch_prctl(ARCH_SET_FS, 0x55556abaa380) = 0 set_tid_address(0x55556abaa650) = 5835 set_robust_list(0x55556abaa660, 24) = 0 rseq(0x55556abaaca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3046192582", 4096) = 28 getrandom("\x55\x18\x7f\x2d\x72\xf2\xc1\x59", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55556abaad00 brk(0x55556abcbd00) = 0x55556abcbd00 brk(0x55556abcc000) = 0x55556abcc000 mprotect(0x7f00e45d0000, 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 unshare(CLONE_NEWPID) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5836 attached [pid 5836] set_robust_list(0x55556abaa660, 24 [pid 5835] <... clone resumed>, child_tidptr=0x55556abaa650) = 5836 [pid 5836] <... set_robust_list resumed>) = 0 [pid 5836] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5836] getppid() = 0 [pid 5836] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5836] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5836] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5836] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5836] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5836] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5836] unshare(CLONE_NEWNS) = 0 [pid 5836] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5836] unshare(CLONE_NEWIPC) = 0 [pid 5836] unshare(CLONE_NEWCGROUP) = 0 [pid 5836] unshare(CLONE_NEWUTS) = 0 [pid 5836] unshare(CLONE_SYSVSEM) = 0 [pid 5836] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5836] write(3, "16777216", 8) = 8 [pid 5836] close(3) = 0 [pid 5836] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5836] write(3, "536870912", 9) = 9 [pid 5836] close(3) = 0 [pid 5836] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5836] write(3, "1024", 4) = 4 [pid 5836] close(3) = 0 [pid 5836] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5836] write(3, "8192", 4) = 4 [pid 5836] close(3) = 0 [pid 5836] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5836] write(3, "1024", 4) = 4 [pid 5836] close(3) = 0 [pid 5836] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5836] write(3, "1024", 4) = 4 [pid 5836] close(3) = 0 [pid 5836] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5836] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5836] close(3) = 0 [pid 5836] getpid() = 1 [pid 5836] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< #1 (sk_lock-AF_INET){+.+.}-{0:0}: [ 69.926110][ T5836] lock_acquire+0x1ed/0x550 [ 69.931119][ T5836] lock_sock_nested+0x48/0x100 [ 69.936398][ T5836] do_ip_setsockopt+0x1a2d/0x3cd0 [ 69.941938][ T5836] ip_setsockopt+0x63/0x100 [ 69.946960][ T5836] dccp_setsockopt+0x17c/0x12c0 [ 69.952328][ T5836] do_sock_setsockopt+0x3af/0x720 [ 69.957865][ T5836] __x64_sys_setsockopt+0x1ee/0x280 [ 69.963575][ T5836] do_syscall_64+0xf3/0x230 [ 69.968595][ T5836] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 69.975005][ T5836] [ 69.975005][ T5836] -> #0 (rtnl_mutex){+.+.}-{4:4}: [ 69.982217][ T5836] validate_chain+0x18ef/0x5920 [ 69.987585][ T5836] __lock_acquire+0x1397/0x2100 [ 69.992948][ T5836] lock_acquire+0x1ed/0x550 [ 69.997973][ T5836] __mutex_lock+0x1ac/0xee0 [ 70.002989][ T5836] smc_pnet_find_ism_resource+0xe1/0x510 [ 70.009139][ T5836] __smc_connect+0x390/0x1850 [ 70.014328][ T5836] smc_connect+0x868/0xde0 [ 70.019257][ T5836] __sys_connect+0x288/0x2d0 [ 70.024355][ T5836] __x64_sys_connect+0x7a/0x90 [ 70.029626][ T5836] do_syscall_64+0xf3/0x230 [ 70.034655][ T5836] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 70.041063][ T5836] [ 70.041063][ T5836] other info that might help us debug this: [ 70.041063][ T5836] [ 70.051278][ T5836] Possible unsafe locking scenario: [ 70.051278][ T5836] [ 70.058717][ T5836] CPU0 CPU1 [ 70.064070][ T5836] ---- ---- [ 70.069428][ T5836] lock(sk_lock-AF_INET); [ 70.073840][ T5836] lock(rtnl_mutex); [ 70.080333][ T5836] lock(sk_lock-AF_INET); [ 70.087258][ T5836] lock(rtnl_mutex); [ 70.091231][ T5836] [ 70.091231][ T5836] *** DEADLOCK *** [ 70.091231][ T5836] [ 70.099362][ T5836] 1 lock held by syz-executor304/5836: [ 70.104806][ T5836] #0: ffff888077140258 (sk_lock-AF_INET){+.+.}-{0:0}, at: smc_connect+0xb7/0xde0 [ 70.114028][ T5836] [ 70.114028][ T5836] stack backtrace: [ 70.119920][ T5836] CPU: 1 UID: 0 PID: 5836 Comm: syz-executor304 Not tainted 6.13.0-rc6-syzkaller-00147-g665bcfc982de #0 [ 70.131036][ T5836] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 70.141108][ T5836] Call Trace: [ 70.144387][ T5836] [ 70.147327][ T5836] dump_stack_lvl+0x241/0x360 [ 70.152014][ T5836] ? __pfx_dump_stack_lvl+0x10/0x10 [ 70.157219][ T5836] ? __pfx__printk+0x10/0x10 [ 70.161814][ T5836] print_circular_bug+0x13a/0x1b0 [ 70.166842][ T5836] check_noncircular+0x36a/0x4a0 [ 70.171778][ T5836] ? __pfx_check_noncircular+0x10/0x10 [ 70.177238][ T5836] ? lockdep_lock+0x123/0x2b0 [ 70.181904][ T5836] ? __pfx_check_noncircular+0x10/0x10 [ 70.187376][ T5836] validate_chain+0x18ef/0x5920 [ 70.192237][ T5836] ? __pfx_lockdep_unlock+0x10/0x10 [ 70.197447][ T5836] ? __pfx_validate_chain+0x10/0x10 [ 70.202657][ T5836] ? mark_lock+0x9a/0x360 [ 70.206984][ T5836] ? __lock_acquire+0x1397/0x2100 [ 70.212004][ T5836] ? __pfx_validate_chain+0x10/0x10 [ 70.217202][ T5836] ? mark_lock+0x9a/0x360 [ 70.221526][ T5836] ? __pfx_validate_chain+0x10/0x10 [ 70.226716][ T5836] __lock_acquire+0x1397/0x2100 [ 70.231564][ T5836] lock_acquire+0x1ed/0x550 [ 70.236060][ T5836] ? smc_pnet_find_ism_resource+0xe1/0x510 [ 70.241866][ T5836] ? __pfx_lock_acquire+0x10/0x10 [ 70.246880][ T5836] ? __lock_acquire+0x1397/0x2100 [ 70.251894][ T5836] ? __pfx___might_resched+0x10/0x10 [ 70.257174][ T5836] __mutex_lock+0x1ac/0xee0 [ 70.261679][ T5836] ? smc_pnet_find_ism_resource+0xe1/0x510 [ 70.267480][ T5836] ? __pfx_lock_acquire+0x10/0x10 [ 70.272498][ T5836] ? sk_dst_get+0x1c/0x290 [ 70.276906][ T5836] ? smc_pnet_find_ism_resource+0xe1/0x510 [ 70.282708][ T5836] ? __pfx___mutex_lock+0x10/0x10 [ 70.287731][ T5836] ? sk_dst_get+0x1c/0x290 [ 70.292141][ T5836] smc_pnet_find_ism_resource+0xe1/0x510 [ 70.297777][ T5836] ? smc_vlan_by_tcpsk+0x3fe/0x4e0 [ 70.302882][ T5836] ? __pfx_smc_pnet_find_ism_resource+0x10/0x10 [ 70.309114][ T5836] ? __kmalloc_cache_noprof+0x243/0x390 [ 70.314659][ T5836] ? __smc_connect+0x1c3/0x1850 [ 70.319527][ T5836] __smc_connect+0x390/0x1850 [ 70.324220][ T5836] smc_connect+0x868/0xde0 [ 70.328638][ T5836] __sys_connect+0x288/0x2d0 [ 70.333221][ T5836] ? lockdep_hardirqs_on+0x99/0x150 [ 70.338422][ T5836] ? __pfx___sys_connect+0x10/0x10 [ 70.343525][ T5836] ? ptrace_notify+0x279/0x380 [ 70.348290][ T5836] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 70.354625][ T5836] ? do_syscall_64+0x100/0x230 [ 70.359385][ T5836] __x64_sys_connect+0x7a/0x90 [ 70.364140][ T5836] do_syscall_64+0xf3/0x230 [ 70.368642][ T5836] ? clear_bhb_loop+0x35/0x90 [ 70.373307][ T5836] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 70.379224][ T5836] RIP: 0033:0x7f00e4558799 [ 70.383648][ T5836] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 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 b8 ff ff ff f7 d8 64 89 01 48 [ 70.403258][ T5836] RSP: 002b:00007fff72e40d38 EFLAGS: 00000246 ORIG_RAX: 000000000000002a [ 70.411668][ T5836] RAX: ffffffffffffffda RBX: 00007f00e45a5490 RCX: 00007f00e4558799 [ 70.419629][ T5836] RDX: 0000000000000010 RSI: 0000000020000080 RDI: 0000000000000004 [ 70.427591][ T5836] RBP: 00007f00e45a5460 R08: 0000555500000000 R09: 0000555500000000 [pid 5836] connect(4, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("255.255.255.255")}, 16) = -1 EPROTO (Protocol error) [pid 5836] exit_group(1) = ? [pid 5836] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5836, si_uid=0, si_status=1, si_utime=0, si_stime=93 /* 0.93 s */} --- [ 70.435565][ T5836] R10: 0000000000000010 R11: 0000000000000246 R12: 00007f00e45a53e5 [ 70.443530][ T5836] R13: 0000000000000001 R14: 00007fff72e40d80 R15: 0000000000000003 [ 70.451497][ T5836] exit_group(0) = ? +++ exited with 0 +++ [