syzbot


kernel BUG in pskb_expand_head (2)

Status: auto-obsoleted due to no activity on 2023/08/23 09:08
Subsystems: bpf net
[Documentation on labels]
Reported-by: syzbot+78bac731178aabdb6307@syzkaller.appspotmail.com
First crash: 312d, last: 284d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [bpf?] [net?] kernel BUG in pskb_expand_head (2) 2 (3) 2023/05/16 01:55
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 kernel BUG in pskb_expand_head 1 271d 271d 0/2 auto-obsoleted due to no activity on 2023/09/05 19:11
linux-5.15 kernel BUG in pskb_expand_head 1 323d 323d 0/3 auto-obsoleted due to no activity on 2023/08/14 13:19
upstream kernel BUG in llc_sap_action_send_xid_c net C error 61 846d 1060d 20/26 fixed on 2021/11/10 00:50
upstream kernel BUG in pskb_expand_head net C done 1600 389d 840d 22/26 fixed on 2023/02/25 08:02
linux-6.1 kernel BUG in pskb_expand_head 1 279d 279d 0/3 auto-obsoleted due to no activity on 2023/09/07 17:22

Sample crash report:
------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:2047!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 1056 Comm: syz-executor.1 Not tainted 6.4.0-rc3-syzkaller-00081-geb03e3181354 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/16/2023
RIP: 0010:pskb_expand_head+0x12fc/0x1340 net/core/skbuff.c:2047
Code: 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 5e f3 ff ff 4c 89 f7 e8 75 60 4c f9 e9 51 f3 ff ff e8 6b 8c f4 f8 0f 0b e8 64 8c f4 f8 <0f> 0b e8 ad 1d 18 02 48 8b 4c 24 10 80 e1 07 80 c1 03 38 c1 0f 8c
RSP: 0018:ffffc900047cf340 EFLAGS: 00010287
RAX: ffffffff8896f03c RBX: 0000000000000002 RCX: 0000000000040000
RDX: ffffc90003241000 RSI: 00000000000043dc RDI: 00000000000043dd
RBP: ffffc900047cf460 R08: ffffffff8896de76 R09: ffffed100f7449ad
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88807ba24c80 R14: ffff88807ba24d4c R15: 0000000000000140
FS:  00007f70f2f52700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f266f90e845 CR3: 000000004144a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __bpf_try_make_writable net/core/filter.c:1658 [inline]
 sk_skb_try_make_writable net/core/filter.c:1881 [inline]
 ____sk_skb_pull_data net/core/filter.c:1895 [inline]
 sk_skb_pull_data+0x72/0xb0 net/core/filter.c:1884
 bpf_prog_53daab6e9cefb4fc+0x1a/0x1c
 bpf_dispatcher_nop_func include/linux/bpf.h:1168 [inline]
 __bpf_prog_run include/linux/filter.h:600 [inline]
 bpf_prog_run include/linux/filter.h:607 [inline]
 bpf_prog_run_pin_on_cpu include/linux/filter.h:624 [inline]
 sk_psock_verdict_recv+0x2f5/0x5a0 net/core/skmsg.c:1201
 tcp_read_skb+0x4a1/0x780 net/ipv4/tcp.c:1775
 tcp_data_queue+0x21c9/0x6fd0 net/ipv4/tcp_input.c:5080
 tcp_rcv_established+0xab7/0x1f80 net/ipv4/tcp_input.c:6019
 tcp_v4_do_rcv+0x6bd/0xb50 net/ipv4/tcp_ipv4.c:1722
 sk_backlog_rcv include/net/sock.h:1113 [inline]
 __release_sock+0x19c/0x4b0 net/core/sock.c:2917
 __sk_flush_backlog+0x26/0x40 net/core/sock.c:2937
 sk_flush_backlog include/net/sock.h:1203 [inline]
 tcp_sendmsg_locked+0x313d/0x4100 net/ipv4/tcp.c:1325
 tcp_sendmsg+0x30/0x50 net/ipv4/tcp.c:1487
 sock_sendmsg_nosec net/socket.c:724 [inline]
 sock_sendmsg net/socket.c:747 [inline]
 __sys_sendto+0x475/0x630 net/socket.c:2144
 __do_sys_sendto net/socket.c:2156 [inline]
 __se_sys_sendto net/socket.c:2152 [inline]
 __x64_sys_sendto+0xde/0xf0 net/socket.c:2152
 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:0x7f70f228c169
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f70f2f52168 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f70f23abf80 RCX: 00007f70f228c169
RDX: 0000000000100000 RSI: 0000000020000280 RDI: 0000000000000003
RBP: 00007f70f22e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc8869139f R14: 00007f70f2f52300 R15: 0000000000022000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:pskb_expand_head+0x12fc/0x1340 net/core/skbuff.c:2047
Code: 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 5e f3 ff ff 4c 89 f7 e8 75 60 4c f9 e9 51 f3 ff ff e8 6b 8c f4 f8 0f 0b e8 64 8c f4 f8 <0f> 0b e8 ad 1d 18 02 48 8b 4c 24 10 80 e1 07 80 c1 03 38 c1 0f 8c
RSP: 0018:ffffc900047cf340 EFLAGS: 00010287
RAX: ffffffff8896f03c RBX: 0000000000000002 RCX: 0000000000040000
RDX: ffffc90003241000 RSI: 00000000000043dc RDI: 00000000000043dd
RBP: ffffc900047cf460 R08: ffffffff8896de76 R09: ffffed100f7449ad
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88807ba24c80 R14: ffff88807ba24d4c R15: 0000000000000140
FS:  00007f70f2f52700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3d46d88218 CR3: 000000004144a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/25 19:29 upstream eb03e3181354 0513b3e6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root kernel BUG in pskb_expand_head
2023/05/24 21:36 net 878ecb0897f4 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce kernel BUG in pskb_expand_head
2023/05/12 08:15 net f816b9829b19 adb9a3cd .config console log report info ci-upstream-net-this-kasan-gce kernel BUG in pskb_expand_head
2023/05/07 08:57 net ed23734c23d2 90c93c40 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce kernel BUG in pskb_expand_head
2023/05/05 18:23 net 93e0401e0fc0 4cec9341 .config console log report info ci-upstream-net-this-kasan-gce kernel BUG in pskb_expand_head
2023/04/29 23:01 net 6686317855c6 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce kernel BUG in pskb_expand_head
2023/04/28 00:27 net 075cafffce24 70a605de .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce kernel BUG in pskb_expand_head
2023/04/27 02:13 net 50749f2dd685 19a3dabe .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce kernel BUG in pskb_expand_head
2023/05/25 00:32 linux-next 715abedee4cd 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in pskb_expand_head
2023/05/05 02:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 518a39a6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in pskb_expand_head
* Struck through repros no longer work on HEAD.