BUG: please report to dccp@vger.kernel.org => prev = 0, last = 0 at net/dccp/ccids/lib/packet_history.c:417/tfrc_rx_hist_sample_rtt() CPU: 1 PID: 5539 Comm: syz-executor.0 Not tainted 6.5.0-syzkaller-12107-g7ba2090ca64e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 tfrc_rx_hist_sample_rtt+0x393/0x4b0 net/dccp/ccids/lib/packet_history.c:414 ccid3_hc_rx_packet_recv+0x6ae/0xf50 net/dccp/ccids/ccid3.c:760 ccid_hc_rx_packet_recv net/dccp/ccid.h:182 [inline] dccp_deliver_input_to_ccids net/dccp/input.c:176 [inline] dccp_rcv_established+0x1b7/0x310 net/dccp/input.c:374 dccp_v4_do_rcv+0xff/0x1e0 net/dccp/ipv4.c:680 sk_backlog_rcv include/net/sock.h:1115 [inline] __sk_receive_skb+0x41e/0x9d0 net/core/sock.c:571 ip_protocol_deliver_rcu+0x208/0x3f0 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x28e/0x4c0 net/ipv4/ip_input.c:233 NF_HOOK+0x368/0x410 include/linux/netfilter.h:304 NF_HOOK+0x368/0x410 include/linux/netfilter.h:304 __netif_receive_skb_one_core net/core/dev.c:5523 [inline] __netif_receive_skb+0x1ca/0x530 net/core/dev.c:5637 process_backlog+0x34b/0x710 net/core/dev.c:5965 __napi_poll+0xc7/0x470 net/core/dev.c:6527 napi_poll net/core/dev.c:6594 [inline] net_rx_action+0x78b/0x1010 net/core/dev.c:6727 __do_softirq+0x2ab/0x908 kernel/softirq.c:553 invoke_softirq kernel/softirq.c:427 [inline] __irq_exit_rcu+0xf1/0x1b0 kernel/softirq.c:632 irq_exit_rcu+0x9/0x20 kernel/softirq.c:644 sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1074 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:bpf_lsm_socket_sendmsg+0x0/0x10 include/linux/lsm_hook_defs.h:302 Code: 04 d8 ff 31 c0 c3 0f 1f 40 00 f3 0f 1e fa e8 37 04 d8 ff 31 c0 c3 0f 1f 40 00 f3 0f 1e fa e8 27 04 d8 ff 31 c0 c3 0f 1f 40 00 0f 1e fa e8 17 04 d8 ff 31 c0 c3 0f 1f 40 00 f3 0f 1e fa e8 07 RSP: 0018:ffffc9000552f880 EFLAGS: 00000246 RAX: 1ffffffff1998274 RBX: ffffffff8ccc1388 RCX: ffff888020efd940 RDX: 0000000000000000 RSI: ffffc9000552fd40 RDI: ffff888076673000 RBP: ffffffff8ccc13a0 R08: ffffffff83fd9045 R09: ffffffff83fd8fad R10: 0000000000000003 R11: ffff888020efd940 R12: ffff888076673000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffffc9000552fd40 security_socket_sendmsg+0x71/0xa0 security/security.c:4243 sock_sendmsg net/socket.c:750 [inline] ____sys_sendmsg+0x513/0x890 net/socket.c:2540 ___sys_sendmsg net/socket.c:2594 [inline] __sys_sendmmsg+0x3b2/0x730 net/socket.c:2680 __do_sys_sendmmsg net/socket.c:2709 [inline] __se_sys_sendmmsg net/socket.c:2706 [inline] __x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2706 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f62b347c8c9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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:00007f62b42930c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f62b359bf80 RCX: 00007f62b347c8c9 RDX: 000000000000ffc3 RSI: 0000000020001e80 RDI: 0000000000000006 RBP: 00007f62b34d8ae8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f62b359bf80 R15: 00007ffc9f33d478 Negotiation of local Allow Short Seqnos failed in state CHANGING at net/dccp/feat.c:1537/dccp_feat_activate_values() BUG: please report to dccp@vger.kernel.org => prev = 0, last = 0 at net/dccp/ccids/lib/packet_history.c:417/tfrc_rx_hist_sample_rtt() CPU: 1 PID: 6013 Comm: syz-executor.0 Not tainted 6.5.0-syzkaller-12107-g7ba2090ca64e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 tfrc_rx_hist_sample_rtt+0x393/0x4b0 net/dccp/ccids/lib/packet_history.c:414 ccid3_hc_rx_packet_recv+0x6ae/0xf50 net/dccp/ccids/ccid3.c:760 ccid_hc_rx_packet_recv net/dccp/ccid.h:182 [inline] dccp_deliver_input_to_ccids net/dccp/input.c:176 [inline] dccp_rcv_established+0x1b7/0x310 net/dccp/input.c:374 dccp_v4_do_rcv+0xff/0x1e0 net/dccp/ipv4.c:680 sk_backlog_rcv include/net/sock.h:1115 [inline] __sk_receive_skb+0x41e/0x9d0 net/core/sock.c:571 ip_protocol_deliver_rcu+0x208/0x3f0 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x28e/0x4c0 net/ipv4/ip_input.c:233 NF_HOOK+0x368/0x410 include/linux/netfilter.h:304 NF_HOOK+0x368/0x410 include/linux/netfilter.h:304 __netif_receive_skb_one_core net/core/dev.c:5523 [inline] __netif_receive_skb+0x1ca/0x530 net/core/dev.c:5637 process_backlog+0x34b/0x710 net/core/dev.c:5965 __napi_poll+0xc7/0x470 net/core/dev.c:6527 napi_poll net/core/dev.c:6594 [inline] net_rx_action+0x78b/0x1010 net/core/dev.c:6727 __do_softirq+0x2ab/0x908 kernel/softirq.c:553 invoke_softirq kernel/softirq.c:427 [inline] __irq_exit_rcu+0xf1/0x1b0 kernel/softirq.c:632 irq_exit_rcu+0x9/0x20 kernel/softirq.c:644 sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1074 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:PageTail include/linux/page-flags.h:286 [inline] RIP: 0010:free_tail_page_prepare+0x1d0/0x410 mm/page_alloc.c:1012 Code: 04 00 00 00 00 ad de 49 39 04 24 75 32 4c 8d 7b 08 4d 89 fc 49 c1 ec 03 43 80 3c 2c 00 74 08 4c 89 ff e8 33 52 0b 00 49 8b 07 01 0f 85 93 01 00 00 48 c7 04 24 e0 22 15 8b 0f 1f 44 00 00 48 RSP: 0018:ffffc9000313f1b0 EFLAGS: 00000246 RAX: ffffea0000acf401 RBX: ffffea0000acf480 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: ffffea0000acf480 RDI: ffffea0000acf400 RBP: 0000000000000000 R08: ffffea0000acf477 R09: 1ffffd4000159e8e R10: dffffc0000000000 R11: fffff94000159e8f R12: 1ffffd4000159e91 R13: dffffc0000000000 R14: ffffea0000acf400 R15: ffffea0000acf488 free_pages_prepare mm/page_alloc.c:1113 [inline] free_unref_page_prepare+0x4bc/0x9f0 mm/page_alloc.c:2312 free_unref_page+0x37/0x3f0 mm/page_alloc.c:2405 __slab_free+0x2f6/0x390 mm/slub.c:3715 qlist_free_all+0x22/0x60 mm/kasan/quarantine.c:185 kasan_quarantine_reduce+0x14b/0x160 mm/kasan/quarantine.c:292 __kasan_slab_alloc+0x23/0x70 mm/kasan/common.c:305 kasan_slab_alloc include/linux/kasan.h:186 [inline] slab_post_alloc_hook+0x6c/0x3b0 mm/slab.h:762 slab_alloc_node mm/slub.c:3478 [inline] kmem_cache_alloc_node+0x148/0x330 mm/slub.c:3523 __alloc_skb+0x181/0x420 net/core/skbuff.c:634 alloc_skb include/linux/skbuff.h:1286 [inline] alloc_skb_with_frags+0xc3/0x780 net/core/skbuff.c:6299 sock_alloc_send_pskb+0x919/0xa50 net/core/sock.c:2794 sock_alloc_send_skb include/net/sock.h:1879 [inline] dccp_sendmsg+0x3e1/0xb60 net/dccp/proto.c:764 sock_sendmsg_nosec net/socket.c:730 [inline] sock_sendmsg net/socket.c:753 [inline] ____sys_sendmsg+0x592/0x890 net/socket.c:2540 ___sys_sendmsg net/socket.c:2594 [inline] __sys_sendmmsg+0x3b2/0x730 net/socket.c:2680 __do_sys_sendmmsg net/socket.c:2709 [inline] __se_sys_sendmmsg net/socket.c:2706 [inline] __x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2706 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f62b347c8c9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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:00007f62b42930c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f62b359bf80 RCX: 00007f62b347c8c9 RDX: 000000000000ffc3 RSI: 0000000020001e80 RDI: 0000000000000006 RBP: 00007f62b34d8ae8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f62b359bf80 R15: 00007ffc9f33d478 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: d8 ff fdivr %st(7),%st 2: 31 c0 xor %eax,%eax 4: c3 ret 5: 0f 1f 40 00 nopl 0x0(%rax) 9: f3 0f 1e fa endbr64 d: e8 37 04 d8 ff call 0xffd80449 12: 31 c0 xor %eax,%eax 14: c3 ret 15: 0f 1f 40 00 nopl 0x0(%rax) 19: f3 0f 1e fa endbr64 1d: e8 27 04 d8 ff call 0xffd80449 22: 31 c0 xor %eax,%eax 24: c3 ret 25: 0f 1f 40 00 nopl 0x0(%rax) * 29: f3 0f 1e fa endbr64 <-- trapping instruction 2d: e8 17 04 d8 ff call 0xffd80449 32: 31 c0 xor %eax,%eax 34: c3 ret 35: 0f 1f 40 00 nopl 0x0(%rax) 39: f3 0f 1e fa endbr64 3d: e8 .byte 0xe8 3e: 07 (bad)