flags: 0xfff00000000000() raw: 00fff00000000000 ffffea000121ee08 ffff88813fffb8f8 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: VM_BUG_ON_PAGE(page_ref_count(page) == 0) ------------[ cut here ]------------ kernel BUG at include/linux/mm.h:519! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 17172 Comm: syz-executor.5 Not tainted 4.19.166-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:put_page_testzero include/linux/mm.h:519 [inline] RIP: 0010:put_page include/linux/mm.h:962 [inline] RIP: 0010:__skb_frag_unref include/linux/skbuff.h:2828 [inline] RIP: 0010:skb_release_data+0x3bf/0x920 net/core/skbuff.c:568 Code: a8 ef fa e9 2a fe ff ff e8 8e b4 d6 fa 48 8d 6b ff e9 b5 fe ff ff e8 80 b4 d6 fa 48 c7 c6 20 cf 4b 89 48 89 ef e8 11 86 fe fa <0f> 0b 4c 8b 34 24 e8 66 b4 d6 fa 49 8d 7e 08 48 b8 00 00 00 00 00 RSP: 0018:ffff8880ba1075d8 EFLAGS: 00010206 RAX: ffff8880540506c0 RBX: ffffea0002340e34 RCX: 0000000000000000 RDX: 0000000000000100 RSI: ffffffff868e1c9f RDI: ffffea0002340e38 RBP: ffffea0002340e00 R08: 000000000000003e R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88809e438330 FS: 0000000002bd5940(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3103a000 CR3: 00000000961b0000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_release_all net/core/skbuff.c:631 [inline] __kfree_skb+0x46/0x60 net/core/skbuff.c:645 sk_wmem_free_skb include/net/sock.h:1466 [inline] tcp_write_queue_purge+0x24d/0x800 net/ipv4/tcp.c:2543 tcp_reset+0xfe/0x490 net/ipv4/tcp_input.c:4079 tcp_validate_incoming+0x117d/0x1670 net/ipv4/tcp_input.c:5450 tcp_rcv_state_process+0xb7a/0x4c50 net/ipv4/tcp_input.c:6090 tcp_v6_do_rcv+0x47c/0x1370 net/ipv6/tcp_ipv6.c:1351 tcp_v6_rcv+0x26b8/0x3990 net/ipv6/tcp_ipv6.c:1555 ip6_input_finish+0x46a/0x17a0 net/ipv6/ip6_input.c:395 NF_HOOK include/linux/netfilter.h:289 [inline] ip6_input+0xcf/0x3c0 net/ipv6/ip6_input.c:438 dst_input include/net/dst.h:461 [inline] ip6_rcv_finish+0x1d9/0x2f0 net/ipv6/ip6_input.c:76 NF_HOOK include/linux/netfilter.h:289 [inline] ipv6_rcv+0xf2/0x3f0 net/ipv6/ip6_input.c:283 __netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:4954 __netif_receive_skb+0x27/0x1c0 net/core/dev.c:5066 process_backlog+0x241/0x700 net/core/dev.c:5848 napi_poll net/core/dev.c:6272 [inline] net_rx_action+0x4ac/0xfb0 net/core/dev.c:6338 __do_softirq+0x26c/0x9a0 kernel/softirq.c:292 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1092 do_softirq.part.0+0x160/0x1c0 kernel/softirq.c:336 do_softirq kernel/softirq.c:328 [inline] __local_bh_enable_ip+0x20e/0x270 kernel/softirq.c:189 local_bh_enable include/linux/bottom_half.h:32 [inline] inet_csk_listen_stop+0x1e7/0x8a0 net/ipv4/inet_connection_sock.c:1030 tcp_close+0xca3/0xfd0 net/ipv4/tcp.c:2351 inet_release+0xd7/0x1e0 net/ipv4/af_inet.c:427 inet6_release+0x4c/0x70 net/ipv6/af_inet6.c:472 __sock_release+0xcd/0x2a0 net/socket.c:579 sock_close+0x15/0x20 net/socket.c:1140 __fput+0x2ce/0x890 fs/file_table.c:278 task_work_run+0x148/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x417b71 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 a4 1a 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007ffcad466ea0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000417b71 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000004 RBP: 0000000000000001 R08: 0000000000000520 R09: 0000000031ade524 R10: 00007ffcad466f80 R11: 0000000000000293 R12: 000000000119ca00 R13: 000000000119ca00 R14: 00000000000003e8 R15: 000000000119bf8c Modules linked in: ---[ end trace 5c2b1290e6b6e727 ]--- RIP: 0010:put_page_testzero include/linux/mm.h:519 [inline] RIP: 0010:put_page include/linux/mm.h:962 [inline] RIP: 0010:__skb_frag_unref include/linux/skbuff.h:2828 [inline] RIP: 0010:skb_release_data+0x3bf/0x920 net/core/skbuff.c:568 Code: a8 ef fa e9 2a fe ff ff e8 8e b4 d6 fa 48 8d 6b ff e9 b5 fe ff ff e8 80 b4 d6 fa 48 c7 c6 20 cf 4b 89 48 89 ef e8 11 86 fe fa <0f> 0b 4c 8b 34 24 e8 66 b4 d6 fa 49 8d 7e 08 48 b8 00 00 00 00 00 RSP: 0018:ffff8880ba1075d8 EFLAGS: 00010206 RAX: ffff8880540506c0 RBX: ffffea0002340e34 RCX: 0000000000000000 RDX: 0000000000000100 RSI: ffffffff868e1c9f RDI: ffffea0002340e38 RBP: ffffea0002340e00 R08: 000000000000003e R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88809e438330 FS: 0000000002bd5940(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3103a000 CR3: 00000000961b0000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400