syzbot


kernel BUG in vlan_get_tci

Status: premoderation: reported on 2024/09/19 01:28
Reported-by: syzbot+fce5ddc891c60f652a41@syzkaller.appspotmail.com
First crash: 63d, last: 35d

Sample crash report:
skbuff: skb_under_panic: text:ffffffff843e2acb len:29 put:14 head:ffff88810d786800 data:ffff88810d786810 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: 17600 Comm: syz.0.4160 Not tainted 5.10.226-syzkaller-00709-ge5e5644ea27f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:skb_panic net/core/skbuff.c:111 [inline]
RIP: 0010:skb_under_panic+0x14c/0x150 net/core/skbuff.c:121
Code: 00 eb 8d 85 48 c7 c6 3d dc 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 fe 32 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:ffffc90000fef628 EFLAGS: 00010286
RAX: 0000000000000086 RBX: ffffffff858deb80 RCX: c7dcf6d79e6f3300
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90000fef668 R08: ffffffff81522098 R09: ffffed103ee2a5f8
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000011
R13: 0000000000000080 R14: dffffc0000000000 R15: ffff88810d786810
FS:  00007f85559316c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffff7000000 CR3: 000000014d76f000 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_tci+0x22b/0x500 net/packet/af_packet.c:530
 packet_recvmsg+0x108a/0x1cd0 net/packet/af_packet.c:3583
 ____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:0x7f8556cf9ff9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8555931038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007f8556eb2130 RCX: 00007f8556cf9ff9
RDX: 0000000000000002 RSI: 0000000020000180 RDI: 0000000000000009
RBP: 00007f8556d6c296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000010022 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f8556eb2130 R15: 00007ffd30b835b8
Modules linked in:
---[ end trace e78d1ad60412ea05 ]---
RIP: 0010:skb_panic net/core/skbuff.c:111 [inline]
RIP: 0010:skb_under_panic+0x14c/0x150 net/core/skbuff.c:121
Code: 00 eb 8d 85 48 c7 c6 3d dc 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 fe 32 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:ffffc90000fef628 EFLAGS: 00010286
RAX: 0000000000000086 RBX: ffffffff858deb80 RCX: c7dcf6d79e6f3300
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90000fef668 R08: ffffffff81522098 R09: ffffed103ee2a5f8
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000011
R13: 0000000000000080 R14: dffffc0000000000 R15: ffff88810d786810
FS:  00007f85559316c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffff7000000 CR3: 000000014d76f000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/17 08:47 android13-5.10-lts e5e5644ea27f 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in vlan_get_tci
2024/09/19 01:27 android13-5.10-lts 8d23314f588a c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in vlan_get_tci
* Struck through repros no longer work on HEAD.