syzbot


kernel BUG in pskb_expand_head (4)

Status: upstream: reported on 2025/02/27 08:22
Subsystems: intel-wired-lan
[Documentation on labels]
Reported-by: syzbot+da65c993ae113742a25f@syzkaller.appspotmail.com
First crash: 1d00h, last: 1d00h
Discussions (2)
Title Replies (including bot) Last reply
[PATCH net] llc: do not use skb_get() before dev_queue_xmit() 1 (1) 2025/02/27 08:26
[syzbot] [intel-wired-lan?] kernel BUG in pskb_expand_head (4) 0 (1) 2025/02/27 08:22
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 kernel BUG in pskb_expand_head 1 631d 631d 0/2 auto-obsoleted due to no activity on 2023/09/05 19:11
upstream kernel BUG in pskb_expand_head (3) net 1 249d 249d 0/28 closed as invalid on 2024/09/04 18:07
upstream kernel BUG in pskb_expand_head (2) bpf net 10 644d 659d 0/28 auto-obsoleted due to no activity on 2023/08/23 09:08
linux-5.15 kernel BUG in pskb_expand_head 1 683d 683d 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 1206d 1420d 20/28 fixed on 2021/11/10 00:50
upstream kernel BUG in pskb_expand_head net C done 1600 749d 1200d 22/28 fixed on 2023/02/25 08:02
linux-6.1 kernel BUG in pskb_expand_head 1 639d 639d 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:2178!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 16371 Comm: syz.2.2764 Not tainted 6.14.0-rc4-syzkaller-00052-gac9c34d1e45a #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:pskb_expand_head+0x6ce/0x1240 net/core/skbuff.c:2178
Code: 7f 05 e8 35 98 f1 f8 8b 44 24 40 8b 74 24 44 29 f0 01 83 e0 00 00 00 e9 70 ff ff ff e8 4b 5e 8f f8 90 0f 0b e8 43 5e 8f f8 90 <0f> 0b e8 3b 5e 8f f8 41 81 cd 00 00 02 00 e9 46 fb ff ff e8 2a 5e
RSP: 0018:ffffc9000d6f7160 EFLAGS: 00010246
RAX: 0000000000080000 RBX: ffff88806c1f9400 RCX: ffffc900273e9000
RDX: 0000000000080000 RSI: ffffffff892a810d RDI: 0000000000000005
RBP: ffff88806c1f94cc R08: 0000000000000005 R09: 0000000000000001
R10: 0000000000000002 R11: 0000000000000005 R12: 0000000000000002
R13: 0000000000000820 R14: dffffc0000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88802b400000(0063) knlGS:00000000f5066b40
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 000000008000601c CR3: 0000000054770000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 __skb_pad+0x18a/0x610 net/core/skbuff.c:2466
 __skb_put_padto include/linux/skbuff.h:3843 [inline]
 skb_put_padto include/linux/skbuff.h:3862 [inline]
 eth_skb_pad include/linux/etherdevice.h:656 [inline]
 e1000_xmit_frame+0x2d99/0x5800 drivers/net/ethernet/intel/e1000/e1000_main.c:3128
 __netdev_start_xmit include/linux/netdevice.h:5151 [inline]
 netdev_start_xmit include/linux/netdevice.h:5160 [inline]
 xmit_one net/core/dev.c:3806 [inline]
 dev_hard_start_xmit+0x9a/0x7b0 net/core/dev.c:3822
 sch_direct_xmit+0x1ae/0xc30 net/sched/sch_generic.c:343
 __dev_xmit_skb net/core/dev.c:4045 [inline]
 __dev_queue_xmit+0x13d4/0x43e0 net/core/dev.c:4621
 dev_queue_xmit include/linux/netdevice.h:3313 [inline]
 llc_sap_action_send_test_c+0x268/0x320 net/llc/llc_s_ac.c:144
 llc_exec_sap_trans_actions net/llc/llc_sap.c:153 [inline]
 llc_sap_next_state net/llc/llc_sap.c:182 [inline]
 llc_sap_state_process+0x239/0x510 net/llc/llc_sap.c:209
 llc_ui_sendmsg+0xd0d/0x14e0 net/llc/af_llc.c:993
 sock_sendmsg_nosec net/socket.c:718 [inline]
 __sock_sendmsg net/socket.c:733 [inline]
 ____sys_sendmsg+0xaaf/0xc90 net/socket.c:2573
 ___sys_sendmsg+0x135/0x1e0 net/socket.c:2627
 __sys_sendmmsg+0x2fa/0x420 net/socket.c:2709
 __compat_sys_sendmmsg net/compat.c:360 [inline]
 __do_compat_sys_sendmmsg net/compat.c:367 [inline]
 __se_compat_sys_sendmmsg net/compat.c:364 [inline]
 __ia32_compat_sys_sendmmsg+0x9d/0x100 net/compat.c:364
 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline]
 __do_fast_syscall_32+0x73/0x120 arch/x86/entry/common.c:386
 do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411
 entry_SYSENTER_compat_after_hwframe+0x84/0x8e
