Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 UID: 0 PID: 8489 Comm: syz.5.592 Not tainted 6.13.0-rc3-syzkaller-00301-gbcde95ce32b6 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:_compound_head include/linux/page-flags.h:242 [inline] RIP: 0010:put_page+0x21/0x280 include/linux/mm.h:1553 Code: 90 90 90 90 90 90 90 90 90 41 54 55 53 48 89 fb e8 e4 dd a2 f8 48 8d 7b 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 20 02 00 00 4c 8b 63 08 31 ff 4c 89 e5 83 e5 01 RSP: 0018:ffffc90000007428 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff88f7f918 RDX: 0000000000000001 RSI: ffffffff88f6716c RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000004 R12: ffff888025d0d180 R13: ffff88806133f140 R14: ffff88806133f170 R15: 0000000000000007 FS: 0000000000000000(0000) GS:ffff88802b400000(0063) knlGS:00000000f50b5b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000200012c0 CR3: 0000000052fe4000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_page_unref include/linux/skbuff_ref.h:43 [inline] __skb_frag_unref include/linux/skbuff_ref.h:56 [inline] skb_release_data+0x4d7/0x730 net/core/skbuff.c:1119 skb_release_all net/core/skbuff.c:1190 [inline] __kfree_skb+0x4f/0x70 net/core/skbuff.c:1204 tcp_wmem_free_skb include/net/tcp.h:306 [inline] tcp_rtx_queue_unlink_and_free include/net/tcp.h:2091 [inline] tcp_clean_rtx_queue net/ipv4/tcp_input.c:3436 [inline] tcp_ack+0x1eb7/0x5ba0 net/ipv4/tcp_input.c:4032 tcp_rcv_state_process+0xdd4/0x4c40 net/ipv4/tcp_input.c:6805 tcp_v4_do_rcv+0x1ad/0xa90 net/ipv4/tcp_ipv4.c:1939 tcp_v4_rcv+0x33b4/0x43a0 net/ipv4/tcp_ipv4.c:2351 ip_protocol_deliver_rcu+0xba/0x4c0 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x316/0x570 net/ipv4/ip_input.c:233 NF_HOOK include/linux/netfilter.h:314 [inline] NF_HOOK include/linux/netfilter.h:308 [inline] ip_local_deliver+0x18e/0x1f0 net/ipv4/ip_input.c:254 dst_input include/net/dst.h:460 [inline] ip_rcv_finish net/ipv4/ip_input.c:447 [inline] NF_HOOK include/linux/netfilter.h:314 [inline] NF_HOOK include/linux/netfilter.h:308 [inline] ip_rcv+0x2c3/0x5d0 net/ipv4/ip_input.c:567 __netif_receive_skb_one_core+0x199/0x1e0 net/core/dev.c:5672 __netif_receive_skb+0x1d/0x160 net/core/dev.c:5785 process_backlog+0x443/0x15f0 net/core/dev.c:6117 __napi_poll.constprop.0+0xb7/0x550 net/core/dev.c:6883 napi_poll net/core/dev.c:6952 [inline] net_rx_action+0xa94/0x1010 net/core/dev.c:7074 handle_softirqs+0x213/0x8f0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 instr_sysvec_call_function_single arch/x86/kernel/smp.c:266 [inline] sysvec_call_function_single+0xa4/0xc0 arch/x86/kernel/smp.c:266 asm_sysvec_call_function_single+0x1a/0x20 arch/x86/include/asm/idtentry.h:709 RIP: 0010:finish_task_switch.isra.0+0x220/0xcc0 kernel/sched/core.c:5243 Code: a9 0a 00 00 44 8b 0d 03 b3 b4 0e 45 85 c9 0f 85 c0 01 00 00 48 89 df e8 ae f8 ff ff e8 09 89 38 00 fb 65 48 8b 1d 50 75 9b 7e <48> 8d bb f8 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 RSP: 0018:ffffc900279af5a8 EFLAGS: 00000202 RAX: 00000000000052fd RBX: ffff8880254a4880 RCX: 1ffffffff2d37e77 RDX: 0000000000000000 RSI: ffffffff8b4cd180 RDI: ffffffff8bb16fc0 RBP: ffffc900279af5f0 R08: 0000000000000001 R09: fffffbfff2d36d9a R10: ffffffff969b6cd7 R11: 0000000000000001 R12: ffff88802b43fb20 R13: ffff8880224ac880 R14: 0000000000000000 R15: ffff88802b43ed00 context_switch kernel/sched/core.c:5372 [inline] __schedule+0xe60/0x5ad0 kernel/sched/core.c:6756 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7078 irqentry_exit+0x36/0x90 kernel/entry/common.c:354 asm_sysvec_call_function_single+0x1a/0x20 arch/x86/include/asm/idtentry.h:709 RIP: 0010:trace_lock_release include/trace/events/lock.h:69 [inline] RIP: 0010:lock_release+0x4dd/0x6f0 kernel/locking/lockdep.c:5860 Code: 00 00 49 8b 7e 08 4c 89 e6 48 8b 54 24 08 e8 4a 5a fe ff 65 ff 0d 2b 8e 8d 7e 0f 85 a7 fb ff ff e8 48 95 95 ff e9 a4 fb ff ff fe ce 08 00 84 c0 0f 85 cd fb ff ff 80 3d 18 3b 8f 0e 00 0f 85 RSP: 0018:ffffc900279af878 EFLAGS: 00000247 RAX: 0000000000000001 RBX: 1ffff92004f35f11 RCX: ffffffff817647f9 RDX: fffffbfff2039c9b RSI: 0000000000000008 RDI: ffffffff901ce4d0 RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff2039c9a R10: ffffffff901ce4d7 R11: 0000000000000001 R12: ffffffff8df4ef60 R13: ffffc900279afac4 R14: ffffc900279afab0 R15: 0000000000000000 might_alloc include/linux/sched/mm.h:319 [inline] prepare_alloc_pages.constprop.0+0x15c/0x560 mm/page_alloc.c:4512 __alloc_pages_noprof+0x190/0x25b0 mm/page_alloc.c:4742 alloc_pages_mpol_noprof+0x2c9/0x610 mm/mempolicy.c:2269 kimage_alloc_pages+0x75/0x300 kernel/kexec_core.c:273 kimage_alloc_page+0x132/0x890 kernel/kexec_core.c:654 kimage_load_normal_segment kernel/kexec_core.c:735 [inline] kimage_load_segment+0x1fc/0x770 kernel/kexec_core.c:858 do_kexec_load+0x506/0x8c0 kernel/kexec.c:155 __do_compat_sys_kexec_load+0x2cf/0x330 kernel/kexec.c:303 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0x73/0x120 arch/x86/entry/common.c:386 do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7f84579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f50b555c EFLAGS: 00000296 ORIG_RAX: 000000000000011b RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000000001 RDX: 00000000200012c0 RSI: 0000000000160000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:_compound_head include/linux/page-flags.h:242 [inline] RIP: 0010:put_page+0x21/0x280 include/linux/mm.h:1553 Code: 90 90 90 90 90 90 90 90 90 41 54 55 53 48 89 fb e8 e4 dd a2 f8 48 8d 7b 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 20 02 00 00 4c 8b 63 08 31 ff 4c 89 e5 83 e5 01 RSP: 0018:ffffc90000007428 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff88f7f918 RDX: 0000000000000001 RSI: ffffffff88f6716c RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000004 R12: ffff888025d0d180 R13: ffff88806133f140 R14: ffff88806133f170 R15: 0000000000000007 FS: 0000000000000000(0000) GS:ffff88802b400000(0063) knlGS:00000000f50b5b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000200012c0 CR3: 0000000052fe4000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 90 nop 1: 90 nop 2: 90 nop 3: 90 nop 4: 90 nop 5: 90 nop 6: 90 nop 7: 90 nop 8: 90 nop 9: 41 54 push %r12 b: 55 push %rbp c: 53 push %rbx d: 48 89 fb mov %rdi,%rbx 10: e8 e4 dd a2 f8 call 0xf8a2ddf9 15: 48 8d 7b 08 lea 0x8(%rbx),%rdi 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 20 02 00 00 jne 0x254 34: 4c 8b 63 08 mov 0x8(%rbx),%r12 38: 31 ff xor %edi,%edi 3a: 4c 89 e5 mov %r12,%rbp 3d: 83 e5 01 and $0x1,%ebp