syzbot


kernel BUG in pskb_expand_head

Status: auto-obsoleted due to no activity on 2023/09/05 19:11
Reported-by: syzbot+c5576f86c11cde0b36ae@syzkaller.appspotmail.com
First crash: 330d, last: 330d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in pskb_expand_head (2) bpf net 10 343d 358d 0/26 auto-obsoleted due to no activity on 2023/08/23 09:08
linux-5.15 kernel BUG in pskb_expand_head 1 382d 382d 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 905d 1119d 20/26 fixed on 2021/11/10 00:50
upstream kernel BUG in pskb_expand_head net C done 1600 448d 899d 22/26 fixed on 2023/02/25 08:02
linux-6.1 kernel BUG in pskb_expand_head 1 338d 338d 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:1824!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 28951 Comm: syz-executor.2 Tainted: G        W          6.1.25-syzkaller-00385-g8691a0dae001 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
RIP: 0010:pskb_expand_head+0x12bf/0x1300 net/core/skbuff.c:1824
Code: 4d d0 80 e1 07 80 c1 03 38 c1 0f 8c 6e f3 ff ff 48 8b 7d d0 e8 e2 45 c4 fd e9 60 f3 ff ff e8 08 c2 7e fd 0f 0b e8 01 c2 7e fd <0f> 0b 48 8b 4d d0 80 e1 07 80 c1 03 38 c1 0f 8c d8 fa ff ff 48 8b
RSP: 0000:ffffc900051eef90 EFLAGS: 00010246
RAX: ffffffff83f4ef5f RBX: 0000000000000002 RCX: ffff88811f592600
RDX: 0000000000000101 RSI: 0000000000000002 RDI: 0000000000000001
RBP: ffffc900051ef030 R08: ffffffff83f4dd4d R09: ffffed102715fd2b
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000a20
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000
FS:  0000555556b55400(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2cb23000 CR3: 0000000111ea4000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 skb_ensure_writable+0x2d0/0x440 net/core/skbuff.c:5745
 __bpf_try_make_writable net/core/filter.c:1658 [inline]
 sk_skb_try_make_writable net/core/filter.c:1870 [inline]
 ____sk_skb_pull_data net/core/filter.c:1884 [inline]
 sk_skb_pull_data+0x72/0xb0 net/core/filter.c:1873
 bpf_prog_53daab6e9cefb4fc+0x12/0x14
 bpf_dispatcher_nop_func include/linux/bpf.h:975 [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+0x224/0x810 net/core/skmsg.c:1198
 tcp_read_skb+0x49d/0x780 net/ipv4/tcp.c:1772
 sk_psock_verdict_data_ready+0x98/0xc0 net/core/skmsg.c:1215
 tcp_data_ready+0x2c7/0x530 net/ipv4/tcp_input.c:5005
 tcp_data_queue+0x2029/0x6db0 net/ipv4/tcp_input.c:5079
 tcp_rcv_established+0xa09/0x1c60 net/ipv4/tcp_input.c:6005
 tcp_v4_do_rcv+0x430/0xa20 net/ipv4/tcp_ipv4.c:1670
 tcp_v4_rcv+0x20d7/0x2a30 net/ipv4/tcp_ipv4.c:2091
 ip_protocol_deliver_rcu+0x32f/0x720 net/ipv4/ip_input.c:205
 ip_local_deliver_finish+0x24b/0x430 net/ipv4/ip_input.c:233
 NF_HOOK include/linux/netfilter.h:302 [inline]
 ip_local_deliver+0x1b3/0x3b0 net/ipv4/ip_input.c:254
 dst_input include/net/dst.h:454 [inline]
 ip_rcv_finish net/ipv4/ip_input.c:449 [inline]
 NF_HOOK include/linux/netfilter.h:302 [inline]
 ip_rcv+0x16e/0x310 net/ipv4/ip_input.c:569
 __netif_receive_skb_one_core net/core/dev.c:5499 [inline]
 __netif_receive_skb+0x1c6/0x530 net/core/dev.c:5613
 process_backlog+0x32c/0x630 net/core/dev.c:5941
 __napi_poll+0xbe/0x5c0 net/core/dev.c:6508
 napi_poll net/core/dev.c:6575 [inline]
 net_rx_action+0x595/0xdd0 net/core/dev.c:6686
 __do_softirq+0x1d8/0x661 kernel/softirq.c:613
 invoke_softirq kernel/softirq.c:468 [inline]
 __irq_exit_rcu+0x50/0xf0 kernel/softirq.c:696
 irq_exit_rcu+0x9/0x10 kernel/softirq.c:708
 sysvec_apic_timer_interrupt+0x49/0xc0 arch/x86/kernel/apic/apic.c:1107
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0033:0x7fd205039495
Code: 2d eb d4 27 31 c5 c1 e8 0f 31 c5 80 3d 2c c2 c9 00 00 75 81 44 0f b6 6c 24 0f 44 8d 4d 04 89 e8 41 89 c0 41 81 e0 ff 1f 00 00 <43> 8b 14 84 39 d5 0f 84 70 ff ff ff 85 d2 0f 84 67 01 00 00 83 c0
RSP: 002b:00007ffd52063660 EFLAGS: 00000202
RAX: 00000000d1e1ddc7 RBX: 00007fd2051ac018 RCX: 0000001b2cb20000
RDX: 000000003f6d7dc6 RSI: 0000001b2cb22bac RDI: 000000000a620ac5
RBP: 00000000d1e1ddc6 R08: 0000000000001dc7 R09: 00000000d1e1ddca
R10: 00007ffd52063820 R11: 0000000000000246 R12: 00007fd2051a0000
R13: 0000000000000001 R14: 00000000000054b9 R15: ffffffff843c012c
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:pskb_expand_head+0x12bf/0x1300 net/core/skbuff.c:1824
Code: 4d d0 80 e1 07 80 c1 03 38 c1 0f 8c 6e f3 ff ff 48 8b 7d d0 e8 e2 45 c4 fd e9 60 f3 ff ff e8 08 c2 7e fd 0f 0b e8 01 c2 7e fd <0f> 0b 48 8b 4d d0 80 e1 07 80 c1 03 38 c1 0f 8c d8 fa ff ff 48 8b
RSP: 0000:ffffc900051eef90 EFLAGS: 00010246
RAX: ffffffff83f4ef5f RBX: 0000000000000002 RCX: ffff88811f592600
RDX: 0000000000000101 RSI: 0000000000000002 RDI: 0000000000000001
RBP: ffffc900051ef030 R08: ffffffff83f4dd4d R09: ffffed102715fd2b
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000a20
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000
FS:  0000555556b55400(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2cb23000 CR3: 0000000111ea4000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/07 19:09 android14-6.1 8691a0dae001 058b3a5a .config console log report info ci2-android-6-1 kernel BUG in pskb_expand_head
* Struck through repros no longer work on HEAD.