RIP: 0023:0xf73de579
Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
RSP: 002b:00000000f506655c EFLAGS: 00000296 ORIG_RAX: 0000000000000159
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000080000c40
RDX: 00000000842c97f7 RSI: 0000000000008014 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:pskb_expand_head+0x6ce/0x1240 net/core/skbuff.c:2178
Code: 7f 05 e8 35 98 f1 f8 8b 44 24 40 8b 74 24 44 29 f0 01 83 e0 00 00 00 e9 70 ff ff ff e8 4b 5e 8f f8 90 0f 0b e8 43 5e 8f f8 90 <0f> 0b e8 3b 5e 8f f8 41 81 cd 00 00 02 00 e9 46 fb ff ff e8 2a 5e
RSP: 0018:ffffc9000d6f7160 EFLAGS: 00010246
RAX: 0000000000080000 RBX: ffff88806c1f9400 RCX: ffffc900273e9000
RDX: 0000000000080000 RSI: ffffffff892a810d RDI: 0000000000000005
RBP: ffff88806c1f94cc R08: 0000000000000005 R09: 0000000000000001
R10: 0000000000000002 R11: 0000000000000005 R12: 0000000000000002
R13: 0000000000000820 R14: dffffc0000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88802b400000(0063) knlGS:00000000f5066b40
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 000000008000601c CR3: 0000000054770000 CR4: 0000000000352ef0
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	10 06                	adc    %al,(%rsi)
   2:	03 74 b4 01          	add    0x1(%rsp,%rsi,4),%esi
   6:	10 07                	adc    %al,(%rdi)
   8:	03 74 b0 01          	add    0x1(%rax,%rsi,4),%esi
   c:	10 08                	adc    %cl,(%rax)
   e:	03 74 d8 01          	add    0x1(%rax,%rbx,8),%esi
  1e:	00 51 52             	add    %dl,0x52(%rcx)
  21:	55                   	push   %rbp
  22:	89 e5                	mov    %esp,%ebp
  24:	0f 34                	sysenter
  26:	cd 80                	int    $0x80
* 28:	5d                   	pop    %rbp <-- trapping instruction
  29:	5a                   	pop    %rdx
  2a:	59                   	pop    %rcx
  2b:	c3                   	ret
  2c:	90                   	nop
  2d:	90                   	nop
  2e:	90                   	nop
  2f:	90                   	nop
  30:	8d b4 26 00 00 00 00 	lea    0x0(%rsi,%riz,1),%esi
  37:	8d b4 26 00 00 00 00 	lea    0x0(%rsi,%riz,1),%esi

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/02/26 21:45 upstream ac9c34d1e45a 6a8fcbc4 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in pskb_expand_head
* Struck through repros no longer work on HEAD.