flags: 0xfff00000000000() raw: 00fff00000000000 ffffea00014d9c08 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: 19950 Comm: syz-executor.3 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:ffff8880ba0075a0 EFLAGS: 00010206 RAX: ffff888095164340 RBX: ffffea0002962234 RCX: 0000000000000000 RDX: 0000000000000100 RSI: ffffffff8670bc4f RDI: ffffea0002962238 RBP: ffffea0002962200 R08: 000000000000003e R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88809f11c7b0 FS: 00007f7af49c2700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c029eef000 CR3: 0000000096d2b000 CR4: 00000000003426f0 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 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x215/0x260 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:arch_local_save_flags arch/x86/include/asm/paravirt.h:784 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/paravirt.h:806 [inline] RIP: 0010:lock_release+0xd2/0x8b0 kernel/locking/lockdep.c:3923 Code: f1 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 0f 85 c3 06 00 00 48 83 3d c6 37 a6 08 00 0f 84 1b 05 00 00 9c 58 <0f> 1f 44 00 00 48 ba 00 00 00 00 00 fc ff df 48 89 04 24 48 c7 c0 RSP: 0018:ffff88809f97f690 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000286 RBX: ffff888095164340 RCX: ffffffff81518c83 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff888095164bc4 RBP: ffffffff89f85fa0 R08: 0000000000000000 R09: ffffed101740455a R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff11013f2fed5 R13: ffffffff819ec55f R14: dead000000000100 R15: 00007f7af521f000 page_remove_rmap+0xe5/0x120 mm/rmap.c:1297 zap_pte_range mm/memory.c:1350 [inline] zap_pmd_range mm/memory.c:1463 [inline] zap_pud_range mm/memory.c:1492 [inline] zap_p4d_range mm/memory.c:1513 [inline] unmap_page_range+0x147d/0x2c50 mm/memory.c:1534 unmap_single_vma+0x198/0x300 mm/memory.c:1579 unmap_vmas+0xa9/0x180 mm/memory.c:1609 exit_mmap+0x2b9/0x530 mm/mmap.c:3093 __mmput kernel/fork.c:1016 [inline] mmput+0x14e/0x4a0 kernel/fork.c:1037 exit_mm kernel/exit.c:549 [inline] do_exit+0xaec/0x2be0 kernel/exit.c:857 do_group_exit+0x125/0x310 kernel/exit.c:967 get_signal+0x3f2/0x1f70 kernel/signal.c:2589 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163 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:0x7f7af606dfe9 Code: Bad RIP value. RSP: 002b:00007f7af49c2218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f7af6181038 RCX: 00007f7af606dfe9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f7af6181038 RBP: 00007f7af6181030 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7af618103c R13: 00007fffafd0359f R14: 00007f7af49c2300 R15: 0000000000022000 Modules linked in: ---[ end trace 79245cd6bf8eabc4 ]--- 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:ffff8880ba0075a0 EFLAGS: 00010206 RAX: ffff888095164340 RBX: ffffea0002962234 RCX: 0000000000000000 RDX: 0000000000000100 RSI: ffffffff8670bc4f RDI: ffffea0002962238 RBP: ffffea0002962200 R08: 000000000000003e R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88809f11c7b0 FS: 00007f7af49c2700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7af606dfbf CR3: 0000000096d2b000 CR4: 00000000003426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 7: fc ff df a: 48 c1 e8 03 shr $0x3,%rax e: 80 3c 10 00 cmpb $0x0,(%rax,%rdx,1) 12: 0f 85 c3 06 00 00 jne 0x6db 18: 48 83 3d c6 37 a6 08 cmpq $0x0,0x8a637c6(%rip) # 0x8a637e6 1f: 00 20: 0f 84 1b 05 00 00 je 0x541 26: 9c pushfq 27: 58 pop %rax * 28: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) <-- trapping instruction 2d: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 34: fc ff df 37: 48 89 04 24 mov %rax,(%rsp) 3b: 48 rex.W 3c: c7 .byte 0xc7 3d: c0 .byte 0xc0