./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3850318802 <...> syzkaller syzkaller login: [ 10.222967][ T23] kauditd_printk_skb: 60 callbacks suppressed [ 10.222974][ T23] audit: type=1400 audit(1655519452.459:71): avc: denied { transition } for pid=288 comm="sshd" path="/bin/sh" dev="sda1" ino=73 scontext=system_u:system_r:initrc_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 10.228650][ T23] audit: type=1400 audit(1655519452.469:72): avc: denied { write } for pid=288 comm="sh" path="pipe:[10192]" dev="pipefs" ino=10192 scontext=root:sysadm_r:sysadm_t tcontext=system_u:system_r:initrc_t tclass=fifo_file permissive=1 [ 11.587234][ T0] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #288!!! [ 11.867833][ T0] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #08!!! [ 12.137264][ T0] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #08!!! [ 14.777230][ T0] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #80!!! [ 16.067254][ T0] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #80!!! Warning: Permanently added '10.128.0.6' (ECDSA) to the list of known hosts. execve("./syz-executor3850318802", ["./syz-executor3850318802"], 0x7ffd4fd17090 /* 10 vars */) = 0 brk(NULL) = 0x5555566a1000 brk(0x5555566a1c40) = 0x5555566a1c40 arch_prctl(ARCH_SET_FS, 0x5555566a1300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 set_tid_address(0x5555566a15d0) = 371 set_robust_list(0x5555566a15e0, 24) = 0 rt_sigaction(SIGRTMIN, {sa_handler=0x7fb75af11380, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7fb75af11a50}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=0x7fb75af11420, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fb75af11a50}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3850318802", 4096) = 28 brk(0x5555566c2c40) = 0x5555566c2c40 brk(0x5555566c3000) = 0x5555566c3000 mprotect(0x7fb75afd1000, 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=0x5555566a15d0) = 372 ./strace-static-x86_64: Process 372 attached [pid 372] set_robust_list(0x5555566a15e0, 24) = 0 [pid 372] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 372] setpgid(0, 0) = 0 [pid 372] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 372] write(3, "1000", 4) = 4 [pid 372] close(3) = 0 [pid 372] futex(0x7fb75afd742c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 372] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fb75aee1000 [pid 372] mprotect(0x7fb75aee2000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 372] clone(child_stack=0x7fb75af013f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[373], tls=0x7fb75af01700, child_tidptr=0x7fb75af019d0) = 373 [pid 372] futex(0x7fb75afd7428, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 372] futex(0x7fb75afd742c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 373 attached [pid 373] set_robust_list(0x7fb75af019e0, 24) = 0 [pid 373] openat(AT_FDCWD, "/dev/net/tun", O_RDONLY) = 3 [pid 373] futex(0x7fb75afd742c, FUTEX_WAKE_PRIVATE, 1000000 [pid 372] <... futex resumed>) = 0 [pid 372] futex(0x7fb75afd7428, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 372] futex(0x7fb75afd742c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 373] <... futex resumed>) = 1 [pid 373] ioctl(3, TUNSETIFF, 0x20000200) = 0 [pid 373] futex(0x7fb75afd742c, FUTEX_WAKE_PRIVATE, 1000000 [pid 372] <... futex resumed>) = 0 [pid 372] futex(0x7fb75afd7428, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 372] futex(0x7fb75afd742c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 373] <... futex resumed>) = 1 [pid 373] socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE) = 4 [pid 373] futex(0x7fb75afd742c, FUTEX_WAKE_PRIVATE, 1000000 [pid 372] <... futex resumed>) = 0 [pid 372] futex(0x7fb75afd7428, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 372] futex(0x7fb75afd742c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 373] <... futex resumed>) = 1 [pid 373] socket(AF_PACKET, SOCK_DGRAM, htons(ETH_P_ALL)) = 5 [pid 373] futex(0x7fb75afd742c, FUTEX_WAKE_PRIVATE, 1000000 [pid 372] <... futex resumed>) = 0 [pid 372] futex(0x7fb75afd7428, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 372] futex(0x7fb75afd742c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 373] <... futex resumed>) = 1 [pid 373] ioctl(5, SIOCGIFINDEX, {ifr_name="rose0", ifr_ifindex=15}) = 0 [pid 373] futex(0x7fb75afd742c, FUTEX_WAKE_PRIVATE, 1000000 [pid 372] <... futex resumed>) = 0 [pid 372] futex(0x7fb75afd7428, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 372] futex(0x7fb75afd742c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 373] <... futex resumed>) = 1 [pid 373] ioctl(3, TUNSETQUEUE, 0x20000340) = 0 [pid 373] futex(0x7fb75afd742c, FUTEX_WAKE_PRIVATE, 1000000 [pid 372] <... futex resumed>) = 0 [pid 372] futex(0x7fb75afd7428, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 372] futex(0x7fb75afd742c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 373] <... futex resumed>) = 1 [ 17.862543][ T23] audit: type=1400 audit(1655519460.099:73): avc: denied { execmem } for pid=371 comm="syz-executor385" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 17.881967][ T23] audit: type=1400 audit(1655519460.109:74): avc: denied { create } for pid=372 comm="syz-executor385" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=packet_socket permissive=1 [ 17.883113][ T373] netlink: 20 bytes leftover after parsing attributes in process `syz-executor385'. [pid 373] sendmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\x34\x00\x00\x00\x11\x00\x01\xe9\x0d\x7d\x1f\xc7\x4e\x1b\xed\x42\xec\x45\xb2\xfc\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", iov_len=52}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0 [pid 372] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 372] futex(0x7fb75afd742c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=0}) = -1 ETIMEDOUT (Connection timed out) [pid 372] futex(0x7fb75afd743c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 372] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fb75aec0000 [pid 372] mprotect(0x7fb75aec1000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 372] clone(child_stack=0x7fb75aee03f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[376], tls=0x7fb75aee0700, child_tidptr=0x7fb75aee09d0) = 376 [pid 372] futex(0x7fb75afd7438, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 372] futex(0x7fb75afd743c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 376 attached [pid 376] set_robust_list(0x7fb75aee09e0, 24) = 0 [ 17.902006][ T23] audit: type=1400 audit(1655519460.119:75): avc: denied { ioctl } for pid=372 comm="syz-executor385" path="socket:[11380]" dev="sockfs" ino=11380 ioctlcmd=0x8933 scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=packet_socket permissive=1 [ 17.936197][ T23] audit: type=1400 audit(1655519460.149:76): avc: denied { read } for pid=198 comm="dhcpcd" scontext=system_u:system_r:dhcpc_t tcontext=system_u:system_r:dhcpc_t tclass=netlink_kobject_uevent_socket permissive=1 [pid 376] ioctl(3, TUNSETIFF, 0x20000200 [pid 372] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 17.959135][ T376] ------------[ cut here ]------------ [ 17.964701][ T376] WARNING: CPU: 0 PID: 376 at net/core/dev.c:6742 netif_napi_add+0x8f2/0xa20 [ 17.973505][ T376] Modules linked in: [ 17.977492][ T376] CPU: 0 PID: 376 Comm: syz-executor385 Not tainted 5.10.117-syzkaller-00814-gfdd06dc6b0f8 #0 [ 17.987797][ T376] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 17.998021][ T376] RIP: 0010:netif_napi_add+0x8f2/0xa20 [ 18.003460][ T376] Code: c2 e0 25 79 85 48 c7 c1 90 f0 c1 85 45 89 e8 31 c0 e8 66 97 cc 00 e9 12 fc ff ff e8 b8 d7 a8 fd e9 d5 fe ff ff e8 ae d7 a8 fd <0f> 0b eb a0 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 2e f8 ff ff e8 75 [ 18.023206][ T376] RSP: 0018:ffffc90000a0faf0 EFLAGS: 00010293 [ 18.029371][ T376] RAX: ffffffff83c3daa2 RBX: ffff88811847f000 RCX: ffff8881002d62c0 [ 18.037615][ T376] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 [ 18.045580][ T376] RBP: ffffc90000a0fb40 R08: ffffffff83c3d1fc R09: ffffed102308fe86 [ 18.053597][ T376] R10: ffffed102308fe86 R11: 1ffff1102308fe85 R12: ffff88811847f428 [ 18.061628][ T376] R13: 0000000000000040 R14: ffff88811847f418 R15: ffffffff82eee9a0 [ 18.069662][ T376] FS: 00007fb75aee0700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 [ 18.078643][ T376] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 18.085212][ T376] CR2: 00007fe91abb2160 CR3: 00000001055ba000 CR4: 00000000003506b0 [ 18.093238][ T376] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 18.101359][ T376] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 18.109365][ T376] Call Trace: [pid 372] exit_group(0) = ? [ 18.112657][ T376] ? xdp_rxq_info_reg+0x194/0x2f0 [ 18.117720][ T376] tun_attach+0x877/0x14c0 [ 18.122145][ T376] tun_set_iff+0xadf/0x1100 [ 18.126651][ T376] __tun_chr_ioctl+0x8ab/0x2130 [ 18.131619][ T376] ? tun_flow_create+0x320/0x320 [ 18.136554][ T376] ? __fget_files+0x310/0x370 [ 18.141239][ T376] tun_chr_ioctl+0x2a/0x40 [ 18.145741][ T376] ? tun_chr_poll+0x650/0x650 [ 18.150695][ T376] __se_sys_ioctl+0x115/0x190 [ 18.155461][ T376] __x64_sys_ioctl+0x7b/0x90 [ 18.160083][ T376] do_syscall_64+0x34/0x70 [ 18.164514][ T376] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 18.170413][ T376] RIP: 0033:0x7fb75af4fa69 [ 18.174832][ T376] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 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 [ 18.194456][ T376] RSP: 002b:00007fb75aee0308 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 18.202926][ T376] RAX: ffffffffffffffda RBX: 00007fb75afd7438 RCX: 00007fb75af4fa69 [ 18.210918][ T376] RDX: 0000000020000200 RSI: 00000000400454ca RDI: 0000000000000003 [ 18.218914][ T376] RBP: 00007fb75afd7430 R08: 00007fb75aee0700 R09: 0000000000000000 [ 18.226861][ T376] R10: 00007fb75aee0700 R11: 0000000000000246 R12: 00007fb75afd743c [ 18.234856][ T376] R13: 00007fb75afa5064 R14: 74656e2f7665642f R15: 0000000000022000 [ 18.242930][ T376] ---[ end trace 1fff8f2c78916f2a ]--- [ 18.248503][ T376] ------------[ cut here ]------------ [ 18.253958][ T376] kernel BUG at include/linux/netdevice.h:518! [ 18.260130][ T376] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 18.266363][ T376] CPU: 0 PID: 376 Comm: syz-executor385 Tainted: G W 5.10.117-syzkaller-00814-gfdd06dc6b0f8 #0 [ 18.277954][ T376] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 18.288001][ T376] RIP: 0010:tun_attach+0x14b3/0x14c0 [ 18.293275][ T376] Code: 89 df e8 e0 ba b7 fe e9 cf fa ff ff e8 f6 e4 7d fe 48 c7 c7 a0 12 68 86 48 89 de e8 67 7c 7b ff e9 e0 fb ff ff e8 dd e4 7d fe <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 41 [ 18.312872][ T376] RSP: 0018:ffffc90000a0fb50 EFLAGS: 00010293 [ 18.318930][ T376] RAX: ffffffff82eecd73 RBX: 0000000000000000 RCX: ffff8881002d62c0 [ 18.326992][ T376] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 18.335084][ T376] RBP: ffffc90000a0fc70 R08: ffffffff82eec175 R09: ffffed102308fe86 [ 18.343039][ T376] R10: ffffed102308fe86 R11: 1ffff1102308fe85 R12: ffff88811847f428 [ 18.351027][ T376] R13: ffff888105398980 R14: ffff888105398000 R15: dffffc0000000000 [ 18.359106][ T376] FS: 00007fb75aee0700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 [ 18.368084][ T376] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 18.374853][ T376] CR2: 00007fe91abb2160 CR3: 00000001055ba000 CR4: 00000000003506b0 [ 18.382893][ T376] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 18.390839][ T376] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 18.398783][ T376] Call Trace: [ 18.402059][ T376] tun_set_iff+0xadf/0x1100 [ 18.406544][ T376] __tun_chr_ioctl+0x8ab/0x2130 [ 18.411377][ T376] ? tun_flow_create+0x320/0x320 [ 18.416300][ T376] ? __fget_files+0x310/0x370 [ 18.420951][ T376] tun_chr_ioctl+0x2a/0x40 [ 18.425343][ T376] ? tun_chr_poll+0x650/0x650 [ 18.430009][ T376] __se_sys_ioctl+0x115/0x190 [ 18.434662][ T376] __x64_sys_ioctl+0x7b/0x90 [ 18.439223][ T376] do_syscall_64+0x34/0x70 [ 18.443611][ T376] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 18.449473][ T376] RIP: 0033:0x7fb75af4fa69 [ 18.453861][ T376] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 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 [ 18.473454][ T376] RSP: 002b:00007fb75aee0308 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 18.481942][ T376] RAX: ffffffffffffffda RBX: 00007fb75afd7438 RCX: 00007fb75af4fa69 [ 18.489898][ T376] RDX: 0000000020000200 RSI: 00000000400454ca RDI: 0000000000000003 [ 18.497846][ T376] RBP: 00007fb75afd7430 R08: 00007fb75aee0700 R09: 0000000000000000 [ 18.505804][ T376] R10: 00007fb75aee0700 R11: 0000000000000246 R12: 00007fb75afd743c [ 18.513751][ T376] R13: 00007fb75afa5064 R14: 74656e2f7665642f R15: 0000000000022000 [ 18.521698][ T376] Modules linked in: [ 18.525655][ T376] ---[ end trace 1fff8f2c78916f2b ]--- [ 18.531121][ T376] RIP: 0010:tun_attach+0x14b3/0x14c0 [ 18.536383][ T376] Code: 89 df e8 e0 ba b7 fe e9 cf fa ff ff e8 f6 e4 7d fe 48 c7 c7 a0 12 68 86 48 89 de e8 67 7c 7b ff e9 e0 fb ff ff e8 dd e4 7d fe <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 41 [ 18.556053][ T376] RSP: 0018:ffffc90000a0fb50 EFLAGS: 00010293 [ 18.562160][ T376] RAX: ffffffff82eecd73 RBX: 0000000000000000 RCX: ffff8881002d62c0 [ 18.570237][ T376] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 18.578236][ T376] RBP: ffffc90000a0fc70 R08: ffffffff82eec175 R09: ffffed102308fe86 [ 18.586201][ T376] R10: ffffed102308fe86 R11: 1ffff1102308fe85 R12: ffff88811847f428 [ 18.594202][ T376] R13: ffff888105398980 R14: ffff888105398000 R15: dffffc0000000000 [ 18.602295][ T376] FS: 00007fb75aee0700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 [ 18.611944][ T376] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 18.618552][ T376] CR2: 00007fe91abb2160 CR3: 00000001055ba000 CR4: 00000000003506b0 [ 18.626523][ T376] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 18.634594][ T376] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 18.642584][ T376] Kernel panic - not syncing: Fatal exception [ 18.648713][ T376] Kernel Offset: disabled [ 18.653040][ T376] Rebooting in 86400 seconds..