./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3491766450 <...> Warning: Permanently added '10.128.10.30' (ED25519) to the list of known hosts. execve("./syz-executor3491766450", ["./syz-executor3491766450"], 0x7ffc0db62a70 /* 10 vars */) = 0 brk(NULL) = 0x55558bfb7000 brk(0x55558bfb7d00) = 0x55558bfb7d00 arch_prctl(ARCH_SET_FS, 0x55558bfb7380) = 0 set_tid_address(0x55558bfb7650) = 5099 set_robust_list(0x55558bfb7660, 24) = 0 rseq(0x55558bfb7ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3491766450", 4096) = 28 getrandom("\xdb\xe7\x96\x5f\xc6\x35\x67\x79", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55558bfb7d00 brk(0x55558bfd8d00) = 0x55558bfd8d00 brk(0x55558bfd9000) = 0x55558bfd9000 mprotect(0x7f6b89d7d000, 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, child_tidptr=0x55558bfb7650) = 5100 ./strace-static-x86_64: Process 5100 attached [pid 5100] set_robust_list(0x55558bfb7660, 24) = 0 [pid 5100] mount(NULL, "/sys/fs/fuse/connections", "fusectl", 0, NULL) = -1 EBUSY (Device or resource busy) [pid 5100] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5100] setsid() = 1 [pid 5100] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5100] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5100] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5100] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5100] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5100] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5100] unshare(CLONE_NEWNS) = 0 [pid 5100] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5100] unshare(CLONE_NEWIPC) = 0 [pid 5100] unshare(CLONE_NEWCGROUP) = 0 [pid 5100] unshare(CLONE_NEWUTS) = 0 [pid 5100] unshare(CLONE_SYSVSEM) = 0 [pid 5100] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5100] write(3, "16777216", 8) = 8 [pid 5100] close(3) = 0 [pid 5100] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5100] write(3, "536870912", 9) = 9 [pid 5100] close(3) = 0 [pid 5100] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5100] write(3, "1024", 4) = 4 [pid 5100] close(3) = 0 [pid 5100] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5100] write(3, "8192", 4) = 4 [pid 5100] close(3) = 0 [pid 5100] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5100] write(3, "1024", 4) = 4 [pid 5100] close(3) = 0 [pid 5100] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5100] write(3, "1024", 4) = 4 [pid 5100] close(3) = 0 [pid 5100] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5100] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5100] close(3) = 0 [pid 5100] getpid() = 1 [pid 5100] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1<) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5104 attached , child_tidptr=0x55558bfb7650) = 3 [pid 5104] set_robust_list(0x55558bfb7660, 24) = 0 [pid 5104] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5104] setpgid(0, 0) = 0 [pid 5104] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5104] write(3, "1000", 4) = 4 [pid 5104] close(3) = 0 [pid 5104] read(200, "\x33\x33\x00\x00\x00\x16\xaa\xaa\xaa\xaa\xaa\xaa\x86\xdd\x60\x00\x00\x00\x00\x38\x00\x01\xfe\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaa\xff\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x16\x3a\x00\x05\x02\x00\x00\x01\x00\x8f\x00\xc2\x46\x00\x00\x00\x02\x04\x00\x00\x00\xff\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\xff\xaa\xaa\xaa\x04\x00\x00\x00\xff\x02\x00\x00\x00\x00"..., 1000) = 110 [pid 5104] read(200, 0x7fff803687d0, 1000) = -1 EAGAIN (Resource temporarily unavailable) [pid 5104] write(1, "executing program\n", 18executing program ) = 18 [pid 5104] bpf(BPF_PROG_LOAD, {prog_type=BPF_PROG_TYPE_XDP, insn_cnt=3, insns=0x20000140, license="syzkaller", log_level=0, log_size=0, log_buf=NULL, kern_version=KERNEL_VERSION(0, 0, 0), prog_flags=BPF_F_STRICT_ALIGNMENT|BPF_F_TEST_RND_HI32|BPF_F_TEST_STATE_FREQ|0x20, prog_name="", prog_ifindex=0, expected_attach_type=BPF_XDP, prog_btf_fd=-1, func_info_rec_size=8, func_info=NULL, func_info_cnt=0, line_info_rec_size=16, line_info=NULL, line_info_cnt=0, attach_btf_id=0, attach_prog_fd=0, fd_array=NULL, ...}, 144) = 3 [pid 5104] socket(AF_PACKET, SOCK_DGRAM, htons(ETH_P_ALL)) = 4 [pid 5104] ioctl(4, SIOCGIFINDEX, {ifr_name="syz_tun", ifr_ifindex=11}) = 0 [pid 5104] bpf(BPF_LINK_CREATE, {link_create={prog_fd=3, target_fd=11, attach_type=BPF_XDP, flags=0}}, 64) = 5 [pid 5104] write(200, "\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\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\x00\x00\x06\x00\x00\x00\x03\x00\x00\x00\x40\x01\x00\x20\x00\x00\x00\x00\x00\x00\x00\x20\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 65007) = 65007 [pid 5104] close(3) = 0 [pid 5104] close(4) = 0 [pid 5104] close(5) = 0 [pid 5104] close(6) = -1 EBADF (Bad file descriptor) [pid 5104] close(7) = -1 EBADF (Bad file descriptor) [pid 5104] close(8) = -1 EBADF (Bad file descriptor) [pid 5104] close(9) = -1 EBADF (Bad file descriptor) [pid 5104] close(10) = -1 EBADF (Bad file descriptor) [pid 5104] close(11) = -1 EBADF (Bad file descriptor) [pid 5104] close(12) = -1 EBADF (Bad file descriptor) [pid 5104] close(13) = -1 EBADF (Bad file descriptor) [pid 5104] close(14) = -1 EBADF (Bad file descriptor) [pid 5104] close(15) = -1 EBADF (Bad file descriptor) [pid 5104] close(16) = -1 EBADF (Bad file descriptor) [pid 5104] close(17) = -1 EBADF (Bad file descriptor) [pid 5104] close(18) = -1 EBADF (Bad file descriptor) [pid 5104] close(19) = -1 EBADF (Bad file descriptor) [pid 5104] close(20) = -1 EBADF (Bad file descriptor) [pid 5104] close(21) = -1 EBADF (Bad file descriptor) [pid 5104] close(22) = -1 EBADF (Bad file descriptor) [pid 5104] close(23) = -1 EBADF (Bad file descriptor) [pid 5104] close(24) = -1 EBADF (Bad file descriptor) [pid 5104] close(25) = -1 EBADF (Bad file descriptor) [pid 5104] close(26) = -1 EBADF (Bad file descriptor) [pid 5104] close(27) = -1 EBADF (Bad file descriptor) [pid 5104] close(28) = -1 EBADF (Bad file descriptor) [pid 5104] close(29) = -1 EBADF (Bad file descriptor) [pid 5104] exit_group(0) = ? [pid 5104] +++ exited with 0 +++ [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5100] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5105 attached , child_tidptr=0x55558bfb7650) = 4 [pid 5105] set_robust_list(0x55558bfb7660, 24) = 0 [pid 5105] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5105] setpgid(0, 0) = 0 [pid 5105] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5105] write(3, "1000", 4) = 4 [pid 5105] close(3) = 0 [pid 5105] read(200, 0x7fff803687d0, 1000) = -1 EAGAIN (Resource temporarily unavailable) [pid 5105] write(1, "executing program\n", 18executing program ) = 18 [pid 5105] bpf(BPF_PROG_LOAD, {prog_type=BPF_PROG_TYPE_XDP, insn_cnt=3, insns=0x20000140, license="syzkaller", log_level=0, log_size=0, log_buf=NULL, kern_version=KERNEL_VERSION(0, 0, 0), prog_flags=BPF_F_STRICT_ALIGNMENT|BPF_F_TEST_RND_HI32|BPF_F_TEST_STATE_FREQ|0x20, prog_name="", prog_ifindex=0, expected_attach_type=BPF_XDP, prog_btf_fd=-1, func_info_rec_size=8, func_info=NULL, func_info_cnt=0, line_info_rec_size=16, line_info=NULL, line_info_cnt=0, attach_btf_id=0, attach_prog_fd=0, fd_array=NULL, ...}, 144) = 3 [pid 5105] socket(AF_PACKET, SOCK_DGRAM, htons(ETH_P_ALL)) = 4 [pid 5105] ioctl(4, SIOCGIFINDEX, {ifr_name="syz_tun", ifr_ifindex=11}) = 0 [pid 5105] bpf(BPF_LINK_CREATE, {link_create={prog_fd=3, target_fd=11, attach_type=BPF_XDP, flags=0}}, 64) = 5 [pid 5105] write(200, "\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\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\x00\x00\x06\x00\x00\x00\x03\x00\x00\x00\x40\x01\x00\x20\x00\x00\x00\x00\x00\x00\x00\x20\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 65007) = 65007 [pid 5105] close(3) = 0 [pid 5105] close(4) = 0 [pid 5105] close(5) = 0 [pid 5105] close(6) = -1 EBADF (Bad file descriptor) [pid 5105] close(7) = -1 EBADF (Bad file descriptor) [pid 5105] close(8) = -1 EBADF (Bad file descriptor) [pid 5105] close(9) = -1 EBADF (Bad file descriptor) [pid 5105] close(10) = -1 EBADF (Bad file descriptor) [pid 5105] close(11) = -1 EBADF (Bad file descriptor) [pid 5105] close(12) = -1 EBADF (Bad file descriptor) [pid 5105] close(13) = -1 EBADF (Bad file descriptor) [pid 5105] close(14) = -1 EBADF (Bad file descriptor) [pid 5105] close(15) = -1 EBADF (Bad file descriptor) [pid 5105] close(16) = -1 EBADF (Bad file descriptor) [pid 5105] close(17) = -1 EBADF (Bad file descriptor) [pid 5105] close(18) = -1 EBADF (Bad file descriptor) [pid 5105] close(19) = -1 EBADF (Bad file descriptor) [pid 5105] close(20) = -1 EBADF (Bad file descriptor) [pid 5105] close(21) = -1 EBADF (Bad file descriptor) [pid 5105] close(22) = -1 EBADF (Bad file descriptor) [pid 5105] close(23) = -1 EBADF (Bad file descriptor) [pid 5105] close(24) = -1 EBADF (Bad file descriptor) [pid 5105] close(25) = -1 EBADF (Bad file descriptor) [pid 5105] close(26) = -1 EBADF (Bad file descriptor) [pid 5105] close(27) = -1 EBADF (Bad file descriptor) [pid 5105] close(28) = -1 EBADF (Bad file descriptor) [pid 5105] close(29) = -1 EBADF (Bad file descriptor) [pid 5105] exit_group(0) = ? [pid 5105] +++ exited with 0 +++ [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 5100] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5106 attached , child_tidptr=0x55558bfb7650) = 5 [pid 5106] set_robust_list(0x55558bfb7660, 24) = 0 [pid 5106] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5106] setpgid(0, 0) = 0 [pid 5106] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5106] write(3, "1000", 4) = 4 [pid 5106] close(3) = 0 [pid 5106] read(200, 0x7fff803687d0, 1000) = -1 EAGAIN (Resource temporarily unavailable) [pid 5106] write(1, "executing program\n", 18executing program ) = 18 [pid 5106] bpf(BPF_PROG_LOAD, {prog_type=BPF_PROG_TYPE_XDP, insn_cnt=3, insns=0x20000140, license="syzkaller", log_level=0, log_size=0, log_buf=NULL, kern_version=KERNEL_VERSION(0, 0, 0), prog_flags=BPF_F_STRICT_ALIGNMENT|BPF_F_TEST_RND_HI32|BPF_F_TEST_STATE_FREQ|0x20, prog_name="", prog_ifindex=0, expected_attach_type=BPF_XDP, prog_btf_fd=-1, func_info_rec_size=8, func_info=NULL, func_info_cnt=0, line_info_rec_size=16, line_info=NULL, line_info_cnt=0, attach_btf_id=0, attach_prog_fd=0, fd_array=NULL, ...}, 144) = 3 [pid 5106] socket(AF_PACKET, SOCK_DGRAM, htons(ETH_P_ALL)) = 4 [pid 5106] ioctl(4, SIOCGIFINDEX, {ifr_name="syz_tun", ifr_ifindex=11}) = 0 [pid 5106] bpf(BPF_LINK_CREATE, {link_create={prog_fd=3, target_fd=11, attach_type=BPF_XDP, flags=0}}, 64) = 5 [ 75.201702][ C1] ================================================================== [ 75.209816][ C1] BUG: KASAN: stack-out-of-bounds in xdp_do_check_flushed+0x231/0x240 [ 75.218000][ C1] Read of size 4 at addr ffffc900034af7f8 by task syz-executor349/5106 [ 75.226349][ C1] [ 75.228703][ C1] CPU: 1 UID: 0 PID: 5106 Comm: syz-executor349 Not tainted 6.10.0-rc7-next-20240712-syzkaller #0 [ 75.239303][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 [ 75.249372][ C1] Call Trace: [ 75.252658][ C1] [ 75.255505][ C1] dump_stack_lvl+0x241/0x360 [ 75.260230][ C1] ? __pfx_dump_stack_lvl+0x10/0x10 [ 75.265479][ C1] ? __pfx__printk+0x10/0x10 [ 75.270104][ C1] ? _printk+0xd5/0x120 [ 75.274305][ C1] print_report+0x169/0x550 [ 75.278828][ C1] ? __virt_addr_valid+0xbd/0x530 [ 75.283904][ C1] ? xdp_do_check_flushed+0x231/0x240 [ 75.289304][ C1] kasan_report+0x143/0x180 [ 75.293839][ C1] ? xdp_do_check_flushed+0x231/0x240 [ 75.299227][ C1] xdp_do_check_flushed+0x231/0x240 [ 75.304461][ C1] __napi_poll+0xe4/0x490 [ 75.308803][ C1] net_rx_action+0x89b/0x1240 [ 75.313537][ C1] ? __pfx_net_rx_action+0x10/0x10 [ 75.318692][ C1] ? sched_clock+0x4a/0x70 [ 75.323144][ C1] ? __pfx___local_bh_disable_ip+0x10/0x10 [ 75.328971][ C1] ? sched_clock_cpu+0x76/0x490 [ 75.333830][ C1] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 75.340169][ C1] ? rcu_is_watching+0x15/0xb0 [ 75.344942][ C1] handle_softirqs+0x2c4/0x970 [ 75.349721][ C1] ? do_softirq+0x11b/0x1e0 [ 75.354237][ C1] ? __pfx_handle_softirqs+0x10/0x10 [ 75.359534][ C1] do_softirq+0x11b/0x1e0 [ 75.363875][ C1] [ 75.366806][ C1] [ 75.369736][ C1] ? __pfx_do_softirq+0x10/0x10 [ 75.374590][ C1] ? lock_release+0xbf/0xa30 [ 75.379194][ C1] ? __pfx_lockdep_softirqs_on+0x10/0x10 [ 75.384839][ C1] ? rcu_is_watching+0x15/0xb0 [ 75.389610][ C1] __local_bh_enable_ip+0x1bb/0x200 [ 75.394817][ C1] ? tun_get_user+0x270a/0x4720 [ 75.399684][ C1] ? __pfx___local_bh_enable_ip+0x10/0x10 [ 75.405412][ C1] ? tun_get_user+0x270a/0x4720 [ 75.410268][ C1] tun_get_user+0x2884/0x4720 [ 75.414979][ C1] ? rcu_is_watching+0x15/0xb0 [ 75.419744][ C1] ? lock_release+0xbf/0xa30 [ 75.424342][ C1] ? aa_file_perm+0x137/0xf60 [ 75.429044][ C1] ? __pfx_tun_get_user+0x10/0x10 [ 75.434074][ C1] ? do_raw_spin_unlock+0x13c/0x8b0 [ 75.439295][ C1] ? tun_get+0x1e/0x2f0 [ 75.443457][ C1] ? rcu_is_watching+0x15/0xb0 [ 75.448220][ C1] ? tun_get+0x1e/0x2f0 [ 75.452378][ C1] ? lock_release+0xbf/0xa30 [ 75.456980][ C1] ? __pfx_ref_tracker_alloc+0x10/0x10 [ 75.462449][ C1] ? __pfx_lock_release+0x10/0x10 [ 75.467578][ C1] ? end_current_label_crit_section+0x14e/0x180 [ 75.473830][ C1] ? common_file_perm+0x1a6/0x210 [ 75.478862][ C1] ? tun_get+0x1e/0x2f0 [ 75.483023][ C1] ? tun_get+0x27d/0x2f0 [ 75.487273][ C1] tun_chr_write_iter+0x113/0x1f0 [ 75.492309][ C1] vfs_write+0xa72/0xc90 [ 75.496569][ C1] ? __pfx_tun_chr_write_iter+0x10/0x10 [ 75.502142][ C1] ? __pfx_vfs_write+0x10/0x10 [ 75.506956][ C1] ksys_write+0x1a0/0x2c0 [ 75.511326][ C1] ? __pfx_ksys_write+0x10/0x10 [ 75.516216][ C1] ? rcu_is_watching+0x15/0xb0 [ 75.521036][ C1] do_syscall_64+0xf3/0x230 [ 75.525562][ C1] ? clear_bhb_loop+0x35/0x90 [ 75.530273][ C1] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 75.536190][ C1] RIP: 0033:0x7f6b89d03d90 [ 75.540648][ C1] Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d 11 e3 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 [ 75.560457][ C1] RSP: 002b:00007fff80368bc8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 75.568883][ C1] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f6b89d03d90 [ 75.576862][ C1] RDX: 000000000000fdef RSI: 0000000020000200 RDI: 00000000000000c8 [ 75.584922][ C1] RBP: 0000000000000000 R08: 00007fff80368cf8 R09: 00007fff80368cf8 [ 75.592899][ C1] R10: 00007fff80368cf8 R11: 0000000000000202 R12: 0000000000000000 [ 75.600964][ C1] R13: 0000000000000000 R14: 00007fff80368c00 R15: 00007fff80368bf0 [ 75.608950][ C1] [ 75.611970][ C1] [ 75.614318][ C1] The buggy address belongs to stack of task syz-executor349/5106 [ 75.622116][ C1] and is located at offset 88 in frame: [ 75.627743][ C1] do_softirq+0x0/0x1e0 [ 75.631909][ C1] [ 75.634237][ C1] This frame has 2 objects: [ 75.638736][ C1] [32, 40) 'flags.i.i.i105' [ 75.638749][ C1] [64, 72) 'flags.i.i.i' [ 75.643332][ C1] [ 75.649969][ C1] The buggy address belongs to the virtual mapping at [ 75.649969][ C1] [ffffc900034a8000, ffffc900034b1000) created by: [ 75.649969][ C1] copy_process+0x5d1/0x3d90 [ 75.667691][ C1] [ 75.670016][ C1] The buggy address belongs to the physical page: [ 75.676433][ C1] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x794f9 [ 75.685206][ C1] flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) [ 75.692431][ C1] raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000 [ 75.701020][ C1] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 75.709601][ C1] page dumped because: kasan: bad access detected [ 75.716017][ C1] page_owner tracks the page as allocated [ 75.721729][ C1] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2dc2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_NOWARN|__GFP_ZERO), pid 5100, tgid 5100 (syz-executor349), ts 74722128593, free_ts 65432682491 [ 75.741187][ C1] post_alloc_hook+0x1f3/0x230 [ 75.746052][ C1] get_page_from_freelist+0x2ccb/0x2d80 [ 75.752189][ C1] __alloc_pages_noprof+0x256/0x6c0 [ 75.757406][ C1] alloc_pages_mpol_noprof+0x3e8/0x680 [ 75.762881][ C1] __vmalloc_node_range_noprof+0x971/0x1460 [ 75.768782][ C1] dup_task_struct+0x444/0x8c0 [ 75.773554][ C1] copy_process+0x5d1/0x3d90 [ 75.778150][ C1] kernel_clone+0x226/0x8f0 [ 75.782683][ C1] __x64_sys_clone+0x258/0x2a0 [ 75.787456][ C1] do_syscall_64+0xf3/0x230 [ 75.791964][ C1] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 75.797860][ C1] page last free pid 5090 tgid 5090 stack trace: [ 75.804184][ C1] free_unref_page+0xd22/0xea0 [ 75.808959][ C1] __folio_put+0x2c8/0x440 [ 75.813375][ C1] pipe_read+0x6f2/0x13e0 [ 75.817708][ C1] vfs_read+0x9bd/0xbc0 [ 75.821872][ C1] ksys_read+0x1a0/0x2c0 [ 75.826129][ C1] do_syscall_64+0xf3/0x230 [ 75.830643][ C1] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 75.836556][ C1] [ 75.838877][ C1] Memory state around the buggy address: [ 75.844501][ C1] ffffc900034af680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 75.852567][ C1] ffffc900034af700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 75.860630][ C1] >ffffc900034af780: 00 00 00 00 f1 f1 f1 f1 00 f2 f2 f2 00 f3 f3 f3 [ 75.868701][ C1] ^ [ 75.876673][ C1] ffffc900034af800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 75.884739][ C1] ffffc900034af880: f1 f1 f1 f1 00 f3 f3 f3 00 00 00 00 00 00 00 00 [ 75.892795][ C1] ================================================================== [ 75.900992][ C1] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 75.908202][ C1] CPU: 1 UID: 0 PID: 5106 Comm: syz-executor349 Not tainted 6.10.0-rc7-next-20240712-syzkaller #0 [ 75.918815][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 [ 75.928877][ C1] Call Trace: [ 75.932157][ C1] [ 75.935006][ C1] dump_stack_lvl+0x241/0x360 [ 75.939712][ C1] ? __pfx_dump_stack_lvl+0x10/0x10 [ 75.944929][ C1] ? __pfx__printk+0x10/0x10 [ 75.949528][ C1] ? __irq_exit_rcu+0x100/0x1c0 [ 75.954390][ C1] ? vscnprintf+0x5d/0x90 [ 75.958723][ C1] panic+0x349/0x870 [ 75.962648][ C1] ? check_panic_on_warn+0x21/0xb0 [ 75.967767][ C1] ? __pfx_panic+0x10/0x10 [ 75.972195][ C1] ? _raw_spin_unlock_irqrestore+0xd8/0x140 [ 75.978119][ C1] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 75.984015][ C1] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 75.990436][ C1] check_panic_on_warn+0x86/0xb0 [ 75.995401][ C1] ? xdp_do_check_flushed+0x231/0x240 [ 76.000784][ C1] end_report+0x77/0x160 [ 76.005031][ C1] kasan_report+0x154/0x180 [ 76.009540][ C1] ? xdp_do_check_flushed+0x231/0x240 [ 76.014922][ C1] xdp_do_check_flushed+0x231/0x240 [ 76.020129][ C1] __napi_poll+0xe4/0x490 [ 76.024470][ C1] net_rx_action+0x89b/0x1240 [ 76.029167][ C1] ? __pfx_net_rx_action+0x10/0x10 [ 76.034290][ C1] ? sched_clock+0x4a/0x70 [ 76.038720][ C1] ? __pfx___local_bh_disable_ip+0x10/0x10 [ 76.044556][ C1] ? sched_clock_cpu+0x76/0x490 [ 76.049499][ C1] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 76.055840][ C1] ? rcu_is_watching+0x15/0xb0 [ 76.060627][ C1] handle_softirqs+0x2c4/0x970 [ 76.065403][ C1] ? do_softirq+0x11b/0x1e0 [ 76.069924][ C1] ? __pfx_handle_softirqs+0x10/0x10 [ 76.075226][ C1] do_softirq+0x11b/0x1e0 [ 76.079562][ C1] [ 76.082498][ C1] [ 76.085427][ C1] ? __pfx_do_softirq+0x10/0x10 [ 76.090375][ C1] ? lock_release+0xbf/0xa30 [ 76.094978][ C1] ? __pfx_lockdep_softirqs_on+0x10/0x10 [ 76.100624][ C1] ? rcu_is_watching+0x15/0xb0 [ 76.105394][ C1] __local_bh_enable_ip+0x1bb/0x200 [ 76.110604][ C1] ? tun_get_user+0x270a/0x4720 [ 76.115557][ C1] ? __pfx___local_bh_enable_ip+0x10/0x10 [ 76.121406][ C1] ? tun_get_user+0x270a/0x4720 [ 76.126299][ C1] tun_get_user+0x2884/0x4720 [ 76.131015][ C1] ? rcu_is_watching+0x15/0xb0 [ 76.135794][ C1] ? lock_release+0xbf/0xa30 [ 76.140481][ C1] ? aa_file_perm+0x137/0xf60 [ 76.145255][ C1] ? __pfx_tun_get_user+0x10/0x10 [ 76.150289][ C1] ? do_raw_spin_unlock+0x13c/0x8b0 [ 76.155589][ C1] ? tun_get+0x1e/0x2f0 [ 76.159779][ C1] ? rcu_is_watching+0x15/0xb0 [ 76.164554][ C1] ? tun_get+0x1e/0x2f0 [ 76.168717][ C1] ? lock_release+0xbf/0xa30 [ 76.173339][ C1] ? __pfx_ref_tracker_alloc+0x10/0x10 [ 76.178816][ C1] ? __pfx_lock_release+0x10/0x10 [ 76.184047][ C1] ? end_current_label_crit_section+0x14e/0x180 [ 76.190319][ C1] ? common_file_perm+0x1a6/0x210 [ 76.195362][ C1] ? tun_get+0x1e/0x2f0 [ 76.199528][ C1] ? tun_get+0x27d/0x2f0 [ 76.203780][ C1] tun_chr_write_iter+0x113/0x1f0 [ 76.208820][ C1] vfs_write+0xa72/0xc90 [ 76.213079][ C1] ? __pfx_tun_chr_write_iter+0x10/0x10 [ 76.218719][ C1] ? __pfx_vfs_write+0x10/0x10 [ 76.223502][ C1] ksys_write+0x1a0/0x2c0 [ 76.227844][ C1] ? __pfx_ksys_write+0x10/0x10 [ 76.232725][ C1] ? rcu_is_watching+0x15/0xb0 [ 76.237592][ C1] do_syscall_64+0xf3/0x230 [ 76.242112][ C1] ? clear_bhb_loop+0x35/0x90 [ 76.246807][ C1] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 76.252967][ C1] RIP: 0033:0x7f6b89d03d90 [ 76.257389][ C1] Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d 11 e3 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 [ 76.277016][ C1] RSP: 002b:00007fff80368bc8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 76.285434][ C1] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f6b89d03d90 [ 76.293414][ C1] RDX: 000000000000fdef RSI: 0000000020000200 RDI: 00000000000000c8 [ 76.301472][ C1] RBP: 0000000000000000 R08: 00007fff80368cf8 R09: 00007fff80368cf8 [ 76.309448][ C1] R10: 00007fff80368cf8 R11: 0000000000000202 R12: 0000000000000000 [ 76.317419][ C1] R13: 0000000000000000 R14: 00007fff80368c00 R15: 00007fff80368bf0 [ 76.325399][ C1] [ 76.328559][ C1] Kernel Offset: disabled [ 76.332886][ C1] Rebooting in 86400 seconds..