syzbot


kernel BUG in vlan_get_protocol_dgram

Status: upstream: reported C repro on 2024/12/14 12:54
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+ecd67a158bca63112ec4@syzkaller.appspotmail.com
First crash: 8d03h, last: 8d00h
Bug presence (2)
Date Name Commit Repro Result
2024/12/16 lts (merge base) 0a51d2d4527b C [report] kernel BUG in vlan_get_protocol_dgram
2024/12/16 upstream (ToT) 78d4f34e2115 C [report] kernel BUG in vlan_get_protocol_dgram
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 kernel BUG in vlan_get_protocol_dgram C 6 10d 94d 0/2 upstream: reported C repro on 2024/09/19 02:58

Sample crash report:
skbuff: skb_under_panic: text:ffffffff846e6683 len:65564 put:14 head:ffff888110340000 data:ffff88811033fff4 tail:0x10010 end:0x1fe80 dev:<NULL>
------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:113!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 1966 Comm: syz-executor334 Not tainted 5.15.173-syzkaller-00123-g6f0de8f8a165 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:skb_panic net/core/skbuff.c:113 [inline]
RIP: 0010:skb_under_panic+0x14c/0x150 net/core/skbuff.c:123
Code: 80 bb d2 85 48 c7 c6 c8 72 22 86 48 8b 55 c0 8b 4d d4 44 8b 45 d0 4c 8b 4d c8 53 41 55 41 54 41 57 e8 e8 9e fe 00 48 83 c4 20 <0f> 0b 66 90 55 48 89 e5 41 57 41 56 41 55 41 54 53 41 89 f6 49 89
RSP: 0018:ffffc900009f7690 EFLAGS: 00010286
RAX: 000000000000008f RBX: ffffffff85d2bc00 RCX: 9554cd9081a98200
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc900009f76d0 R08: ffffffff81579fb5 R09: ffffed103ee265e8
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000010010
R13: 000000000001fe80 R14: dffffc0000000000 R15: ffff88811033fff4
FS:  00007fcd391cc6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcd391abd58 CR3: 000000011fad1000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 skb_push+0xf3/0x120 net/core/skbuff.c:2077
 vlan_get_protocol_dgram+0x123/0x220 net/packet/af_packet.c:552
 packet_recvmsg+0x5df/0x1cd0 net/packet/af_packet.c:3521
 ____sys_recvmsg+0x286/0x530
 ___sys_recvmsg+0x1ec/0x690 net/socket.c:2697
 do_recvmmsg+0x36b/0x8b0 net/socket.c:2791
 __sys_recvmmsg net/socket.c:2870 [inline]
 __do_sys_recvmmsg net/socket.c:2893 [inline]
 __se_sys_recvmmsg net/socket.c:2886 [inline]
 __x64_sys_recvmmsg+0x195/0x240 net/socket.c:2886
 x64_sys_call+0x7e5/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:300
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fcd39210509
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 91 1a 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fcd391cc168 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007fcd3929a428 RCX: 00007fcd39210509
RDX: 0000000000000001 RSI: 0000000020000480 RDI: 0000000000000003
RBP: 00007fcd3929a420 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000010022 R11: 0000000000000246 R12: 00007fcd3929a42c
R13: 0000000000000010 R14: 00007fff6e12b3c0 R15: 00007fff6e12b4a8
 </TASK>
Modules linked in:
---[ end trace 727e6f04353d6a94 ]---
RIP: 0010:skb_panic net/core/skbuff.c:113 [inline]
RIP: 0010:skb_under_panic+0x14c/0x150 net/core/skbuff.c:123
Code: 80 bb d2 85 48 c7 c6 c8 72 22 86 48 8b 55 c0 8b 4d d4 44 8b 45 d0 4c 8b 4d c8 53 41 55 41 54 41 57 e8 e8 9e fe 00 48 83 c4 20 <0f> 0b 66 90 55 48 89 e5 41 57 41 56 41 55 41 54 53 41 89 f6 49 89
RSP: 0018:ffffc900009f7690 EFLAGS: 00010286
RAX: 000000000000008f RBX: ffffffff85d2bc00 RCX: 9554cd9081a98200
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc900009f76d0 R08: ffffffff81579fb5 R09: ffffed103ee265e8
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000010010
R13: 000000000001fe80 R14: dffffc0000000000 R15: ffff88811033fff4
FS:  00007fcd391cc6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcd391abd58 CR3: 000000011fad1000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/14 15:18 android13-5.15-lts 6f0de8f8a165 7cbfbb3a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in vlan_get_protocol_dgram
2024/12/14 14:25 android13-5.15-lts 6f0de8f8a165 7cbfbb3a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in vlan_get_protocol_dgram
2024/12/14 13:40 android13-5.15-lts 6f0de8f8a165 7cbfbb3a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in vlan_get_protocol_dgram
2024/12/14 12:53 android13-5.15-lts 6f0de8f8a165 7cbfbb3a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in vlan_get_protocol_dgram
* Struck through repros no longer work on HEAD.