syzbot


WARNING in bpf_xdp_adjust_tail (2)

Status: auto-closed as invalid on 2021/07/10 12:40
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 668d, last: 668d
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in bpf_xdp_adjust_tail (3) 1 427d 423d 0/24 auto-closed as invalid on 2022/04/07 02:43
upstream WARNING in bpf_xdp_adjust_tail (4) C error 45 7d10h 29d 0/24 upstream: reported C repro on 2023/01/09 18:08
upstream WARNING in bpf_xdp_adjust_tail 1 952d 948d 0/24 auto-closed as invalid on 2020/10/29 00:20

Sample crash report:
------------[ cut here ]------------
Too BIG xdp->frame_sz = 16384
WARNING: CPU: 0 PID: 30171 at net/core/filter.c:3870 ____bpf_xdp_adjust_tail net/core/filter.c:3870 [inline]
WARNING: CPU: 0 PID: 30171 at net/core/filter.c:3870 bpf_xdp_adjust_tail+0x18e/0x1e0 net/core/filter.c:3859
Modules linked in:
CPU: 0 PID: 30171 Comm: syz-executor.5 Not tainted 5.12.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:____bpf_xdp_adjust_tail net/core/filter.c:3870 [inline]
RIP: 0010:bpf_xdp_adjust_tail+0x18e/0x1e0 net/core/filter.c:3859
Code: 6d fa 84 db 74 09 49 c7 c4 ea ff ff ff eb c7 e8 d8 1e 6d fa 44 89 e6 48 c7 c7 60 ae 66 8a c6 05 78 18 aa 06 01 e8 de 75 bb 01 <0f> 0b eb d8 e8 09 cf b0 fa e9 c5 fe ff ff e8 0f cf b0 fa e9 92 fe
RSP: 0018:ffffc90000007a20 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff888016d7b880 RSI: ffffffff815c4d15 RDI: fffff52000000f36
RBP: 2000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815bdaae R11: 0000000000000000 R12: 0000000000004000
R13: ffff88802afdd8fc R14: ffff88802afdd8fc R15: 0000000000000000
FS:  00007f9d0866f700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33a28000 CR3: 000000001468f000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 bpf_prog_23c479330f01c9fc+0x1a/0xa0c
 bpf_prog_run_xdp include/linux/filter.h:770 [inline]
 netif_receive_generic_xdp+0x755/0x1780 net/core/dev.c:4728
 do_xdp_generic net/core/dev.c:4816 [inline]
 do_xdp_generic net/core/dev.c:4809 [inline]
 __netif_receive_skb_core+0x505/0x37f0 net/core/dev.c:5207
 __netif_receive_skb_one_core+0xae/0x180 net/core/dev.c:5382
 __netif_receive_skb+0x27/0x1c0 net/core/dev.c:5498
 process_backlog+0x232/0x6c0 net/core/dev.c:6365
 __napi_poll+0xaf/0x440 net/core/dev.c:6912
 napi_poll net/core/dev.c:6979 [inline]
 net_rx_action+0x801/0xb40 net/core/dev.c:7066
 __do_softirq+0x29b/0x9f6 kernel/softirq.c:345
 do_softirq.part.0+0xd9/0x130 kernel/softirq.c:248
 </IRQ>
 do_softirq kernel/softirq.c:240 [inline]
 __local_bh_enable_ip+0x102/0x120 kernel/softirq.c:198
 local_bh_enable include/linux/bottom_half.h:32 [inline]
 rcu_read_unlock_bh include/linux/rcupdate.h:745 [inline]
 ip6_finish_output2+0x755/0x1700 net/ipv6/ip6_output.c:118
 __ip6_finish_output net/ipv6/ip6_output.c:182 [inline]
 __ip6_finish_output+0x4c1/0xe10 net/ipv6/ip6_output.c:161
 ip6_finish_output+0x35/0x200 net/ipv6/ip6_output.c:192
 NF_HOOK_COND include/linux/netfilter.h:290 [inline]
 ip6_output+0x1e4/0x530 net/ipv6/ip6_output.c:215
 dst_output include/net/dst.h:448 [inline]
 NF_HOOK include/linux/netfilter.h:301 [inline]
 NF_HOOK include/linux/netfilter.h:295 [inline]
 ip6_xmit+0x127e/0x1eb0 net/ipv6/ip6_output.c:320
 sctp_v6_xmit+0xc5f/0x1040 net/sctp/ipv6.c:223
 sctp_packet_transmit+0x1c03/0x2f60 net/sctp/output.c:620
 sctp_packet_singleton net/sctp/outqueue.c:773 [inline]
 sctp_outq_flush_ctrl.constprop.0+0x6d3/0xc40 net/sctp/outqueue.c:904
 sctp_outq_flush net/sctp/outqueue.c:1193 [inline]
 sctp_outq_uncork+0x10b/0x200 net/sctp/outqueue.c:758
 sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1801 [inline]
 sctp_side_effects net/sctp/sm_sideeffect.c:1185 [inline]
 sctp_do_sm+0x74e/0x5120 net/sctp/sm_sideeffect.c:1156
 sctp_primitive_ASSOCIATE+0x98/0xc0 net/sctp/primitive.c:73
 __sctp_connect+0x9e5/0xc30 net/sctp/socket.c:1217
 sctp_connect net/sctp/socket.c:4730 [inline]
 sctp_inet_connect+0x15e/0x200 net/sctp/socket.c:4745
 __sys_connect_file+0x155/0x1a0 net/socket.c:1837
 __sys_connect+0x161/0x190 net/socket.c:1854
 __do_sys_connect net/socket.c:1864 [inline]
 __se_sys_connect net/socket.c:1861 [inline]
 __x64_sys_connect+0x6f/0xb0 net/socket.c:1861
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x466459
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9d0866f188 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459
RDX: 000000000000001c RSI: 0000000020000080 RDI: 0000000000000005
RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60
R13: 00007fffe77976ef R14: 00007f9d0866f300 R15: 0000000000022000

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-net-this-kasan-gce 2021/04/11 12:36 net 4e04e7513b0f bfeda1b1 .config console log report info WARNING in bpf_xdp_adjust_tail
* Struck through repros no longer work on HEAD.