BUG: please report to dccp@vger.kernel.org => prev = 0, last = 0 at net/dccp/ccids/lib/packet_history.c:414/tfrc_rx_hist_sample_rtt() CPU: 3 UID: 0 PID: 8167 Comm: syz.0.585 Not tainted 6.13.0-rc1-syzkaller-00337-g7503345ac5f5 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 tfrc_rx_hist_sample_rtt+0x3e1/0x4a0 net/dccp/ccids/lib/packet_history.c:414 ccid3_hc_rx_packet_recv+0x443/0xf50 net/dccp/ccids/ccid3.c:760 ccid_hc_rx_packet_recv net/dccp/ccid.h:182 [inline] dccp_deliver_input_to_ccids+0xe3/0x270 net/dccp/input.c:176 dccp_rcv_established net/dccp/input.c:374 [inline] dccp_rcv_established+0x10a/0x160 net/dccp/input.c:364 dccp_v4_do_rcv+0x171/0x1b0 net/dccp/ipv4.c:680 sk_backlog_rcv include/net/sock.h:1121 [inline] __sk_receive_skb+0x7aa/0x890 net/core/sock.c:568 dccp_v4_rcv+0x1153/0x1d30 net/dccp/ipv4.c:903 ip_protocol_deliver_rcu+0x441/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:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:655 irq_exit_rcu+0x9/0x30 kernel/softirq.c:671 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:orc_ip arch/x86/kernel/unwind_orc.c:80 [inline] RIP: 0010:__orc_find+0x86/0xf0 arch/x86/kernel/unwind_orc.c:102 Code: f2 48 d1 fa 48 8d 5c 95 00 48 89 da 48 c1 ea 03 0f b6 34 0a 48 89 da 83 e2 07 83 c2 03 40 38 f2 7c 05 40 84 f6 75 4b 48 63 13 <48> 01 da 49 39 d5 73 af 4c 8d 63 fc 49 39 ec 73 b2 4d 29 f7 49 c1 RSP: 0018:ffffc90020c0f958 EFLAGS: 00000246 RAX: ffffffff90bcdd2c RBX: ffffffff90375fec RCX: dffffc0000000000 RDX: fffffffff1d43bcd RSI: 0000000000000000 RDI: ffffffff90375fc4 RBP: ffffffff90375fc4 R08: ffffffff90bcddaa R09: ffffffff90bd13de R10: ffffc90020c0fa08 R11: 0000000000010b9b R12: ffffffff90376014 R13: ffffffff820b9bb5 R14: ffffffff90375fc4 R15: ffffffff90375fc4 orc_find arch/x86/kernel/unwind_orc.c:227 [inline] unwind_next_frame+0x2be/0x20c0 arch/x86/kernel/unwind_orc.c:494 arch_stack_walk+0x95/0x100 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 __kasan_record_aux_stack+0xba/0xd0 mm/kasan/generic.c:544 task_work_add+0xc0/0x3b0 kernel/task_work.c:77 fput+0x1c8/0x440 fs/file_table.c:510 filp_close+0x26/0x30 fs/open.c:1528 __range_close fs/file.c:745 [inline] __do_sys_close_range+0x380/0x700 fs/file.c:804 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:0xf7f98579 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:00000000fff6cccc EFLAGS: 00000202 ORIG_RAX: 00000000000001b4 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000000001e RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: f2 48 d1 fa repnz sar %rdx 4: 48 8d 5c 95 00 lea 0x0(%rbp,%rdx,4),%rbx 9: 48 89 da mov %rbx,%rdx c: 48 c1 ea 03 shr $0x3,%rdx 10: 0f b6 34 0a movzbl (%rdx,%rcx,1),%esi 14: 48 89 da mov %rbx,%rdx 17: 83 e2 07 and $0x7,%edx 1a: 83 c2 03 add $0x3,%edx 1d: 40 38 f2 cmp %sil,%dl 20: 7c 05 jl 0x27 22: 40 84 f6 test %sil,%sil 25: 75 4b jne 0x72 27: 48 63 13 movslq (%rbx),%rdx * 2a: 48 01 da add %rbx,%rdx <-- trapping instruction 2d: 49 39 d5 cmp %rdx,%r13 30: 73 af jae 0xffffffe1 32: 4c 8d 63 fc lea -0x4(%rbx),%r12 36: 49 39 ec cmp %rbp,%r12 39: 73 b2 jae 0xffffffed 3b: 4d 29 f7 sub %r14,%r15 3e: 49 rex.WB 3f: c1 .byte 0xc1