./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1315098316 <...> Warning: Permanently added '10.128.0.168' (ED25519) to the list of known hosts. execve("./syz-executor1315098316", ["./syz-executor1315098316"], 0x7ffcae7a09e0 /* 10 vars */) = 0 brk(NULL) = 0x555593215000 brk(0x555593215d00) = 0x555593215d00 arch_prctl(ARCH_SET_FS, 0x555593215380) = 0 set_tid_address(0x555593215650) = 5831 set_robust_list(0x555593215660, 24) = 0 rseq(0x555593215ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1315098316", 4096) = 28 getrandom("\x54\x01\x51\xb1\x13\x8d\x98\xe3", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555593215d00 brk(0x555593236d00) = 0x555593236d00 brk(0x555593237000) = 0x555593237000 mprotect(0x7f7fcf556000, 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 5832 attached [pid 5832] set_robust_list(0x555593215660, 24 [pid 5831] <... clone resumed>, child_tidptr=0x555593215650) = 5832 [pid 5832] <... set_robust_list resumed>) = 0 [pid 5832] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5832] getppid() = 0 [pid 5832] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5832] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5832] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5832] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5832] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5832] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5832] unshare(CLONE_NEWNS) = 0 [pid 5832] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5832] unshare(CLONE_NEWIPC) = 0 [pid 5832] unshare(CLONE_NEWCGROUP) = 0 [pid 5832] unshare(CLONE_NEWUTS) = 0 [pid 5832] unshare(CLONE_SYSVSEM) = 0 [pid 5832] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5832] write(3, "16777216", 8) = 8 [pid 5832] close(3) = 0 [pid 5832] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5832] write(3, "536870912", 9) = 9 [pid 5832] close(3) = 0 [pid 5832] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5832] write(3, "1024", 4) = 4 [pid 5832] close(3) = 0 [pid 5832] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5832] write(3, "8192", 4) = 4 [pid 5832] close(3) = 0 [pid 5832] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5832] write(3, "1024", 4) = 4 [pid 5832] close(3) = 0 [pid 5832] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5832] write(3, "1024", 4) = 4 [pid 5832] close(3) = 0 [pid 5832] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5832] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5832] close(3) = 0 [pid 5832] getpid() = 1 [pid 5832] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< #1 (sk_lock-AF_INET){+.+.}-{0:0}: [ 76.632641][ T5832] lock_acquire+0x1ed/0x550 [ 76.637668][ T5832] lock_sock_nested+0x48/0x100 [ 76.642938][ T5832] do_ip_setsockopt+0x1a2d/0x3cd0 [ 76.648466][ T5832] ip_setsockopt+0x63/0x100 [ 76.653470][ T5832] dccp_setsockopt+0x17c/0x12c0 [ 76.658830][ T5832] do_sock_setsockopt+0x3af/0x720 [ 76.664355][ T5832] __x64_sys_setsockopt+0x1ee/0x280 [ 76.670053][ T5832] do_syscall_64+0xf3/0x230 [ 76.675059][ T5832] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 76.681457][ T5832] [ 76.681457][ T5832] -> #0 (rtnl_mutex){+.+.}-{4:4}: [ 76.688648][ T5832] validate_chain+0x18ef/0x5920 [ 76.694006][ T5832] __lock_acquire+0x1397/0x2100 [ 76.699369][ T5832] lock_acquire+0x1ed/0x550 [ 76.704382][ T5832] __mutex_lock+0x1ac/0xee0 [ 76.709394][ T5832] smc_pnet_find_ism_resource+0xe1/0x510 [ 76.715558][ T5832] __smc_connect+0x390/0x1850 [ 76.720745][ T5832] smc_connect+0x868/0xde0 [ 76.725669][ T5832] __sys_connect+0x288/0x2d0 [ 76.730762][ T5832] __x64_sys_connect+0x7a/0x90 [ 76.736033][ T5832] do_syscall_64+0xf3/0x230 [ 76.741059][ T5832] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 76.747461][ T5832] [ 76.747461][ T5832] other info that might help us debug this: [ 76.747461][ T5832] [ 76.757669][ T5832] Possible unsafe locking scenario: [ 76.757669][ T5832] [ 76.765093][ T5832] CPU0 CPU1 [ 76.770438][ T5832] ---- ---- [ 76.775779][ T5832] lock(sk_lock-AF_INET); [ 76.780185][ T5832] lock(rtnl_mutex); [ 76.786675][ T5832] lock(sk_lock-AF_INET); [ 76.793616][ T5832] lock(rtnl_mutex); [ 76.797581][ T5832] [ 76.797581][ T5832] *** DEADLOCK *** [ 76.797581][ T5832] [ 76.805701][ T5832] 1 lock held by syz-executor131/5832: [ 76.811137][ T5832] #0: ffff88807c8a0258 (sk_lock-AF_INET){+.+.}-{0:0}, at: smc_connect+0xb7/0xde0 [ 76.820353][ T5832] [ 76.820353][ T5832] stack backtrace: [ 76.826243][ T5832] CPU: 0 UID: 0 PID: 5832 Comm: syz-executor131 Not tainted 6.13.0-rc6-syzkaller-00147-g665bcfc982de #0 [ 76.837336][ T5832] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 76.847379][ T5832] Call Trace: [ 76.850663][ T5832] [ 76.853666][ T5832] dump_stack_lvl+0x241/0x360 [ 76.858348][ T5832] ? __pfx_dump_stack_lvl+0x10/0x10 [ 76.863539][ T5832] ? __pfx__printk+0x10/0x10 [ 76.868115][ T5832] print_circular_bug+0x13a/0x1b0 [ 76.873130][ T5832] check_noncircular+0x36a/0x4a0 [ 76.878050][ T5832] ? mark_lock+0x9a/0x360 [ 76.882361][ T5832] ? __pfx_check_noncircular+0x10/0x10 [ 76.887802][ T5832] ? lockdep_lock+0x123/0x2b0 [ 76.892462][ T5832] validate_chain+0x18ef/0x5920 [ 76.897296][ T5832] ? _raw_spin_unlock_irqrestore+0x8f/0x140 [ 76.903174][ T5832] ? lockdep_hardirqs_on+0x99/0x150 [ 76.908366][ T5832] ? __pfx_validate_chain+0x10/0x10 [ 76.913565][ T5832] ? mark_lock+0x9a/0x360 [ 76.917881][ T5832] ? __lock_acquire+0x1397/0x2100 [ 76.922913][ T5832] ? __pfx_validate_chain+0x10/0x10 [ 76.928110][ T5832] ? mark_lock+0x9a/0x360 [ 76.932424][ T5832] ? __pfx_validate_chain+0x10/0x10 [ 76.937620][ T5832] __lock_acquire+0x1397/0x2100 [ 76.942491][ T5832] lock_acquire+0x1ed/0x550 [ 76.947000][ T5832] ? smc_pnet_find_ism_resource+0xe1/0x510 [ 76.952815][ T5832] ? __pfx_lock_acquire+0x10/0x10 [ 76.957843][ T5832] ? __lock_acquire+0x1397/0x2100 [ 76.962872][ T5832] ? __pfx___might_resched+0x10/0x10 [ 76.968168][ T5832] __mutex_lock+0x1ac/0xee0 [ 76.972724][ T5832] ? smc_pnet_find_ism_resource+0xe1/0x510 [ 76.978538][ T5832] ? __pfx_lock_acquire+0x10/0x10 [ 76.983570][ T5832] ? sk_dst_get+0x1c/0x290 [ 76.987993][ T5832] ? smc_pnet_find_ism_resource+0xe1/0x510 [ 76.993807][ T5832] ? __pfx___mutex_lock+0x10/0x10 [ 76.998844][ T5832] ? sk_dst_get+0x1c/0x290 [ 77.003267][ T5832] smc_pnet_find_ism_resource+0xe1/0x510 [ 77.008905][ T5832] ? smc_vlan_by_tcpsk+0x3fe/0x4e0 [ 77.014021][ T5832] ? __pfx_smc_pnet_find_ism_resource+0x10/0x10 [ 77.020287][ T5832] ? __kmalloc_cache_noprof+0x243/0x390 [ 77.025841][ T5832] ? __smc_connect+0x1c3/0x1850 [ 77.030791][ T5832] __smc_connect+0x390/0x1850 [ 77.035493][ T5832] smc_connect+0x868/0xde0 [ 77.040014][ T5832] __sys_connect+0x288/0x2d0 [ 77.044701][ T5832] ? lockdep_hardirqs_on+0x99/0x150 [ 77.049910][ T5832] ? __pfx___sys_connect+0x10/0x10 [ 77.055049][ T5832] ? ptrace_notify+0x279/0x380 [ 77.059826][ T5832] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 77.066162][ T5832] ? do_syscall_64+0x100/0x230 [ 77.070953][ T5832] __x64_sys_connect+0x7a/0x90 [ 77.075716][ T5832] do_syscall_64+0xf3/0x230 [ 77.080203][ T5832] ? clear_bhb_loop+0x35/0x90 [ 77.084858][ T5832] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 77.090753][ T5832] RIP: 0033:0x7f7fcf4de799 [ 77.095172][ T5832] 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 [ 77.114781][ T5832] RSP: 002b:00007ffebadfaf28 EFLAGS: 00000246 ORIG_RAX: 000000000000002a [ 77.123202][ T5832] RAX: ffffffffffffffda RBX: 00007f7fcf52b490 RCX: 00007f7fcf4de799 [ 77.131172][ T5832] RDX: 0000000000000010 RSI: 0000000020000080 RDI: 0000000000000004 [pid 5832] connect(4, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("255.255.255.255")}, 16) = -1 EPROTO (Protocol error) [pid 5832] exit_group(1) = ? [pid 5832] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5832, si_uid=0, si_status=1, si_utime=0, si_stime=95 /* 0.95 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 77.139135][ T5832] RBP: 00007f7fcf52b460 R08: 0000555500000000 R09: 0000555500000000 [ 77.147103][ T5832] R10: 0000000000000010 R11: 0000000000000246 R12: 00007f7fcf52b3e5 [ 77.155058][ T5832] R13: 0000000000000001 R14: 00007ffebadfaf70 R15: 0000000000000003 [ 77.163027][ T5832] [ 77.177874][ T5832] syz-executor131 (5832) used greatest stack depth: 18672 bytes left [ 77.192216][ T12] netdevsim netdevs