Extracting prog: 4m10.499031379s Minimizing prog: 21m56.663794682s Simplifying prog options: 0s Extracting C: 34.355894875s Simplifying C: 16m37.252408954s 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:6 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 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, &(0x7f0000000400)=ANY=[@ANYBLOB="180200002343ffff0000000000000000850000004100000095"], &(0x7f00000000c0)='GPL\x00', 0x0, 0x0, 0x0, 0x0, 0x28, '\x00', 0x0, 0x0, 0xffffffffffffffff, 0x8, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, @void, @value}, 0x94) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000180)={'syz_tun\x00', 0x0}) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000300)={r1, r2, 0x25, 0x2, @val=@perf_event={0xff}}, 0x18) syz_emit_ethernet(0x11dc0, &(0x7f00000004c0)=ANY=[], 0x0) program did not crash program did not crash single: failed to extract reproducer single: executing 1 programs separately with timeout 1m40s testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:6 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 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, &(0x7f0000000400)=ANY=[@ANYBLOB="180200002343ffff0000000000000000850000004100000095"], &(0x7f00000000c0)='GPL\x00', 0x0, 0x0, 0x0, 0x0, 0x28, '\x00', 0x0, 0x0, 0xffffffffffffffff, 0x8, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, @void, @value}, 0x94) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000180)={'syz_tun\x00', 0x0}) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000300)={r1, r2, 0x25, 0x2, @val=@perf_event={0xff}}, 0x18) syz_emit_ethernet(0x11dc0, &(0x7f00000004c0)=ANY=[], 0x0) 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=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:6 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 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, &(0x7f0000000400)=ANY=[@ANYBLOB="180200002343ffff0000000000000000850000004100000095"], &(0x7f00000000c0)='GPL\x00', 0x0, 0x0, 0x0, 0x0, 0x28, '\x00', 0x0, 0x0, 0xffffffffffffffff, 0x8, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, @void, @value}, 0x94) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000180)={'syz_tun\x00', 0x0}) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000300)={r1, r2, 0x25, 0x2, @val=@perf_event={0xff}}, 0x18) program did not crash testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:6 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 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, &(0x7f0000000400)=ANY=[@ANYBLOB="180200002343ffff0000000000000000850000004100000095"], &(0x7f00000000c0)='GPL\x00', 0x0, 0x0, 0x0, 0x0, 0x28, '\x00', 0x0, 0x0, 0xffffffffffffffff, 0x8, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, @void, @value}, 0x94) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000180)={'syz_tun\x00'}) syz_emit_ethernet(0x11dc0, &(0x7f00000004c0)=ANY=[], 0x0) program did not crash testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:6 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 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, &(0x7f0000000400)=ANY=[@ANYBLOB="180200002343ffff0000000000000000850000004100000095"], &(0x7f00000000c0)='GPL\x00', 0x0, 0x0, 0x0, 0x0, 0x28, '\x00', 0x0, 0x0, 0xffffffffffffffff, 0x8, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, @void, @value}, 0x94) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000300)={r0, 0x0, 0x25, 0x2, @val=@perf_event={0xff}}, 0x18) syz_emit_ethernet(0x11dc0, &(0x7f00000004c0)=ANY=[], 0x0) program did not crash testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:6 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 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, &(0x7f0000000300)={0xffffffffffffffff, r1, 0x25, 0x2, @val=@perf_event={0xff}}, 0x18) syz_emit_ethernet(0x11dc0, &(0x7f00000004c0)=ANY=[], 0x0) program did not crash testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:6 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 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, &(0x7f0000000400)=ANY=[@ANYBLOB="180200002343ffff0000000000000000850000004100000095"], &(0x7f00000000c0)='GPL\x00', 0x0, 0x0, 0x0, 0x0, 0x28, '\x00', 0x0, 0x0, 0xffffffffffffffff, 0x8, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, @void, @value}, 0x94) ioctl$sock_SIOCGIFINDEX(0xffffffffffffffff, 0x8933, &(0x7f0000000180)={'syz_tun\x00', 0x0}) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000300)={r0, r1, 0x25, 0x2, @val=@perf_event={0xff}}, 0x18) syz_emit_ethernet(0x11dc0, &(0x7f00000004c0)=ANY=[], 0x0) program did not crash testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:6 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 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, &(0x7f0000000300)={r1, r2, 0x25, 0x2, @val=@perf_event={0xff}}, 0x18) syz_emit_ethernet(0x11dc0, &(0x7f00000004c0)=ANY=[], 0x0) program did not crash testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:6 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 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, 0x0, 0x28, '\x00', 0x0, 0x0, 0xffffffffffffffff, 0x8, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, @void, @value}, 0x94) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000180)={'syz_tun\x00', 0x0}) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000300)={r1, r2, 0x25, 0x2, @val=@perf_event={0xff}}, 0x18) syz_emit_ethernet(0x11dc0, &(0x7f00000004c0)=ANY=[], 0x0) program did not crash testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:6 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 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, &(0x7f0000000400)=ANY=[@ANYBLOB], &(0x7f00000000c0)='GPL\x00', 0x0, 0x0, 0x0, 0x0, 0x28, '\x00', 0x0, 0x0, 0xffffffffffffffff, 0x8, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, @void, @value}, 0x94) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000180)={'syz_tun\x00', 0x0}) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000300)={r1, r2, 0x25, 0x2, @val=@perf_event={0xff}}, 0x18) syz_emit_ethernet(0x11dc0, &(0x7f00000004c0)=ANY=[], 0x0) program did not crash testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:6 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 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, &(0x7f0000000400)=ANY=[@ANYBLOB="180200002343ffff0000000000000000850000004100000095"], 0x0, 0x0, 0x0, 0x0, 0x0, 0x28, '\x00', 0x0, 0x0, 0xffffffffffffffff, 0x8, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, @void, @value}, 0x94) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000180)={'syz_tun\x00', 0x0}) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000300)={r1, r2, 0x25, 0x2, @val=@perf_event={0xff}}, 0x18) syz_emit_ethernet(0x11dc0, &(0x7f00000004c0)=ANY=[], 0x0) program did not crash testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:6 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 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, &(0x7f0000000400)=ANY=[@ANYBLOB="180200002343ffff0000000000000000850000004100000095"], &(0x7f00000000c0)='GPL\x00', 0x0, 0x0, 0x0, 0x0, 0x28, '\x00', 0x0, 0x0, 0xffffffffffffffff, 0x8, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, @void, @value}, 0x94) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, 0x0) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000300)={r1, 0x0, 0x25, 0x2, @val=@perf_event={0xff}}, 0x18) syz_emit_ethernet(0x11dc0, &(0x7f00000004c0)=ANY=[], 0x0) program did not crash testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:6 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 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, &(0x7f0000000400)=ANY=[@ANYBLOB="180200002343ffff0000000000000000850000004100000095"], &(0x7f00000000c0)='GPL\x00', 0x0, 0x0, 0x0, 0x0, 0x28, '\x00', 0x0, 0x0, 0xffffffffffffffff, 0x8, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, @void, @value}, 0x94) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000180)={'syz_tun\x00'}) bpf$BPF_LINK_CREATE_XDP(0x1c, 0x0, 0x0) syz_emit_ethernet(0x11dc0, &(0x7f00000004c0)=ANY=[], 0x0) program did not crash testing program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:6 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 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, &(0x7f0000000400)=ANY=[@ANYBLOB="180200002343ffff0000000000000000850000004100000095"], &(0x7f00000000c0)='GPL\x00', 0x0, 0x0, 0x0, 0x0, 0x28, '\x00', 0x0, 0x0, 0xffffffffffffffff, 0x8, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, @void, @value}, 0x94) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000180)={'syz_tun\x00', 0x0}) bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f0000000300)={r1, r2, 0x25, 0x2, @val=@perf_event={0xff}}, 0x18) syz_emit_ethernet(0x11dc0, 0x0, 0x0) program did not crash extracting C reproducer testing compiled C program (duration=1m40s, {Threaded:true Repeat:true RepeatTimes:0 Procs:6 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 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=1m40s, {Threaded:false Repeat:true RepeatTimes:0 Procs:6 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 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=1m40s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 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 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=1m40s, {Threaded:false Repeat:true 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 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=1m40s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false 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 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=1m40s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:false 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 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=1m40s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:false NetReset:false 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 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=1m40s, {Threaded:false Repeat:true 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 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=1m40s, {Threaded:false Repeat:true 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 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=1m40s, {Threaded:false Repeat:true 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:false VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false 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=1m40s, {Threaded:false Repeat:true 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:false VhciInjection:false Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false 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=1m40s, {Threaded:false Repeat:true 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:false VhciInjection:false Wifi:false IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false 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=1m40s, {Threaded:false Repeat:true 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:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false 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=1m40s, {Threaded:false Repeat:true 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:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:false HandleSegv:true Trace:false 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=1m40s, {Threaded:false Repeat:true 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:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:false HandleSegv:false Trace:false 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=1m40s, {Threaded:false Repeat:true 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:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:true UseTmpDir:false HandleSegv:false Trace:false 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=1m40s, {Threaded:false Repeat:true 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:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false 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 reproducing took 43m18.771161378s repro crashed as (corrupted=false): BUG: Bad page state in process syz-executor246 pfn:447c9 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c9 flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 dead000000000040 ffff88801e77f000 0000000000000000 raw: 0000000000000000 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 5313, tgid 5313 (syz-executor246), ts 86465963767, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 __alloc_pages_noprof mm/page_alloc.c:4993 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952 netif_skb_check_for_xdp net/core/dev.c:5329 [inline] netif_receive_generic_xdp net/core/dev.c:5370 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page_owner free stack trace missing Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Not tainted 6.15.0-syzkaller-13473-gc0c9379f235d #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_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:506 free_page_is_bad mm/page_alloc.c:939 [inline] free_pages_prepare mm/page_alloc.c:1240 [inline] __free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706 bpf_xdp_shrink_data net/core/filter.c:4165 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185 ____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260 netif_receive_generic_xdp net/core/dev.c:5376 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3452b9cdf0 Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0 RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828 R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720 BUG: Bad page state in process syz-executor246 pfn:447c8 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c8 flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 dead000000000040 ffff88801e77f000 0000000000000000 raw: 0000000000000000 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 5313, tgid 5313 (syz-executor246), ts 86465948821, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 __alloc_pages_noprof mm/page_alloc.c:4993 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952 netif_skb_check_for_xdp net/core/dev.c:5329 [inline] netif_receive_generic_xdp net/core/dev.c:5370 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page_owner free stack trace missing Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #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_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:506 free_page_is_bad mm/page_alloc.c:939 [inline] free_pages_prepare mm/page_alloc.c:1240 [inline] __free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706 bpf_xdp_shrink_data net/core/filter.c:4165 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185 ____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260 netif_receive_generic_xdp net/core/dev.c:5376 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3452b9cdf0 Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0 RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828 R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720 BUG: Bad page state in process syz-executor246 pfn:447c7 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c7 flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 dead000000000040 ffff88801e77f000 0000000000000000 raw: 0000000000000000 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 5313, tgid 5313 (syz-executor246), ts 86465933516, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 __alloc_pages_noprof mm/page_alloc.c:4993 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952 netif_skb_check_for_xdp net/core/dev.c:5329 [inline] netif_receive_generic_xdp net/core/dev.c:5370 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page_owner free stack trace missing Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #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_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:506 free_page_is_bad mm/page_alloc.c:939 [inline] free_pages_prepare mm/page_alloc.c:1240 [inline] __free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706 bpf_xdp_shrink_data net/core/filter.c:4165 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185 ____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260 netif_receive_generic_xdp net/core/dev.c:5376 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3452b9cdf0 Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0 RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828 R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720 BUG: Bad page state in process syz-executor246 pfn:447c6 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c6 flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 dead000000000040 ffff88801e77f000 0000000000000000 raw: 0000000000000000 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 5313, tgid 5313 (syz-executor246), ts 86465918315, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 __alloc_pages_noprof mm/page_alloc.c:4993 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952 netif_skb_check_for_xdp net/core/dev.c:5329 [inline] netif_receive_generic_xdp net/core/dev.c:5370 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page_owner free stack trace missing Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #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_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:506 free_page_is_bad mm/page_alloc.c:939 [inline] free_pages_prepare mm/page_alloc.c:1240 [inline] __free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706 bpf_xdp_shrink_data net/core/filter.c:4165 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185 ____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260 netif_receive_generic_xdp net/core/dev.c:5376 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3452b9cdf0 Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0 RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828 R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720 BUG: Bad page state in process syz-executor246 pfn:447c5 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c5 flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 dead000000000040 ffff88801e77f000 0000000000000000 raw: 0000000000000000 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 5313, tgid 5313 (syz-executor246), ts 86465902969, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 __alloc_pages_noprof mm/page_alloc.c:4993 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952 netif_skb_check_for_xdp net/core/dev.c:5329 [inline] netif_receive_generic_xdp net/core/dev.c:5370 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page_owner free stack trace missing Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #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_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:506 free_page_is_bad mm/page_alloc.c:939 [inline] free_pages_prepare mm/page_alloc.c:1240 [inline] __free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706 bpf_xdp_shrink_data net/core/filter.c:4165 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185 ____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260 netif_receive_generic_xdp net/core/dev.c:5376 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3452b9cdf0 Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0 RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828 R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720 BUG: Bad page state in process syz-executor246 pfn:447c4 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c4 flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 dead000000000040 ffff88801e77f000 0000000000000000 raw: 0000000000000000 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 5313, tgid 5313 (syz-executor246), ts 86465888109, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 __alloc_pages_noprof mm/page_alloc.c:4993 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952 netif_skb_check_for_xdp net/core/dev.c:5329 [inline] netif_receive_generic_xdp net/core/dev.c:5370 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page_owner free stack trace missing Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #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_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:506 free_page_is_bad mm/page_alloc.c:939 [inline] free_pages_prepare mm/page_alloc.c:1240 [inline] __free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706 bpf_xdp_shrink_data net/core/filter.c:4165 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185 ____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260 netif_receive_generic_xdp net/core/dev.c:5376 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3452b9cdf0 Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0 RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828 R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720 BUG: Bad page state in process syz-executor246 pfn:447c3 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c3 flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 dead000000000040 ffff88801e77f000 0000000000000000 raw: 0000000000000000 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 5313, tgid 5313 (syz-executor246), ts 86465872869, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 __alloc_pages_noprof mm/page_alloc.c:4993 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952 netif_skb_check_for_xdp net/core/dev.c:5329 [inline] netif_receive_generic_xdp net/core/dev.c:5370 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page_owner free stack trace missing Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #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_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:506 free_page_is_bad mm/page_alloc.c:939 [inline] free_pages_prepare mm/page_alloc.c:1240 [inline] __free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706 bpf_xdp_shrink_data net/core/filter.c:4165 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185 ____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260 netif_receive_generic_xdp net/core/dev.c:5376 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3452b9cdf0 Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0 RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828 R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720 BUG: Bad page state in process syz-executor246 pfn:447c2 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c2 flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 dead000000000040 ffff88801e77f000 0000000000000000 raw: 0000000000000000 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 5313, tgid 5313 (syz-executor246), ts 86465858019, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 __alloc_pages_noprof mm/page_alloc.c:4993 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952 netif_skb_check_for_xdp net/core/dev.c:5329 [inline] netif_receive_generic_xdp net/core/dev.c:5370 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page_owner free stack trace missing Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #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_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:506 free_page_is_bad mm/page_alloc.c:939 [inline] free_pages_prepare mm/page_alloc.c:1240 [inline] __free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706 bpf_xdp_shrink_data net/core/filter.c:4165 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185 ____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260 netif_receive_generic_xdp net/core/dev.c:5376 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3452b9cdf0 Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0 RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828 R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720 BUG: Bad page state in process syz-executor246 pfn:447c1 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c1 flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 dead000000000040 ffff88801e77f000 0000000000000000 raw: 0000000000000000 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 5313, tgid 5313 (syz-executor246), ts 86465842540, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 __alloc_pages_noprof mm/page_alloc.c:4993 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952 netif_skb_check_for_xdp net/core/dev.c:5329 [inline] netif_receive_generic_xdp net/core/dev.c:5370 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page_owner free stack trace missing Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #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_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:506 free_page_is_bad mm/page_alloc.c:939 [inline] free_pages_prepare mm/page_alloc.c:1240 [inline] __free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706 bpf_xdp_shrink_data net/core/filter.c:4165 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185 ____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260 netif_receive_generic_xdp net/core/dev.c:5376 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3452b9cdf0 Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0 RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828 R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720 BUG: Bad page state in process syz-executor246 pfn:447c0 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c0 flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 dead000000000040 ffff88801e77f000 0000000000000000 raw: 0000000000000000 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 5313, tgid 5313 (syz-executor246), ts 86465827178, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 __alloc_pages_noprof mm/page_alloc.c:4993 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952 netif_skb_check_for_xdp net/core/dev.c:5329 [inline] netif_receive_generic_xdp net/core/dev.c:5370 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page_owner free stack trace missing Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #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_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:506 free_page_is_bad mm/page_alloc.c:939 [inline] free_pages_prepare mm/page_alloc.c:1240 [inline] __free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706 bpf_xdp_shrink_data net/core/filter.c:4165 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185 ____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260 netif_receive_generic_xdp net/core/dev.c:5376 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3452b9cdf0 Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0 RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828 R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720 BUG: Bad page state in process syz-executor246 pfn:447bf page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447bf flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 dead000000000040 ffff88801e77f000 0000000000000000 raw: 0000000000000000 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 5313, tgid 5313 (syz-executor246), ts 86465811935, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 __alloc_pages_noprof mm/page_alloc.c:4993 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952 netif_skb_check_for_xdp net/core/dev.c:5329 [inline] netif_receive_generic_xdp net/core/dev.c:5370 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page_owner free stack trace missing Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #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_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:506 free_page_is_bad mm/page_alloc.c:939 [inline] free_pages_prepare mm/page_alloc.c:1240 [inline] __free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706 bpf_xdp_shrink_data net/core/filter.c:4165 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185 ____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260 netif_receive_generic_xdp net/core/dev.c:5376 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3452b9cdf0 Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0 RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828 R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720 final repro crashed as (corrupted=false): BUG: Bad page state in process syz-executor246 pfn:447c9 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c9 flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 dead000000000040 ffff88801e77f000 0000000000000000 raw: 0000000000000000 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 5313, tgid 5313 (syz-executor246), ts 86465963767, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 __alloc_pages_noprof mm/page_alloc.c:4993 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952 netif_skb_check_for_xdp net/core/dev.c:5329 [inline] netif_receive_generic_xdp net/core/dev.c:5370 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page_owner free stack trace missing Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Not tainted 6.15.0-syzkaller-13473-gc0c9379f235d #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_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:506 free_page_is_bad mm/page_alloc.c:939 [inline] free_pages_prepare mm/page_alloc.c:1240 [inline] __free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706 bpf_xdp_shrink_data net/core/filter.c:4165 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185 ____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260 netif_receive_generic_xdp net/core/dev.c:5376 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3452b9cdf0 Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0 RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828 R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720 BUG: Bad page state in process syz-executor246 pfn:447c8 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c8 flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 dead000000000040 ffff88801e77f000 0000000000000000 raw: 0000000000000000 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 5313, tgid 5313 (syz-executor246), ts 86465948821, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 __alloc_pages_noprof mm/page_alloc.c:4993 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952 netif_skb_check_for_xdp net/core/dev.c:5329 [inline] netif_receive_generic_xdp net/core/dev.c:5370 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page_owner free stack trace missing Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #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_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:506 free_page_is_bad mm/page_alloc.c:939 [inline] free_pages_prepare mm/page_alloc.c:1240 [inline] __free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706 bpf_xdp_shrink_data net/core/filter.c:4165 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185 ____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260 netif_receive_generic_xdp net/core/dev.c:5376 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3452b9cdf0 Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0 RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828 R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720 BUG: Bad page state in process syz-executor246 pfn:447c7 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c7 flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 dead000000000040 ffff88801e77f000 0000000000000000 raw: 0000000000000000 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 5313, tgid 5313 (syz-executor246), ts 86465933516, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 __alloc_pages_noprof mm/page_alloc.c:4993 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952 netif_skb_check_for_xdp net/core/dev.c:5329 [inline] netif_receive_generic_xdp net/core/dev.c:5370 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page_owner free stack trace missing Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #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_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:506 free_page_is_bad mm/page_alloc.c:939 [inline] free_pages_prepare mm/page_alloc.c:1240 [inline] __free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706 bpf_xdp_shrink_data net/core/filter.c:4165 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185 ____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260 netif_receive_generic_xdp net/core/dev.c:5376 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3452b9cdf0 Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0 RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828 R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720 BUG: Bad page state in process syz-executor246 pfn:447c6 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c6 flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 dead000000000040 ffff88801e77f000 0000000000000000 raw: 0000000000000000 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 5313, tgid 5313 (syz-executor246), ts 86465918315, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 __alloc_pages_noprof mm/page_alloc.c:4993 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952 netif_skb_check_for_xdp net/core/dev.c:5329 [inline] netif_receive_generic_xdp net/core/dev.c:5370 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page_owner free stack trace missing Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #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_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:506 free_page_is_bad mm/page_alloc.c:939 [inline] free_pages_prepare mm/page_alloc.c:1240 [inline] __free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706 bpf_xdp_shrink_data net/core/filter.c:4165 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185 ____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260 netif_receive_generic_xdp net/core/dev.c:5376 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3452b9cdf0 Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0 RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828 R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720 BUG: Bad page state in process syz-executor246 pfn:447c5 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c5 flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 dead000000000040 ffff88801e77f000 0000000000000000 raw: 0000000000000000 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 5313, tgid 5313 (syz-executor246), ts 86465902969, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 __alloc_pages_noprof mm/page_alloc.c:4993 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952 netif_skb_check_for_xdp net/core/dev.c:5329 [inline] netif_receive_generic_xdp net/core/dev.c:5370 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page_owner free stack trace missing Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #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_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:506 free_page_is_bad mm/page_alloc.c:939 [inline] free_pages_prepare mm/page_alloc.c:1240 [inline] __free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706 bpf_xdp_shrink_data net/core/filter.c:4165 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185 ____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260 netif_receive_generic_xdp net/core/dev.c:5376 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3452b9cdf0 Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0 RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828 R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720 BUG: Bad page state in process syz-executor246 pfn:447c4 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c4 flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 dead000000000040 ffff88801e77f000 0000000000000000 raw: 0000000000000000 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 5313, tgid 5313 (syz-executor246), ts 86465888109, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 __alloc_pages_noprof mm/page_alloc.c:4993 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952 netif_skb_check_for_xdp net/core/dev.c:5329 [inline] netif_receive_generic_xdp net/core/dev.c:5370 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page_owner free stack trace missing Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #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_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:506 free_page_is_bad mm/page_alloc.c:939 [inline] free_pages_prepare mm/page_alloc.c:1240 [inline] __free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706 bpf_xdp_shrink_data net/core/filter.c:4165 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185 ____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260 netif_receive_generic_xdp net/core/dev.c:5376 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3452b9cdf0 Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0 RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828 R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720 BUG: Bad page state in process syz-executor246 pfn:447c3 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c3 flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 dead000000000040 ffff88801e77f000 0000000000000000 raw: 0000000000000000 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 5313, tgid 5313 (syz-executor246), ts 86465872869, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 __alloc_pages_noprof mm/page_alloc.c:4993 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952 netif_skb_check_for_xdp net/core/dev.c:5329 [inline] netif_receive_generic_xdp net/core/dev.c:5370 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page_owner free stack trace missing Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #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_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:506 free_page_is_bad mm/page_alloc.c:939 [inline] free_pages_prepare mm/page_alloc.c:1240 [inline] __free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706 bpf_xdp_shrink_data net/core/filter.c:4165 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185 ____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260 netif_receive_generic_xdp net/core/dev.c:5376 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3452b9cdf0 Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0 RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828 R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720 BUG: Bad page state in process syz-executor246 pfn:447c2 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c2 flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 dead000000000040 ffff88801e77f000 0000000000000000 raw: 0000000000000000 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 5313, tgid 5313 (syz-executor246), ts 86465858019, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 __alloc_pages_noprof mm/page_alloc.c:4993 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952 netif_skb_check_for_xdp net/core/dev.c:5329 [inline] netif_receive_generic_xdp net/core/dev.c:5370 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page_owner free stack trace missing Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #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_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:506 free_page_is_bad mm/page_alloc.c:939 [inline] free_pages_prepare mm/page_alloc.c:1240 [inline] __free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706 bpf_xdp_shrink_data net/core/filter.c:4165 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185 ____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260 netif_receive_generic_xdp net/core/dev.c:5376 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3452b9cdf0 Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0 RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828 R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720 BUG: Bad page state in process syz-executor246 pfn:447c1 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c1 flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 dead000000000040 ffff88801e77f000 0000000000000000 raw: 0000000000000000 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 5313, tgid 5313 (syz-executor246), ts 86465842540, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 __alloc_pages_noprof mm/page_alloc.c:4993 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952 netif_skb_check_for_xdp net/core/dev.c:5329 [inline] netif_receive_generic_xdp net/core/dev.c:5370 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page_owner free stack trace missing Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #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_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:506 free_page_is_bad mm/page_alloc.c:939 [inline] free_pages_prepare mm/page_alloc.c:1240 [inline] __free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706 bpf_xdp_shrink_data net/core/filter.c:4165 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185 ____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260 netif_receive_generic_xdp net/core/dev.c:5376 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3452b9cdf0 Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0 RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828 R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720 BUG: Bad page state in process syz-executor246 pfn:447c0 page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447c0 flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 dead000000000040 ffff88801e77f000 0000000000000000 raw: 0000000000000000 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 5313, tgid 5313 (syz-executor246), ts 86465827178, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 __alloc_pages_noprof mm/page_alloc.c:4993 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952 netif_skb_check_for_xdp net/core/dev.c:5329 [inline] netif_receive_generic_xdp net/core/dev.c:5370 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page_owner free stack trace missing Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #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_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:506 free_page_is_bad mm/page_alloc.c:939 [inline] free_pages_prepare mm/page_alloc.c:1240 [inline] __free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706 bpf_xdp_shrink_data net/core/filter.c:4165 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185 ____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260 netif_receive_generic_xdp net/core/dev.c:5376 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3452b9cdf0 Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0 RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828 R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720 BUG: Bad page state in process syz-executor246 pfn:447bf page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x447bf flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 dead000000000040 ffff88801e77f000 0000000000000000 raw: 0000000000000000 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 5313, tgid 5313 (syz-executor246), ts 86465811935, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 __alloc_pages_noprof mm/page_alloc.c:4993 [inline] alloc_pages_bulk_noprof+0x560/0x710 mm/page_alloc.c:4913 alloc_pages_bulk_node_noprof include/linux/gfp.h:254 [inline] __page_pool_alloc_pages_slow+0x127/0x740 net/core/page_pool.c:567 page_pool_alloc_netmem include/net/page_pool/helpers.h:128 [inline] page_pool_alloc include/net/page_pool/helpers.h:160 [inline] page_pool_dev_alloc include/net/page_pool/helpers.h:181 [inline] skb_pp_cow_data+0xb47/0x13e0 net/core/skbuff.c:952 netif_skb_check_for_xdp net/core/dev.c:5329 [inline] netif_receive_generic_xdp net/core/dev.c:5370 [inline] do_xdp_generic+0x699/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 page_owner free stack trace missing Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz-executor246 Tainted: G B 6.15.0-syzkaller-13473-gc0c9379f235d #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_lvl+0x189/0x250 lib/dump_stack.c:120 bad_page+0x180/0x1c0 mm/page_alloc.c:506 free_page_is_bad mm/page_alloc.c:939 [inline] free_pages_prepare mm/page_alloc.c:1240 [inline] __free_frozen_pages+0xe17/0xe70 mm/page_alloc.c:2706 bpf_xdp_shrink_data net/core/filter.c:4165 [inline] bpf_xdp_frags_shrink_tail+0x3a5/0x750 net/core/filter.c:4185 ____bpf_xdp_adjust_tail net/core/filter.c:4210 [inline] bpf_xdp_adjust_tail+0x1d6/0x220 net/core/filter.c:4203 bpf_prog_f476d5219b92964a+0x1e/0x24 __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run_xdp include/net/xdp.h:657 [inline] bpf_prog_run_generic_xdp+0x64b/0x14c0 net/core/dev.c:5260 netif_receive_generic_xdp net/core/dev.c:5376 [inline] do_xdp_generic+0x9f7/0x11a0 net/core/dev.c:5438 __netif_receive_skb_core+0x1823/0x4180 net/core/dev.c:5788 __netif_receive_skb_one_core net/core/dev.c:5975 [inline] __netif_receive_skb+0x72/0x380 net/core/dev.c:6090 netif_receive_skb_internal net/core/dev.c:6176 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6235 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x298e/0x3ce0 drivers/net/tun.c:1938 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1984 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3452b9cdf0 Code: 40 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 80 3d b1 e2 07 00 00 74 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 48 83 ec 28 48 89 RSP: 002b:00007ffc306646f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3452b9cdf0 RDX: 0000000000011dc0 RSI: 00002000000004c0 RDI: 00000000000000c8 RBP: 0000000000000000 R08: 00007ffc30664828 R09: 00007ffc30664828 R10: 00007ffc30664828 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc30664730 R15: 00007ffc30664720