Extracting prog: 1m51.822508636s Minimizing prog: 8m23.976500832s Simplifying prog options: 0s Extracting C: 21.746849625s Simplifying C: 7m37.193929103s extracting reproducer from 1 programs testing a last program of every proc single: executing 1 programs separately with timeout 30s testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet detailed listing: executing program 0: r0 = socket$inet_tcp(0x2, 0x1, 0x0) r1 = bpf$BPF_PROG_RAW_TRACEPOINT_LOAD(0x5, &(0x7f0000000040)={0x6, 0x4, &(0x7f00000002c0)=ANY=[@ANYBLOB="180200002343ffff0000000000000000850000004100000095"], &(0x7f00000000c0)='GPL\x00', 0x0, 0x0, 0x0, 0x41100, 0x20}, 0x94) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000180)={'syz_tun\x00', 0x0}) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000000)={r1, r2, 0x25, 0x0, @void}, 0x10) syz_emit_ethernet(0xfdef, &(0x7f0000000a80)=ANY=[], 0x0) program crashed: BUG: Bad page state in skb_pp_cow_data program crashed: BUG: Bad page state in skb_pp_cow_data single: successfully extracted reproducer found reproducer with 5 syscalls minimizing guilty program testing program (duration=31.318928679s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP detailed listing: executing program 0: r0 = socket$inet_tcp(0x2, 0x1, 0x0) r1 = bpf$BPF_PROG_RAW_TRACEPOINT_LOAD(0x5, &(0x7f0000000040)={0x6, 0x4, &(0x7f00000002c0)=ANY=[@ANYBLOB="180200002343ffff0000000000000000850000004100000095"], &(0x7f00000000c0)='GPL\x00', 0x0, 0x0, 0x0, 0x41100, 0x20}, 0x94) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000180)={'syz_tun\x00', 0x0}) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000000)={r1, r2, 0x25, 0x0, @void}, 0x10) program did not crash testing program (duration=31.318928679s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-syz_emit_ethernet detailed listing: executing program 0: r0 = socket$inet_tcp(0x2, 0x1, 0x0) bpf$BPF_PROG_RAW_TRACEPOINT_LOAD(0x5, &(0x7f0000000040)={0x6, 0x4, &(0x7f00000002c0)=ANY=[@ANYBLOB="180200002343ffff0000000000000000850000004100000095"], &(0x7f00000000c0)='GPL\x00', 0x0, 0x0, 0x0, 0x41100, 0x20}, 0x94) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000180)={'syz_tun\x00'}) syz_emit_ethernet(0xfdef, &(0x7f0000000a80)=ANY=[], 0x0) program did not crash testing program (duration=31.318928679s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet detailed listing: executing program 0: socket$inet_tcp(0x2, 0x1, 0x0) r0 = bpf$BPF_PROG_RAW_TRACEPOINT_LOAD(0x5, &(0x7f0000000040)={0x6, 0x4, &(0x7f00000002c0)=ANY=[@ANYBLOB="180200002343ffff0000000000000000850000004100000095"], &(0x7f00000000c0)='GPL\x00', 0x0, 0x0, 0x0, 0x41100, 0x20}, 0x94) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000000)={r0, 0x0, 0x25, 0x0, @void}, 0x10) syz_emit_ethernet(0xfdef, &(0x7f0000000a80)=ANY=[], 0x0) program did not crash testing program (duration=31.318928679s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet detailed listing: executing program 0: r0 = socket$inet_tcp(0x2, 0x1, 0x0) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000180)={'syz_tun\x00', 0x0}) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000000)={0xffffffffffffffff, r1, 0x25, 0x0, @void}, 0x10) syz_emit_ethernet(0xfdef, &(0x7f0000000a80)=ANY=[], 0x0) program did not crash testing program (duration=31.318928679s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet detailed listing: executing program 0: r0 = bpf$BPF_PROG_RAW_TRACEPOINT_LOAD(0x5, &(0x7f0000000040)={0x6, 0x4, &(0x7f00000002c0)=ANY=[@ANYBLOB="180200002343ffff0000000000000000850000004100000095"], &(0x7f00000000c0)='GPL\x00', 0x0, 0x0, 0x0, 0x41100, 0x20}, 0x94) ioctl$sock_SIOCGIFINDEX(0xffffffffffffffff, 0x8933, &(0x7f0000000180)={'syz_tun\x00', 0x0}) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000000)={r0, r1, 0x25, 0x0, @void}, 0x10) syz_emit_ethernet(0xfdef, &(0x7f0000000a80)=ANY=[], 0x0) program did not crash testing program (duration=31.318928679s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet detailed listing: executing program 0: r0 = socket$inet_tcp(0x2, 0x1, 0x0) r1 = bpf$BPF_PROG_RAW_TRACEPOINT_LOAD(0x5, 0x0, 0x0) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000180)={'syz_tun\x00', 0x0}) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000000)={r1, r2, 0x25, 0x0, @void}, 0x10) syz_emit_ethernet(0xfdef, &(0x7f0000000a80)=ANY=[], 0x0) program did not crash testing program (duration=31.318928679s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet detailed listing: executing program 0: r0 = socket$inet_tcp(0x2, 0x1, 0x0) r1 = bpf$BPF_PROG_RAW_TRACEPOINT_LOAD(0x5, &(0x7f0000000040)={0x6, 0x4, 0x0, &(0x7f00000000c0)='GPL\x00', 0x0, 0x0, 0x0, 0x41100, 0x20}, 0x94) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000180)={'syz_tun\x00', 0x0}) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000000)={r1, r2, 0x25, 0x0, @void}, 0x10) syz_emit_ethernet(0xfdef, &(0x7f0000000a80)=ANY=[], 0x0) program did not crash testing program (duration=31.318928679s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet detailed listing: executing program 0: r0 = socket$inet_tcp(0x2, 0x1, 0x0) r1 = bpf$BPF_PROG_RAW_TRACEPOINT_LOAD(0x5, &(0x7f0000000040)={0x6, 0x4, &(0x7f00000002c0)=ANY=[@ANYBLOB], &(0x7f00000000c0)='GPL\x00', 0x0, 0x0, 0x0, 0x41100, 0x20}, 0x94) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000180)={'syz_tun\x00', 0x0}) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000000)={r1, r2, 0x25, 0x0, @void}, 0x10) syz_emit_ethernet(0xfdef, &(0x7f0000000a80)=ANY=[], 0x0) program did not crash testing program (duration=31.318928679s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet detailed listing: executing program 0: r0 = socket$inet_tcp(0x2, 0x1, 0x0) r1 = bpf$BPF_PROG_RAW_TRACEPOINT_LOAD(0x5, &(0x7f0000000040)={0x6, 0x4, &(0x7f00000002c0)=ANY=[@ANYBLOB="180200002343ffff0000000000000000850000004100000095"], 0x0, 0x0, 0x0, 0x0, 0x41100, 0x20}, 0x94) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000180)={'syz_tun\x00', 0x0}) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000000)={r1, r2, 0x25, 0x0, @void}, 0x10) syz_emit_ethernet(0xfdef, &(0x7f0000000a80)=ANY=[], 0x0) program did not crash testing program (duration=31.318928679s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet detailed listing: executing program 0: r0 = socket$inet_tcp(0x2, 0x1, 0x0) r1 = bpf$BPF_PROG_RAW_TRACEPOINT_LOAD(0x5, &(0x7f0000000040)={0x6, 0x4, &(0x7f00000002c0)=ANY=[@ANYBLOB="180200002343ffff0000000000000000850000004100000095"], &(0x7f00000000c0)='GPL\x00', 0x0, 0x0, 0x0, 0x41100, 0x20}, 0x94) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, 0x0) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000000)={r1, 0x0, 0x25, 0x0, @void}, 0x10) syz_emit_ethernet(0xfdef, &(0x7f0000000a80)=ANY=[], 0x0) program did not crash testing program (duration=31.318928679s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet detailed listing: executing program 0: r0 = socket$inet_tcp(0x2, 0x1, 0x0) bpf$BPF_PROG_RAW_TRACEPOINT_LOAD(0x5, &(0x7f0000000040)={0x6, 0x4, &(0x7f00000002c0)=ANY=[@ANYBLOB="180200002343ffff0000000000000000850000004100000095"], &(0x7f00000000c0)='GPL\x00', 0x0, 0x0, 0x0, 0x41100, 0x20}, 0x94) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000180)={'syz_tun\x00'}) bpf$BPF_LINK_CREATE_XDP(0x1c, 0x0, 0x0) syz_emit_ethernet(0xfdef, &(0x7f0000000a80)=ANY=[], 0x0) program did not crash testing program (duration=31.318928679s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet detailed listing: executing program 0: r0 = socket$inet_tcp(0x2, 0x1, 0x0) r1 = bpf$BPF_PROG_RAW_TRACEPOINT_LOAD(0x5, &(0x7f0000000040)={0x6, 0x4, &(0x7f00000002c0)=ANY=[@ANYBLOB="180200002343ffff0000000000000000850000004100000095"], &(0x7f00000000c0)='GPL\x00', 0x0, 0x0, 0x0, 0x41100, 0x20}, 0x94) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000180)={'syz_tun\x00', 0x0}) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000000)={r1, r2, 0x25, 0x0, @void}, 0x10) syz_emit_ethernet(0xfdef, 0x0, 0x0) program did not crash extracting C reproducer testing compiled C program (duration=31.318928679s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet program crashed: BUG: Bad page state in skb_pp_cow_data simplifying C reproducer testing compiled C program (duration=31.318928679s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet program crashed: BUG: Bad page state in skb_pp_cow_data testing compiled C program (duration=31.318928679s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:false Cgroups:false BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet program crashed: BUG: Bad page state in skb_pp_cow_data testing compiled C program (duration=31.318928679s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:true Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet program did not crash testing compiled C program (duration=31.318928679s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:true NetReset:false Cgroups:false BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet program did not crash testing compiled C program (duration=31.318928679s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:false NetReset:false Cgroups:false BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet program crashed: BUG: Bad page state in skb_pp_cow_data testing compiled C program (duration=31.318928679s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet program crashed: BUG: Bad page state in skb_pp_cow_data testing compiled C program (duration=31.318928679s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet program crashed: BUG: Bad page state in skb_pp_cow_data testing compiled C program (duration=31.318928679s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet program crashed: BUG: Bad page state in skb_pp_cow_data testing compiled C program (duration=31.318928679s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet program crashed: BUG: Bad page state in skb_pp_cow_data testing compiled C program (duration=31.318928679s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet program crashed: BUG: Bad page state in skb_pp_cow_data testing compiled C program (duration=31.318928679s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet program crashed: BUG: Bad page state in skb_pp_cow_data testing compiled C program (duration=31.318928679s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:false HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet program crashed: BUG: Bad page state in skb_pp_cow_data testing compiled C program (duration=31.318928679s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet program crashed: BUG: Bad page state in skb_pp_cow_data testing compiled C program (duration=31.318928679s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:true UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet program crashed: BUG: Bad page state in skb_pp_cow_data testing compiled C program (duration=31.318928679s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet program crashed: BUG: Bad page state in skb_pp_cow_data testing program (duration=31.318928679s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet detailed listing: executing program 0: r0 = socket$inet_tcp(0x2, 0x1, 0x0) r1 = bpf$BPF_PROG_RAW_TRACEPOINT_LOAD(0x5, &(0x7f0000000040)={0x6, 0x4, &(0x7f00000002c0)=ANY=[@ANYBLOB="180200002343ffff0000000000000000850000004100000095"], &(0x7f00000000c0)='GPL\x00', 0x0, 0x0, 0x0, 0x41100, 0x20}, 0x94) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000180)={'syz_tun\x00', 0x0}) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000000)={r1, r2, 0x25, 0x0, @void}, 0x10) syz_emit_ethernet(0xfdef, &(0x7f0000000a80)=ANY=[], 0x0) program crashed: BUG: Bad page state in skb_pp_cow_data validation run: crashed=true testing program (duration=31.318928679s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet detailed listing: executing program 0: r0 = socket$inet_tcp(0x2, 0x1, 0x0) r1 = bpf$BPF_PROG_RAW_TRACEPOINT_LOAD(0x5, &(0x7f0000000040)={0x6, 0x4, &(0x7f00000002c0)=ANY=[@ANYBLOB="180200002343ffff0000000000000000850000004100000095"], &(0x7f00000000c0)='GPL\x00', 0x0, 0x0, 0x0, 0x41100, 0x20}, 0x94) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000180)={'syz_tun\x00', 0x0}) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000000)={r1, r2, 0x25, 0x0, @void}, 0x10) syz_emit_ethernet(0xfdef, &(0x7f0000000a80)=ANY=[], 0x0) program crashed: BUG: Bad page state in skb_pp_cow_data validation run: crashed=true testing program (duration=31.318928679s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$inet_tcp-bpf$BPF_PROG_RAW_TRACEPOINT_LOAD-ioctl$sock_SIOCGIFINDEX-bpf$BPF_LINK_CREATE_XDP-syz_emit_ethernet detailed listing: executing program 0: r0 = socket$inet_tcp(0x2, 0x1, 0x0) r1 = bpf$BPF_PROG_RAW_TRACEPOINT_LOAD(0x5, &(0x7f0000000040)={0x6, 0x4, &(0x7f00000002c0)=ANY=[@ANYBLOB="180200002343ffff0000000000000000850000004100000095"], &(0x7f00000000c0)='GPL\x00', 0x0, 0x0, 0x0, 0x41100, 0x20}, 0x94) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000180)={'syz_tun\x00', 0x0}) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000000)={r1, r2, 0x25, 0x0, @void}, 0x10) syz_emit_ethernet(0xfdef, &(0x7f0000000a80)=ANY=[], 0x0) program crashed: BUG: Bad page state in skb_pp_cow_data validation run: crashed=true reproducing took 19m55.354684581s repro crashed as (corrupted=false): BUG: Bad page state in process syz.0.17 pfn:43885 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x7ff80a781 pfn:0x43885 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: 00000007ff80a781 3fffffffffffffff 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042558177, free_ts 56757319716 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_frag_netmem+0x219/0x9c0 net/core/page_pool.c:1072 page_pool_alloc_netmem include/net/page_pool/helpers.h:131 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x584/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 0 tgid 0 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 pagetable_free include/linux/mm.h:3004 [inline] pagetable_dtor_free include/linux/mm.h:3107 [inline] __tlb_remove_table include/asm-generic/tlb.h:220 [inline] __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x121/0x320 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0x79c/0x1530 kernel/rcu/tree.c:2861 handle_softirqs+0x219/0x8e0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003 BUG: Bad page state in process syz.0.17 pfn:43886 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x7ff80a782 pfn:0x43886 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: 00000007ff80a782 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042550402, free_ts 56757329446 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x7c0/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 0 tgid 0 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 pagetable_free include/linux/mm.h:3004 [inline] pagetable_dtor_free include/linux/mm.h:3107 [inline] __tlb_remove_table include/asm-generic/tlb.h:220 [inline] __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x121/0x320 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0x79c/0x1530 kernel/rcu/tree.c:2861 handle_softirqs+0x219/0x8e0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003 BUG: Bad page state in process syz.0.17 pfn:32673 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x32673 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: ffff888000000000 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042543466, free_ts 56757339230 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x7c0/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 0 tgid 0 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 pagetable_free include/linux/mm.h:3004 [inline] pagetable_dtor_free include/linux/mm.h:3107 [inline] __tlb_remove_table include/asm-generic/tlb.h:220 [inline] __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x121/0x320 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0x79c/0x1530 kernel/rcu/tree.c:2861 handle_softirqs+0x219/0x8e0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003 BUG: Bad page state in process syz.0.17 pfn:3bacb page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88803bacb000 pfn:0x3bacb flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: ffff88803bacb000 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042536495, free_ts 56757348653 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x7c0/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 0 tgid 0 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 pagetable_free include/linux/mm.h:3004 [inline] pagetable_dtor_free include/linux/mm.h:3107 [inline] __tlb_remove_table include/asm-generic/tlb.h:220 [inline] __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x121/0x320 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0x79c/0x1530 kernel/rcu/tree.c:2861 handle_softirqs+0x219/0x8e0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003 BUG: Bad page state in process syz.0.17 pfn:2bc57 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802bc57d90 pfn:0x2bc57 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: ffff88802bc57d90 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042529522, free_ts 56757358913 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x7c0/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 0 tgid 0 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 pagetable_free include/linux/mm.h:3004 [inline] pagetable_dtor_free include/linux/mm.h:3107 [inline] __tlb_remove_table include/asm-generic/tlb.h:220 [inline] __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x121/0x320 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0x79c/0x1530 kernel/rcu/tree.c:2861 handle_softirqs+0x219/0x8e0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003 BUG: Bad page state in process syz.0.17 pfn:32f81 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x32f81 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: ffff888000000000 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042522416, free_ts 56757369327 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x7c0/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 0 tgid 0 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 pagetable_free include/linux/mm.h:3004 [inline] pagetable_dtor_free include/linux/mm.h:3107 [inline] __tlb_remove_table include/asm-generic/tlb.h:220 [inline] __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x121/0x320 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0x79c/0x1530 kernel/rcu/tree.c:2861 handle_softirqs+0x219/0x8e0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003 BUG: Bad page state in process syz.0.17 pfn:2826c page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802826c060 pfn:0x2826c flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: ffff88802826c060 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042515122, free_ts 56757375128 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x7c0/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 0 tgid 0 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 pagetable_free include/linux/mm.h:3004 [inline] pagetable_dtor_free include/linux/mm.h:3107 [inline] __tlb_remove_table include/asm-generic/tlb.h:220 [inline] __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x121/0x320 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0x79c/0x1530 kernel/rcu/tree.c:2861 handle_softirqs+0x219/0x8e0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003 BUG: Bad page state in process syz.0.17 pfn:43834 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x7ff80a730 pfn:0x43834 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: 00000007ff80a730 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042507509, free_ts 56757381196 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x7c0/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 0 tgid 0 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0x79c/0x1530 kernel/rcu/tree.c:2861 handle_softirqs+0x219/0x8e0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003 BUG: Bad page state in process syz.0.17 pfn:4ff0e page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88804ff0e1e0 pfn:0x4ff0e flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: ffff88804ff0e1e0 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042500366, free_ts 56766321033 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x7c0/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 13 tgid 13 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 discard_slab mm/slub.c:3330 [inline] __put_partials+0x130/0x170 mm/slub.c:3876 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4d/0x120 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:352 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4978 [inline] slab_alloc_node mm/slub.c:5288 [inline] __kmalloc_cache_noprof+0x274/0x780 mm/slub.c:5766 kmalloc_noprof include/linux/slab.h:957 [inline] gro_cells_destroy net/core/gro_cells.c:135 [inline] gro_cells_destroy+0x32b/0x540 net/core/gro_cells.c:115 ip_tunnel_dev_free+0x19/0x30 net/ipv4/ip_tunnel.c:1088 netdev_run_todo+0x78f/0x1320 net/core/dev.c:11594 ops_exit_rtnl_list net/core/net_namespace.c:189 [inline] ops_undo_list+0x901/0xab0 net/core/net_namespace.c:248 cleanup_net+0x41b/0x8b0 net/core/net_namespace.c:695 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3263 process_scheduled_works kernel/workqueue.c:3346 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3427 kthread+0x3c5/0x780 kernel/kthread.c:463 ret_from_fork+0x675/0x7d0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003 BUG: Bad page state in process syz.0.17 pfn:4ff0d page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88804ff0d780 pfn:0x4ff0d flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: ffff88804ff0d780 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042493170, free_ts 56766328508 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x7c0/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 13 tgid 13 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 discard_slab mm/slub.c:3330 [inline] __put_partials+0x130/0x170 mm/slub.c:3876 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4d/0x120 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:352 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4978 [inline] slab_alloc_node mm/slub.c:5288 [inline] __kmalloc_cache_noprof+0x274/0x780 mm/slub.c:5766 kmalloc_noprof include/linux/slab.h:957 [inline] gro_cells_destroy net/core/gro_cells.c:135 [inline] gro_cells_destroy+0x32b/0x540 net/core/gro_cells.c:115 ip_tunnel_dev_free+0x19/0x30 net/ipv4/ip_tunnel.c:1088 netdev_run_todo+0x78f/0x1320 net/core/dev.c:11594 ops_exit_rtnl_list net/core/net_namespace.c:189 [inline] ops_undo_list+0x901/0xab0 net/core/net_namespace.c:248 cleanup_net+0x41b/0x8b0 net/core/net_namespace.c:695 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3263 process_scheduled_works kernel/workqueue.c:3346 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3427 kthread+0x3c5/0x780 kernel/kthread.c:463 ret_from_fork+0x675/0x7d0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003 BUG: Bad page state in process syz.0.17 pfn:4ff0a page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88804ff0af00 pfn:0x4ff0a flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: ffff88804ff0af00 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042486370, free_ts 56766335263 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x7c0/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 13 tgid 13 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 discard_slab mm/slub.c:3330 [inline] __put_partials+0x130/0x170 mm/slub.c:3876 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4d/0x120 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:352 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4978 [inline] slab_alloc_node mm/slub.c:5288 [inline] __kmalloc_cache_noprof+0x274/0x780 mm/slub.c:5766 kmalloc_noprof include/linux/slab.h:957 [inline] gro_cells_destroy net/core/gro_cells.c:135 [inline] gro_cells_destroy+0x32b/0x540 net/core/gro_cells.c:115 ip_tunnel_dev_free+0x19/0x30 net/ipv4/ip_tunnel.c:1088 netdev_run_todo+0x78f/0x1320 net/core/dev.c:11594 ops_exit_rtnl_list net/core/net_namespace.c:189 [inline] ops_undo_list+0x901/0xab0 net/core/net_namespace.c:248 cleanup_net+0x41b/0x8b0 net/core/net_namespace.c:695 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3263 process_scheduled_works kernel/workqueue.c:3346 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3427 kthread+0x3c5/0x780 kernel/kthread.c:463 ret_from_fork+0x675/0x7d0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003 BUG: Bad page state in process syz.0.17 pfn:4ff0c page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88804ff0cf00 pfn:0x4ff0c flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: ffff88804ff0cf00 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042479157, free_ts 56766341310 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x7c0/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 13 tgid 13 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 discard_slab mm/slub.c:3330 [inline] __put_partials+0x130/0x170 mm/slub.c:3876 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4d/0x120 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:352 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4978 [inline] slab_alloc_node mm/slub.c:5288 [inline] __kmalloc_cache_noprof+0x274/0x780 mm/slub.c:5766 kmalloc_noprof include/linux/slab.h:957 [inline] gro_cells_destroy net/core/gro_cells.c:135 [inline] gro_cells_destroy+0x32b/0x540 net/core/gro_cells.c:115 ip_tunnel_dev_free+0x19/0x30 net/ipv4/ip_tunnel.c:1088 netdev_run_todo+0x78f/0x1320 net/core/dev.c:11594 ops_exit_rtnl_list net/core/net_namespace.c:189 [inline] ops_undo_list+0x901/0xab0 net/core/net_namespace.c:248 cleanup_net+0x41b/0x8b0 net/core/net_namespace.c:695 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3263 process_scheduled_works kernel/workqueue.c:3346 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3427 kthread+0x3c5/0x780 kernel/kthread.c:463 ret_from_fork+0x675/0x7d0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003 final repro crashed as (corrupted=false): BUG: Bad page state in process syz.0.17 pfn:43885 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x7ff80a781 pfn:0x43885 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: 00000007ff80a781 3fffffffffffffff 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042558177, free_ts 56757319716 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_frag_netmem+0x219/0x9c0 net/core/page_pool.c:1072 page_pool_alloc_netmem include/net/page_pool/helpers.h:131 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x584/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 0 tgid 0 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 pagetable_free include/linux/mm.h:3004 [inline] pagetable_dtor_free include/linux/mm.h:3107 [inline] __tlb_remove_table include/asm-generic/tlb.h:220 [inline] __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x121/0x320 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0x79c/0x1530 kernel/rcu/tree.c:2861 handle_softirqs+0x219/0x8e0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003 BUG: Bad page state in process syz.0.17 pfn:43886 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x7ff80a782 pfn:0x43886 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: 00000007ff80a782 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042550402, free_ts 56757329446 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x7c0/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 0 tgid 0 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 pagetable_free include/linux/mm.h:3004 [inline] pagetable_dtor_free include/linux/mm.h:3107 [inline] __tlb_remove_table include/asm-generic/tlb.h:220 [inline] __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x121/0x320 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0x79c/0x1530 kernel/rcu/tree.c:2861 handle_softirqs+0x219/0x8e0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003 BUG: Bad page state in process syz.0.17 pfn:32673 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x32673 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: ffff888000000000 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042543466, free_ts 56757339230 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x7c0/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 0 tgid 0 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 pagetable_free include/linux/mm.h:3004 [inline] pagetable_dtor_free include/linux/mm.h:3107 [inline] __tlb_remove_table include/asm-generic/tlb.h:220 [inline] __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x121/0x320 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0x79c/0x1530 kernel/rcu/tree.c:2861 handle_softirqs+0x219/0x8e0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003 BUG: Bad page state in process syz.0.17 pfn:3bacb page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88803bacb000 pfn:0x3bacb flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: ffff88803bacb000 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042536495, free_ts 56757348653 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x7c0/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 0 tgid 0 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 pagetable_free include/linux/mm.h:3004 [inline] pagetable_dtor_free include/linux/mm.h:3107 [inline] __tlb_remove_table include/asm-generic/tlb.h:220 [inline] __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x121/0x320 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0x79c/0x1530 kernel/rcu/tree.c:2861 handle_softirqs+0x219/0x8e0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003 BUG: Bad page state in process syz.0.17 pfn:2bc57 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802bc57d90 pfn:0x2bc57 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: ffff88802bc57d90 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042529522, free_ts 56757358913 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x7c0/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 0 tgid 0 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 pagetable_free include/linux/mm.h:3004 [inline] pagetable_dtor_free include/linux/mm.h:3107 [inline] __tlb_remove_table include/asm-generic/tlb.h:220 [inline] __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x121/0x320 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0x79c/0x1530 kernel/rcu/tree.c:2861 handle_softirqs+0x219/0x8e0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003 BUG: Bad page state in process syz.0.17 pfn:32f81 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888000000000 pfn:0x32f81 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: ffff888000000000 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042522416, free_ts 56757369327 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x7c0/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 0 tgid 0 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 pagetable_free include/linux/mm.h:3004 [inline] pagetable_dtor_free include/linux/mm.h:3107 [inline] __tlb_remove_table include/asm-generic/tlb.h:220 [inline] __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x121/0x320 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0x79c/0x1530 kernel/rcu/tree.c:2861 handle_softirqs+0x219/0x8e0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003 BUG: Bad page state in process syz.0.17 pfn:2826c page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802826c060 pfn:0x2826c flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: ffff88802826c060 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042515122, free_ts 56757375128 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x7c0/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 0 tgid 0 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 pagetable_free include/linux/mm.h:3004 [inline] pagetable_dtor_free include/linux/mm.h:3107 [inline] __tlb_remove_table include/asm-generic/tlb.h:220 [inline] __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x121/0x320 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0x79c/0x1530 kernel/rcu/tree.c:2861 handle_softirqs+0x219/0x8e0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003 BUG: Bad page state in process syz.0.17 pfn:43834 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x7ff80a730 pfn:0x43834 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: 00000007ff80a730 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042507509, free_ts 56757381196 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x7c0/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 0 tgid 0 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0x79c/0x1530 kernel/rcu/tree.c:2861 handle_softirqs+0x219/0x8e0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003 BUG: Bad page state in process syz.0.17 pfn:4ff0e page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88804ff0e1e0 pfn:0x4ff0e flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: ffff88804ff0e1e0 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042500366, free_ts 56766321033 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x7c0/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 13 tgid 13 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 discard_slab mm/slub.c:3330 [inline] __put_partials+0x130/0x170 mm/slub.c:3876 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4d/0x120 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:352 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4978 [inline] slab_alloc_node mm/slub.c:5288 [inline] __kmalloc_cache_noprof+0x274/0x780 mm/slub.c:5766 kmalloc_noprof include/linux/slab.h:957 [inline] gro_cells_destroy net/core/gro_cells.c:135 [inline] gro_cells_destroy+0x32b/0x540 net/core/gro_cells.c:115 ip_tunnel_dev_free+0x19/0x30 net/ipv4/ip_tunnel.c:1088 netdev_run_todo+0x78f/0x1320 net/core/dev.c:11594 ops_exit_rtnl_list net/core/net_namespace.c:189 [inline] ops_undo_list+0x901/0xab0 net/core/net_namespace.c:248 cleanup_net+0x41b/0x8b0 net/core/net_namespace.c:695 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3263 process_scheduled_works kernel/workqueue.c:3346 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3427 kthread+0x3c5/0x780 kernel/kthread.c:463 ret_from_fork+0x675/0x7d0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003 BUG: Bad page state in process syz.0.17 pfn:4ff0d page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88804ff0d780 pfn:0x4ff0d flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: ffff88804ff0d780 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042493170, free_ts 56766328508 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x7c0/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 13 tgid 13 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 discard_slab mm/slub.c:3330 [inline] __put_partials+0x130/0x170 mm/slub.c:3876 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4d/0x120 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:352 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4978 [inline] slab_alloc_node mm/slub.c:5288 [inline] __kmalloc_cache_noprof+0x274/0x780 mm/slub.c:5766 kmalloc_noprof include/linux/slab.h:957 [inline] gro_cells_destroy net/core/gro_cells.c:135 [inline] gro_cells_destroy+0x32b/0x540 net/core/gro_cells.c:115 ip_tunnel_dev_free+0x19/0x30 net/ipv4/ip_tunnel.c:1088 netdev_run_todo+0x78f/0x1320 net/core/dev.c:11594 ops_exit_rtnl_list net/core/net_namespace.c:189 [inline] ops_undo_list+0x901/0xab0 net/core/net_namespace.c:248 cleanup_net+0x41b/0x8b0 net/core/net_namespace.c:695 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3263 process_scheduled_works kernel/workqueue.c:3346 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3427 kthread+0x3c5/0x780 kernel/kthread.c:463 ret_from_fork+0x675/0x7d0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003 BUG: Bad page state in process syz.0.17 pfn:4ff0a page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88804ff0af00 pfn:0x4ff0a flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: ffff88804ff0af00 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042486370, free_ts 56766335263 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x7c0/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 13 tgid 13 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 discard_slab mm/slub.c:3330 [inline] __put_partials+0x130/0x170 mm/slub.c:3876 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4d/0x120 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:352 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4978 [inline] slab_alloc_node mm/slub.c:5288 [inline] __kmalloc_cache_noprof+0x274/0x780 mm/slub.c:5766 kmalloc_noprof include/linux/slab.h:957 [inline] gro_cells_destroy net/core/gro_cells.c:135 [inline] gro_cells_destroy+0x32b/0x540 net/core/gro_cells.c:115 ip_tunnel_dev_free+0x19/0x30 net/ipv4/ip_tunnel.c:1088 netdev_run_todo+0x78f/0x1320 net/core/dev.c:11594 ops_exit_rtnl_list net/core/net_namespace.c:189 [inline] ops_undo_list+0x901/0xab0 net/core/net_namespace.c:248 cleanup_net+0x41b/0x8b0 net/core/net_namespace.c:695 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3263 process_scheduled_works kernel/workqueue.c:3346 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3427 kthread+0x3c5/0x780 kernel/kthread.c:463 ret_from_fork+0x675/0x7d0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003 BUG: Bad page state in process syz.0.17 pfn:4ff0c page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88804ff0cf00 pfn:0x4ff0c flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 dead000000000040 ffff888021ea5000 0000000000000000 raw: ffff88804ff0cf00 0000000000000001 00000000ffffffff 0000000000000000 page dumped because: page_pool leak page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2820(GFP_ATOMIC|__GFP_NOWARN), pid 6088, tgid 6088 (syz.0.17), ts 57042479157, free_ts 56766341310 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1845 prep_new_page mm/page_alloc.c:1853 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3879 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5178 __alloc_pages_noprof mm/page_alloc.c:5212 [inline] alloc_pages_bulk_noprof+0x77a/0x1410 mm/page_alloc.c:5132 alloc_pages_bulk_node_noprof include/linux/gfp.h:255 [inline] __page_pool_alloc_netmems_slow+0x1c7/0xca0 net/core/page_pool.c:612 page_pool_alloc_netmems net/core/page_pool.c:663 [inline] page_pool_alloc_netmems+0xc4/0x190 net/core/page_pool.c:650 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:167 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:188 [inline] skb_pp_cow_data+0x7c0/0xff0 net/core/skbuff.c:952 skb_cow_data_for_xdp+0x88/0xb0 net/core/skbuff.c:986 netif_skb_check_for_xdp net/core/dev.c:5429 [inline] netif_receive_generic_xdp net/core/dev.c:5470 [inline] do_xdp_generic+0x530/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 13 tgid 13 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] __free_frozen_pages+0x7df/0x1160 mm/page_alloc.c:2901 discard_slab mm/slub.c:3330 [inline] __put_partials+0x130/0x170 mm/slub.c:3876 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4d/0x120 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:352 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4978 [inline] slab_alloc_node mm/slub.c:5288 [inline] __kmalloc_cache_noprof+0x274/0x780 mm/slub.c:5766 kmalloc_noprof include/linux/slab.h:957 [inline] gro_cells_destroy net/core/gro_cells.c:135 [inline] gro_cells_destroy+0x32b/0x540 net/core/gro_cells.c:115 ip_tunnel_dev_free+0x19/0x30 net/ipv4/ip_tunnel.c:1088 netdev_run_todo+0x78f/0x1320 net/core/dev.c:11594 ops_exit_rtnl_list net/core/net_namespace.c:189 [inline] ops_undo_list+0x901/0xab0 net/core/net_namespace.c:248 cleanup_net+0x41b/0x8b0 net/core/net_namespace.c:695 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3263 process_scheduled_works kernel/workqueue.c:3346 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3427 kthread+0x3c5/0x780 kernel/kthread.c:463 ret_from_fork+0x675/0x7d0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: CPU: 3 UID: 0 PID: 6088 Comm: syz.0.17 Tainted: G B syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 bad_page+0xcf/0x220 mm/page_alloc.c:649 free_page_is_bad mm/page_alloc.c:1082 [inline] free_page_is_bad mm/page_alloc.c:1076 [inline] free_pages_prepare mm/page_alloc.c:1386 [inline] __free_frozen_pages+0x845/0x1160 mm/page_alloc.c:2901 page_frag_free+0x27f/0x2e0 mm/page_frag_cache.c:169 __xdp_return+0x3ab/0xab0 net/core/xdp.c:448 bpf_xdp_shrink_data net/core/filter.c:4191 [inline] bpf_xdp_frags_shrink_tail net/core/filter.c:4215 [inline] ____bpf_xdp_adjust_tail net/core/filter.c:4237 [inline] bpf_xdp_adjust_tail+0x887/0xcb0 net/core/filter.c:4230 bpf_prog_5d7dc57dfd7f985a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:721 [inline] bpf_prog_run_xdp include/net/xdp.h:696 [inline] bpf_prog_run_generic_xdp+0x61f/0x1570 net/core/dev.c:5360 netif_receive_generic_xdp net/core/dev.c:5476 [inline] do_xdp_generic+0x8e6/0x1320 net/core/dev.c:5538 tun_get_user+0x1d41/0x3cc0 drivers/net/tun.c:1872 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa05238e27f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007fff13b3f670 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa0525e5fa0 RCX: 00007fa05238e27f RDX: 000000000000fdef RSI: 0000200000000a80 RDI: 00000000000000c8 RBP: 00007fa052413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fdef R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa0525e5fa0 R14: 00007fa0525e5fa0 R15: 0000000000000003