syzbot


kernel BUG in vlan_get_protocol_dgram

Status: upstream: reported C repro on 2024/09/19 02:58
Reported-by: syzbot+f463da0823e4a4db9763@syzkaller.appspotmail.com
First crash: 9d16h, last: 9d10h

Sample crash report:
skbuff: skb_under_panic: text:ffffffff843e0a63 len:29 put:14 head:ffff88811ffcfc00 data:ffff88811ffcfbf4 tail:0x11 end:0x80 dev:<NULL>
------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:111!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 9507 Comm: syz-executor376 Not tainted 5.10.225-syzkaller-00513-g8d23314f588a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:skb_panic net/core/skbuff.c:111 [inline]
RIP: 0010:skb_under_panic+0x14c/0x150 net/core/skbuff.c:121
Code: c0 e8 8d 85 48 c7 c6 5d d8 d8 85 48 8b 55 c0 8b 4d d4 44 8b 45 d0 4c 8b 4d c8 53 41 55 41 54 41 57 e8 2e 29 ed 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:ffffc90000d976b0 EFLAGS: 00010282
RAX: 0000000000000086 RBX: ffffffff858de940 RCX: 06b70740fc46ec00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90000d976f0 R08: ffffffff81522098 R09: ffffed103ee2a5f8
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000011
R13: 0000000000000080 R14: dffffc0000000000 R15: ffff88811ffcfbf4
FS:  00007f77d66ed6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff906a3c78 CR3: 0000000120c7c000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 skb_push+0xf3/0x120 net/core/skbuff.c:1946
 vlan_get_protocol_dgram+0x123/0x220 net/packet/af_packet.c:550
 packet_recvmsg+0x5df/0x1cd0 net/packet/af_packet.c:3521
 ____sys_recvmsg+0x286/0x530
 ___sys_recvmsg+0x1ec/0x690 net/socket.c:2637
 do_recvmmsg+0x407/0x920 net/socket.c:2731
 __sys_recvmmsg net/socket.c:2810 [inline]
 __do_sys_recvmmsg net/socket.c:2833 [inline]
 __se_sys_recvmmsg net/socket.c:2826 [inline]
 __x64_sys_recvmmsg+0x195/0x240 net/socket.c:2826
 do_syscall_64+0x34/0x70
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f77d67530b9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 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:00007f77d66ed218 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007f77d67e21d8 RCX: 00007f77d67530b9
RDX: 0000000000000001 RSI: 0000000020000480 RDI: 0000000000000003
RBP: 00007f77d67e21d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000010022 R11: 0000000000000246 R12: 00007f77d67e21dc
R13: 00007f77d67a8604 R14: 83a88896d4b9b107 R15: 07c6c9333d389ca9
Modules linked in:
---[ end trace 5c67f38c6d3aab90 ]---
RIP: 0010:skb_panic net/core/skbuff.c:111 [inline]
RIP: 0010:skb_under_panic+0x14c/0x150 net/core/skbuff.c:121
Code: c0 e8 8d 85 48 c7 c6 5d d8 d8 85 48 8b 55 c0 8b 4d d4 44 8b 45 d0 4c 8b 4d c8 53 41 55 41 54 41 57 e8 2e 29 ed 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:ffffc90000d976b0 EFLAGS: 00010282
RAX: 0000000000000086 RBX: ffffffff858de940 RCX: 06b70740fc46ec00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90000d976f0 R08: ffffffff81522098 R09: ffffed103ee2a5f8
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000011
R13: 0000000000000080 R14: dffffc0000000000 R15: ffff88811ffcfbf4
FS:  00007f77d66ed6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000560ba9adf098 CR3: 0000000120c7c000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/19 08:34 android13-5.10-lts 8d23314f588a c673ca06 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in vlan_get_protocol_dgram
2024/09/19 07:09 android13-5.10-lts 8d23314f588a c673ca06 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in vlan_get_protocol_dgram
2024/09/19 05:43 android13-5.10-lts 8d23314f588a c673ca06 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in vlan_get_protocol_dgram
2024/09/19 04:05 android13-5.10-lts 8d23314f588a c673ca06 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in vlan_get_protocol_dgram
2024/09/19 02:58 android13-5.10-lts 8d23314f588a c673ca06 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in vlan_get_protocol_dgram
* Struck through repros no longer work on HEAD.