flags: 0xfff00000000000() raw: 00fff00000000000 ffffea0002cf9a08 ffff88813fffb8f8 0000000000000000 raw: 0000000000000000 0000000000000003 00000000ffffff7f 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: 0 PID: 31562 Comm: syz-executor.0 Not tainted 4.19.211-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:2842 [inline] RIP: 0010:skb_release_data+0x3bf/0x920 net/core/skbuff.c:577 Code: b4 0a fb e9 2a fe ff ff e8 3e c9 f1 fa 48 8d 6b ff e9 b5 fe ff ff e8 30 c9 f1 fa 48 c7 c6 20 50 4c 89 48 89 ef e8 e1 5a 19 fb <0f> 0b 4c 8b 34 24 e8 16 c9 f1 fa 49 8d 7e 08 48 b8 00 00 00 00 00 RSP: 0018:ffff8880ba0075e8 EFLAGS: 00010206 RAX: ffff8880a7cda540 RBX: ffffea0001491634 RCX: 0000000000000000 RDX: 0000000000000100 RSI: ffffffff8670bc4f RDI: ffffea0001491638 RBP: ffffea0001491600 R08: 000000000000003e R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88809f62b4f0 FS: 0000555555c9c400(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3272f000 CR3: 000000009bd5f000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_release_all net/core/skbuff.c:640 [inline] __kfree_skb+0x46/0x60 net/core/skbuff.c:654 sk_wmem_free_skb include/net/sock.h:1468 [inline] tcp_write_queue_purge+0x24d/0x800 net/ipv4/tcp.c:2543 tcp_reset+0xfe/0x490 net/ipv4/tcp_input.c:4085 tcp_validate_incoming+0x117d/0x1670 net/ipv4/tcp_input.c:5456 tcp_rcv_state_process+0xb7a/0x4c50 net/ipv4/tcp_input.c:6096 tcp_v6_do_rcv+0x47c/0x1370 net/ipv6/tcp_ipv6.c:1373 tcp_v6_rcv+0x26b8/0x3990 net/ipv6/tcp_ipv6.c:1577 ip6_input_finish+0x46a/0x17a0 net/ipv6/ip6_input.c:385 NF_HOOK include/linux/netfilter.h:289 [inline] ip6_input+0xcf/0x3c0 net/ipv6/ip6_input.c:428 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:273 __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:5849 napi_poll net/core/dev.c:6280 [inline] net_rx_action+0x4ac/0xfb0 net/core/dev.c:6346 __do_softirq+0x265/0x980 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:1033 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:599 sock_close+0x15/0x20 net/socket.c:1214 __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:0x7ff68cbfec2b Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007fff9e6a5450 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007ff68cbfec2b RDX: 0000000000000000 RSI: 0000001b32728840 RDI: 0000000000000004 RBP: 00007ff68cd60960 R08: 0000000000000000 R09: 000000008c10b390 R10: 0000000000000000 R11: 0000000000000293 R12: 00000000000b9cf0 R13: 00007fff9e6a5550 R14: 00007ff68cd5f030 R15: 0000000000000032 Modules linked in: ---[ end trace 7e764f7d6b4a1bab ]--- 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:2842 [inline] RIP: 0010:skb_release_data+0x3bf/0x920 net/core/skbuff.c:577 Code: b4 0a fb e9 2a fe ff ff e8 3e c9 f1 fa 48 8d 6b ff e9 b5 fe ff ff e8 30 c9 f1 fa 48 c7 c6 20 50 4c 89 48 89 ef e8 e1 5a 19 fb <0f> 0b 4c 8b 34 24 e8 16 c9 f1 fa 49 8d 7e 08 48 b8 00 00 00 00 00 RSP: 0018:ffff8880ba0075e8 EFLAGS: 00010206 RAX: ffff8880a7cda540 RBX: ffffea0001491634 RCX: 0000000000000000 RDX: 0000000000000100 RSI: ffffffff8670bc4f RDI: ffffea0001491638 RBP: ffffea0001491600 R08: 000000000000003e R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88809f62b4f0 FS: 0000555555c9c400(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3272f000 CR3: 000000009bd5f000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400