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: 1 PID: 10378 Comm: syz-executor.1 Not tainted 6.5.0-syzkaller-12673-g73be7fb14e83 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x125/0x1b0 lib/dump_stack.c:106 tfrc_rx_hist_sample_rtt+0x3db/0x4a0 net/dccp/ccids/lib/packet_history.c:414 ccid3_hc_rx_packet_recv+0x844/0xf10 net/dccp/ccids/ccid3.c:760 ccid_hc_rx_packet_recv net/dccp/ccid.h:182 [inline] dccp_deliver_input_to_ccids+0xe3/0x260 net/dccp/input.c:176 dccp_rcv_established net/dccp/input.c:374 [inline] dccp_rcv_established+0x106/0x160 net/dccp/input.c:364 dccp_v4_do_rcv+0x169/0x1a0 net/dccp/ipv4.c:680 sk_backlog_rcv include/net/sock.h:1121 [inline] __sk_receive_skb+0x2a8/0xba0 net/core/sock.c:571 dccp_v4_rcv+0x1282/0x1a00 net/dccp/ipv4.c:903 ip_protocol_deliver_rcu+0x9f/0x480 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x2e6/0x520 net/ipv4/ip_input.c:233 NF_HOOK include/linux/netfilter.h:304 [inline] NF_HOOK include/linux/netfilter.h:298 [inline] ip_local_deliver+0x1be/0x540 net/ipv4/ip_input.c:254 dst_input include/net/dst.h:468 [inline] ip_rcv_finish+0x1c4/0x2e0 net/ipv4/ip_input.c:449 NF_HOOK include/linux/netfilter.h:304 [inline] NF_HOOK include/linux/netfilter.h:298 [inline] ip_rcv+0xc8/0x410 net/ipv4/ip_input.c:569 __netif_receive_skb_one_core+0x115/0x180 net/core/dev.c:5523 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5637 process_backlog+0x101/0x6c0 net/core/dev.c:5965 __napi_poll.constprop.0+0xb4/0x530 net/core/dev.c:6527 napi_poll net/core/dev.c:6594 [inline] net_rx_action+0x956/0xe90 net/core/dev.c:6727 __do_softirq+0x218/0x965 kernel/softirq.c:553 invoke_softirq kernel/softirq.c:427 [inline] __irq_exit_rcu kernel/softirq.c:632 [inline] irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1074 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:percpu_counter_add_batch+0xe6/0x1f0 lib/percpu_counter.c:103 Code: e8 ef 10 34 fd 48 85 db 75 42 e8 55 15 34 fd 9c 5b 81 e3 00 02 00 00 31 ff 48 89 de e8 d3 10 34 fd 48 85 db 0f 85 bd 00 00 00 <48> 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f e9 27 15 34 fd e8 22 15 RSP: 0018:ffffc900055276f0 EFLAGS: 00000246 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90005c69000 RDX: 0000000000040000 RSI: ffffffff8453bcd2 RDI: 0000000000000007 RBP: ffff8880262387a8 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000000 R12: 000000000000000d R13: 0000000000000001 R14: 0000607f4641463c R15: 0000000000000020 percpu_counter_add include/linux/percpu_counter.h:69 [inline] percpu_counter_inc include/linux/percpu_counter.h:237 [inline] ext4_es_lookup_extent+0x891/0xbe0 fs/ext4/extents_status.c:1005 ext4_da_map_blocks fs/ext4/inode.c:1695 [inline] ext4_da_get_block_prep+0x2ee/0x1340 fs/ext4/inode.c:1813 ext4_block_write_begin+0x3da/0xe30 fs/ext4/inode.c:1043 ext4_da_write_begin+0x40a/0x8c0 fs/ext4/inode.c:2890 generic_perform_write+0x278/0x600 mm/filemap.c:3942 ext4_buffered_write_iter+0x11f/0x3c0 fs/ext4/file.c:299 ext4_file_write_iter+0x7f7/0x1860 fs/ext4/file.c:717 call_write_iter include/linux/fs.h:1985 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x650/0xe40 fs/read_write.c:584 ksys_write+0x12f/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7f9387cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7f923fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f7f9399bf80 RCX: 00007f7f9387cae9 RDX: 000000000208e24b RSI: 0000000020000040 RDI: 0000000000000004 RBP: 00007f7f938c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f7f9399bf80 R15: 00007ffd4bb52b28 ---------------- Code disassembly (best guess): 0: e8 ef 10 34 fd call 0xfd3410f4 5: 48 85 db test %rbx,%rbx 8: 75 42 jne 0x4c a: e8 55 15 34 fd call 0xfd341564 f: 9c pushf 10: 5b pop %rbx 11: 81 e3 00 02 00 00 and $0x200,%ebx 17: 31 ff xor %edi,%edi 19: 48 89 de mov %rbx,%rsi 1c: e8 d3 10 34 fd call 0xfd3410f4 21: 48 85 db test %rbx,%rbx 24: 0f 85 bd 00 00 00 jne 0xe7 * 2a: 48 83 c4 18 add $0x18,%rsp <-- trapping instruction 2e: 5b pop %rbx 2f: 5d pop %rbp 30: 41 5c pop %r12 32: 41 5d pop %r13 34: 41 5e pop %r14 36: 41 5f pop %r15 38: e9 27 15 34 fd jmp 0xfd341564 3d: e8 .byte 0xe8 3e: 22 .byte 0x22 3f: 15 .byte 0x15