kernel BUG at include/linux/mm.h:547! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 16549 Comm: syz-executor.4 Not tainted 5.1.0-rc1+ #32 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:put_page_testzero include/linux/mm.h:547 [inline] RIP: 0010:put_page include/linux/mm.h:993 [inline] RIP: 0010:__skb_frag_unref include/linux/skbuff.h:2891 [inline] RIP: 0010:skb_release_data+0x5ac/0x7a0 net/core/skbuff.c:571 Code: 41 5d 41 5e 41 5f 5d c3 e8 c1 c0 fb fb 4c 8d 63 ff e9 b1 fc ff ff e8 b3 c0 fb fb 48 c7 c6 c0 88 fc 87 4c 89 e7 e8 34 1e 25 fc <0f> 0b e8 9d c0 fb fb 4d 8d 66 0e 48 b8 00 00 00 00 00 fc ff df 4c RSP: 0018:ffff8880ae807508 EFLAGS: 00010206 RAX: ffff88805871e380 RBX: ffffea0001785234 RCX: 0000000000000000 RDX: 0000000000000100 RSI: ffffffff8199dda2 RDI: ffffed1015d00e85 RBP: ffff8880ae807570 R08: 0000000000000021 R09: ffff88805871ecc0 R10: 0000000000000000 R11: 0000000000000000 R12: ffffea0001785200 R13: ffff88808caf9530 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f1ef5524700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2bc21000 CR3: 00000000a57e1000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: skb_release_all+0x4d/0x60 net/core/skbuff.c:631 __kfree_skb+0x16/0x30 net/core/skbuff.c:645 sk_wmem_free_skb include/net/sock.h:1463 [inline] tcp_rtx_queue_purge net/ipv4/tcp.c:2541 [inline] tcp_write_queue_purge+0x425/0x7d0 net/ipv4/tcp.c:2554 tcp_reset+0x109/0x4b0 net/ipv4/tcp_input.c:4053 tcp_validate_incoming+0xa2d/0x1660 net/ipv4/tcp_input.c:5414 tcp_rcv_state_process+0xb6b/0x4d93 net/ipv4/tcp_input.c:6052 tcp_v6_do_rcv+0x888/0x13c0 net/ipv6/tcp_ipv6.c:1353 tcp_v6_rcv+0x2c22/0x3530 net/ipv6/tcp_ipv6.c:1557 ip6_protocol_deliver_rcu+0x303/0x16c0 net/ipv6/ip6_input.c:394 ip6_input_finish+0x84/0x170 net/ipv6/ip6_input.c:434 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ip6_input+0xe4/0x3f0 net/ipv6/ip6_input.c:443 dst_input include/net/dst.h:450 [inline] ip6_rcv_finish+0x1e7/0x320 net/ipv6/ip6_input.c:76 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ipv6_rcv+0x10e/0x420 net/ipv6/ip6_input.c:272 __netif_receive_skb_one_core+0x115/0x1a0 net/core/dev.c:4973 __netif_receive_skb+0x2c/0x1c0 net/core/dev.c:5083 process_backlog+0x206/0x750 net/core/dev.c:5923 napi_poll net/core/dev.c:6346 [inline] net_rx_action+0x4fa/0x1070 net/core/dev.c:6412 __do_softirq+0x266/0x95a kernel/softirq.c:293 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1027 do_softirq.part.0+0x11a/0x170 kernel/softirq.c:338 do_softirq kernel/softirq.c:330 [inline] __local_bh_enable_ip+0x211/0x270 kernel/softirq.c:190 local_bh_enable include/linux/bottom_half.h:32 [inline] inet_csk_listen_stop+0x1e0/0x860 net/ipv4/inet_connection_sock.c:1002 tcp_close+0xd3e/0x10c0 net/ipv4/tcp.c:2361 inet_release+0x105/0x1f0 net/ipv4/af_inet.c:428 inet6_release+0x53/0x80 net/ipv6/af_inet6.c:473 __sock_release+0xd3/0x2b0 net/socket.c:579 sock_close+0x1b/0x30 net/socket.c:1162 __fput+0x2e5/0x8d0 fs/file_table.c:278 ____fput+0x16/0x20 fs/file_table.c:309 task_work_run+0x14a/0x1c0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x90a/0x2fa0 kernel/exit.c:876 do_group_exit+0x135/0x370 kernel/exit.c:980 get_signal+0x399/0x1d50 kernel/signal.c:2577 do_signal+0x87/0x1940 arch/x86/kernel/signal.c:816 exit_to_usermode_loop+0x244/0x2c0 arch/x86/entry/common.c:162 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x52d/0x610 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458209 Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f1ef5523cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 000000000073c048 RCX: 0000000000458209 RDX: 00000000004c5f42 RSI: 0000000000000081 RDI: 000000000073c04c RBP: 000000000073c040 R08: 000000000000020c R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 000000000073c04c R13: 0000000000a4fb5f R14: 00007f1ef55249c0 R15: 000000000073c04c Modules linked in: ---[ end trace 27c5ae33418937a5 ]--- RIP: 0010:put_page_testzero include/linux/mm.h:547 [inline] RIP: 0010:put_page include/linux/mm.h:993 [inline] RIP: 0010:__skb_frag_unref include/linux/skbuff.h:2891 [inline] RIP: 0010:skb_release_data+0x5ac/0x7a0 net/core/skbuff.c:571 Code: 41 5d 41 5e 41 5f 5d c3 e8 c1 c0 fb fb 4c 8d 63 ff e9 b1 fc ff ff e8 b3 c0 fb fb 48 c7 c6 c0 88 fc 87 4c 89 e7 e8 34 1e 25 fc <0f> 0b e8 9d c0 fb fb 4d 8d 66 0e 48 b8 00 00 00 00 00 fc ff df 4c RSP: 0018:ffff8880ae807508 EFLAGS: 00010206 RAX: ffff88805871e380 RBX: ffffea0001785234 RCX: 0000000000000000 RDX: 0000000000000100 RSI: ffffffff8199dda2 RDI: ffffed1015d00e85 RBP: ffff8880ae807570 R08: 0000000000000021 R09: ffff88805871ecc0 R10: 0000000000000000 R11: 0000000000000000 R12: ffffea0001785200 R13: ffff88808caf9530 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f1ef5524700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2bc21000 CR3: 00000000a57e1000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600