./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor513685743 <...> syzkaller syzkaller login: [ 12.525686][ T23] kauditd_printk_skb: 60 callbacks suppressed [ 12.525694][ T23] audit: type=1400 audit(1656876884.019:71): avc: denied { transition } for pid=290 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 [ 12.532011][ T23] audit: type=1400 audit(1656876884.029:72): avc: denied { write } for pid=290 comm="sh" path="pipe:[10798]" dev="pipefs" ino=10798 scontext=root:sysadm_r:sysadm_t tcontext=system_u:system_r:initrc_t tclass=fifo_file permissive=1 [ 12.691951][ T0] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #80!!! [ 13.141343][ T0] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #88!!! [ 13.145551][ T0] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #08!!! Warning: Permanently added '10.128.0.100' (ECDSA) to the list of known hosts. [ 20.081329][ T0] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #80!!! execve("./syz-executor513685743", ["./syz-executor513685743"], 0x7ffee7d2f8e0 /* 10 vars */) = 0 brk(NULL) = 0x555555e47000 brk(0x555555e47c40) = 0x555555e47c40 arch_prctl(ARCH_SET_FS, 0x555555e47300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 set_tid_address(0x555555e475d0) = 371 set_robust_list(0x555555e475e0, 24) = 0 rt_sigaction(SIGRTMIN, {sa_handler=0x7f50441cd380, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f50441cda50}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=0x7f50441cd420, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f50441cda50}, 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-executor513685743", 4096) = 27 brk(0x555555e68c40) = 0x555555e68c40 brk(0x555555e69000) = 0x555555e69000 mprotect(0x7f504428d000, 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=0x555555e475d0) = 372 ./strace-static-x86_64: Process 372 attached [pid 372] set_robust_list(0x555555e475e0, 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(0x7f504429342c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 372] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f504419d000 [pid 372] mprotect(0x7f504419e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 372] clone(child_stack=0x7f50441bd3f0, 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=0x7f50441bd700, child_tidptr=0x7f50441bd9d0) = 373 [pid 372] futex(0x7f5044293428, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 372] futex(0x7f504429342c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 373 attached [pid 373] set_robust_list(0x7f50441bd9e0, 24) = 0 [pid 373] openat(AT_FDCWD, "/dev/net/tun", O_RDONLY) = 3 [pid 373] futex(0x7f504429342c, FUTEX_WAKE_PRIVATE, 1000000 [pid 372] <... futex resumed>) = 0 [pid 372] futex(0x7f5044293428, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 372] futex(0x7f504429342c, 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(0x7f504429342c, FUTEX_WAKE_PRIVATE, 1000000 [pid 372] <... futex resumed>) = 0 [pid 372] futex(0x7f5044293428, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 372] futex(0x7f504429342c, 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(0x7f504429342c, FUTEX_WAKE_PRIVATE, 1000000 [pid 372] <... futex resumed>) = 0 [pid 372] futex(0x7f5044293428, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 372] futex(0x7f504429342c, 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(0x7f504429342c, FUTEX_WAKE_PRIVATE, 1000000 [pid 372] <... futex resumed>) = 0 [pid 372] futex(0x7f5044293428, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 372] futex(0x7f504429342c, 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(0x7f504429342c, FUTEX_WAKE_PRIVATE, 1000000 [pid 372] <... futex resumed>) = 0 [pid 372] futex(0x7f5044293428, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 372] futex(0x7f504429342c, 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(0x7f504429342c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 372] <... futex resumed>) = 0 [pid 372] futex(0x7f5044293428, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 372] futex(0x7f504429342c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [ 20.148886][ T23] audit: type=1400 audit(1656876891.639:73): avc: denied { execmem } for pid=371 comm="syz-executor513" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 20.168330][ T23] audit: type=1400 audit(1656876891.649:74): avc: denied { create } for pid=372 comm="syz-executor513" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=packet_socket permissive=1 [ 20.170005][ T373] netlink: 20 bytes leftover after parsing attributes in process `syz-executor513'. [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(0x7f504429343c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 372] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f504417c000 [pid 372] mprotect(0x7f504417d000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 372] clone(child_stack=0x7f504419c3f0, 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=0x7f504419c700, child_tidptr=0x7f504419c9d0) = 376 [pid 372] futex(0x7f5044293438, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 372] futex(0x7f504429343c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 376 attached [pid 376] set_robust_list(0x7f504419c9e0, 24) = 0 [ 20.189076][ T23] audit: type=1400 audit(1656876891.649:75): avc: denied { ioctl } for pid=372 comm="syz-executor513" path="socket:[10949]" dev="sockfs" ino=10949 ioctlcmd=0x8933 scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=packet_socket permissive=1 [ 20.223037][ T23] audit: type=1400 audit(1656876891.659: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) [ 20.246264][ T376] ------------[ cut here ]------------ [ 20.251796][ T376] WARNING: CPU: 0 PID: 376 at net/core/dev.c:6742 netif_napi_add+0x8f2/0xa20 [ 20.260525][ T376] Modules linked in: [ 20.264496][ T376] CPU: 0 PID: 376 Comm: syz-executor513 Not tainted 5.10.118-syzkaller-00163-gfa7f6a5f56d9 #0 [ 20.274801][ T376] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 [ 20.284939][ T376] RIP: 0010:netif_napi_add+0x8f2/0xa20 [ 20.290384][ T376] Code: c2 e0 28 79 85 48 c7 c1 30 23 c2 85 45 89 e8 31 c0 e8 56 9d cc 00 e9 12 fc ff ff e8 08 93 a8 fd e9 d5 fe ff ff e8 fe 92 a8 fd <0f> 0b eb a0 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 2e f8 ff ff e8 b5 [ 20.310397][ T376] RSP: 0018:ffffc900009bfaf0 EFLAGS: 00010293 [ 20.316552][ T376] RAX: ffffffff83c41ff2 RBX: ffff8881061c4000 RCX: ffff8881065abb40 [ 20.324575][ T376] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 [ 20.332686][ T376] RBP: ffffc900009bfb40 R08: ffffffff83c4174c R09: ffffed1020c38886 [ 20.340646][ T376] R10: ffffed1020c38886 R11: 1ffff11020c38885 R12: ffff8881061c4428 [pid 372] exit_group(0) = ? [ 20.348663][ T376] R13: 0000000000000040 R14: ffff8881061c4418 R15: ffffffff82ef15a0 [ 20.356661][ T376] FS: 00007f504419c700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 [ 20.365590][ T376] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 20.372179][ T376] CR2: 000055a009539000 CR3: 000000011e12e000 CR4: 00000000003506b0 [ 20.380217][ T376] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 20.388192][ T376] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 20.396190][ T376] Call Trace: [ 20.399467][ T376] ? xdp_rxq_info_reg+0x194/0x2f0 [ 20.404500][ T376] tun_attach+0x877/0x14c0 [ 20.408921][ T376] tun_set_iff+0xadf/0x1100 [ 20.413440][ T376] __tun_chr_ioctl+0x8ab/0x2130 [ 20.418280][ T376] ? tun_flow_create+0x320/0x320 [ 20.423215][ T376] ? __fget_files+0x310/0x370 [ 20.427879][ T376] tun_chr_ioctl+0x2a/0x40 [ 20.432293][ T376] ? tun_chr_poll+0x650/0x650 [ 20.436961][ T376] __se_sys_ioctl+0x115/0x190 [ 20.441635][ T376] __x64_sys_ioctl+0x7b/0x90 [ 20.446233][ T376] do_syscall_64+0x34/0x70 [ 20.450624][ T376] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 20.456516][ T376] RIP: 0033:0x7f504420ba69 [ 20.460920][ 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 [ 20.480524][ T376] RSP: 002b:00007f504419c308 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 20.488948][ T376] RAX: ffffffffffffffda RBX: 00007f5044293438 RCX: 00007f504420ba69 [ 20.496940][ T376] RDX: 0000000020000200 RSI: 00000000400454ca RDI: 0000000000000003 [ 20.504912][ T376] RBP: 00007f5044293430 R08: 00007f504419c700 R09: 0000000000000000 [ 20.512888][ T376] R10: 00007f504419c700 R11: 0000000000000246 R12: 00007f504429343c [ 20.520855][ T376] R13: 00007f5044261064 R14: 74656e2f7665642f R15: 0000000000022000 [ 20.528835][ T376] ---[ end trace 3799463c09028ac8 ]--- [ 20.534380][ T376] ------------[ cut here ]------------ [ 20.539822][ T376] kernel BUG at include/linux/netdevice.h:518! [ 20.545990][ T376] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 20.552045][ T376] CPU: 0 PID: 376 Comm: syz-executor513 Tainted: G W 5.10.118-syzkaller-00163-gfa7f6a5f56d9 #0 [ 20.563646][ T376] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 [ 20.573685][ T376] RIP: 0010:tun_attach+0x14b3/0x14c0 [ 20.578940][ T376] Code: 89 df e8 70 b5 b7 fe e9 cf fa ff ff e8 96 b9 7d fe 48 c7 c7 20 13 68 86 48 89 de e8 47 7a 7b ff e9 e0 fb ff ff e8 7d b9 7d fe <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 41 [ 20.598520][ T376] RSP: 0018:ffffc900009bfb50 EFLAGS: 00010293 [ 20.604561][ T376] RAX: ffffffff82eef973 RBX: 0000000000000000 RCX: ffff8881065abb40 [ 20.612506][ T376] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 20.620453][ T376] RBP: ffffc900009bfc70 R08: ffffffff82eeed75 R09: ffffed1020c38886 [ 20.628427][ T376] R10: ffffed1020c38886 R11: 1ffff11020c38885 R12: ffff8881061c4428 [ 20.636372][ T376] R13: ffff8881059fc980 R14: ffff8881059fc000 R15: dffffc0000000000 [ 20.644319][ T376] FS: 00007f504419c700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 [ 20.653218][ T376] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 20.659776][ T376] CR2: 000055a009539000 CR3: 000000011e12e000 CR4: 00000000003506b0 [ 20.667721][ T376] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 20.675667][ T376] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 20.683611][ T376] Call Trace: [ 20.686878][ T376] tun_set_iff+0xadf/0x1100 [ 20.691354][ T376] __tun_chr_ioctl+0x8ab/0x2130 [ 20.696184][ T376] ? tun_flow_create+0x320/0x320 [ 20.701105][ T376] ? __fget_files+0x310/0x370 [ 20.705753][ T376] tun_chr_ioctl+0x2a/0x40 [ 20.710504][ T376] ? tun_chr_poll+0x650/0x650 [ 20.715157][ T376] __se_sys_ioctl+0x115/0x190 [ 20.719821][ T376] __x64_sys_ioctl+0x7b/0x90 [ 20.724404][ T376] do_syscall_64+0x34/0x70 [ 20.728802][ T376] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 20.734671][ T376] RIP: 0033:0x7f504420ba69 [ 20.739071][ 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 [ 20.758647][ T376] RSP: 002b:00007f504419c308 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 20.767030][ T376] RAX: ffffffffffffffda RBX: 00007f5044293438 RCX: 00007f504420ba69 [ 20.774974][ T376] RDX: 0000000020000200 RSI: 00000000400454ca RDI: 0000000000000003 [ 20.782918][ T376] RBP: 00007f5044293430 R08: 00007f504419c700 R09: 0000000000000000 [ 20.790872][ T376] R10: 00007f504419c700 R11: 0000000000000246 R12: 00007f504429343c [ 20.798830][ T376] R13: 00007f5044261064 R14: 74656e2f7665642f R15: 0000000000022000 [ 20.806783][ T376] Modules linked in: [ 20.810708][ T376] ---[ end trace 3799463c09028ac9 ]--- [ 20.816214][ T376] RIP: 0010:tun_attach+0x14b3/0x14c0 [ 20.821504][ T376] Code: 89 df e8 70 b5 b7 fe e9 cf fa ff ff e8 96 b9 7d fe 48 c7 c7 20 13 68 86 48 89 de e8 47 7a 7b ff e9 e0 fb ff ff e8 7d b9 7d fe <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 41 [ 20.841131][ T376] RSP: 0018:ffffc900009bfb50 EFLAGS: 00010293 [ 20.847207][ T376] RAX: ffffffff82eef973 RBX: 0000000000000000 RCX: ffff8881065abb40 [ 20.855181][ T376] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 20.863164][ T376] RBP: ffffc900009bfc70 R08: ffffffff82eeed75 R09: ffffed1020c38886 [ 20.871112][ T376] R10: ffffed1020c38886 R11: 1ffff11020c38885 R12: ffff8881061c4428 [ 20.879109][ T376] R13: ffff8881059fc980 R14: ffff8881059fc000 R15: dffffc0000000000 [ 20.887080][ T376] FS: 00007f504419c700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 [ 20.896018][ T376] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 20.902620][ T376] CR2: 000055a009539000 CR3: 000000011e12e000 CR4: 00000000003506b0 [ 20.910572][ T376] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 20.918548][ T376] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 20.926557][ T376] Kernel panic - not syncing: Fatal exception [ 20.932766][ T376] Kernel Offset: disabled [ 20.937088][ T376] Rebooting in 86400 seconds..