syzbot


kernel BUG at net/packet/af_packet.c:LINE! (3)

Status: fixed on 2018/07/29 21:25
Subsystems: net
[Documentation on labels]
Fix commit: a6361f0ca4b2 packet: fix bitfield update race
First crash: 2279d, last: 2232d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG at net/packet/af_packet.c:LINE! C 43 2399d 2361d 0/26 closed as invalid on 2017/11/01 18:58
upstream kernel BUG at net/packet/af_packet.c:LINE! (2) net 2 2329d 2331d 3/26 fixed on 2017/12/27 08:45
android-49 kernel BUG at net/packet/af_packet.c:LINE! C 10 2232d 2418d 0/3 closed as invalid on 2019/01/01 20:10

Sample crash report:
------------[ cut here ]------------
kernel BUG at net/packet/af_packet.c:3107!
invalid opcode: 0000 [#1] SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 6573 Comm: syz-executor2 Not tainted 4.16.0-rc4+ #348
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:packet_do_bind+0xae8/0xd10 net/packet/af_packet.c:3107
RSP: 0018:ffff8801ce11faf8 EFLAGS: 00010293
RAX: ffff8801b4c12700 RBX: ffff8801aa4711c0 RCX: ffffffff85105f28
RDX: 0000000000000000 RSI: 0000000012d1e8ca RDI: ffff8801db323750
RBP: ffff8801ce11fbf8 R08: 1ffff10039c23ea1 R09: 0000000000000002
R10: ffff8801ce11f9c8 R11: 0000000000000000 R12: 0000000000000000
R13: 1ffff10039c23f66 R14: 0000000000000000 R15: ffff8801aa471908
FS:  00007fec07a88700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000072c000 CR3: 00000001c6660004 CR4: 00000000001606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 packet_bind+0x141/0x1a0 net/packet/af_packet.c:3182
 SYSC_bind+0x1c3/0x410 net/socket.c:1474
 SyS_bind+0x24/0x30 net/socket.c:1460
 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x453e69
RSP: 002b:00007fec07a87c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000031
RAX: ffffffffffffffda RBX: 00007fec07a886d4 RCX: 0000000000453e69
RDX: 0000000000000014 RSI: 0000000020000240 RDI: 0000000000000004
RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000000000000002c R14: 00000000006f04c0 R15: 0000000000000000
Code: 8e 94 01 00 00 0f b7 85 34 ff ff ff 48 c7 83 48 07 00 00 00 00 00 00 66 89 83 40 07 00 00 45 31 ff e9 a9 f9 ff ff e8 28 a7 60 fc <0f> 0b e8 21 a7 60 fc 4c 89 fa 48 b8 00 00 00 00 00 fc ff df 48 
RIP: packet_do_bind+0xae8/0xd10 net/packet/af_packet.c:3107 RSP: ffff8801ce11faf8
---[ end trace 986a6f4a3fe2beb7 ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/03/10 15:08 upstream cdb06e9d8f52 36d1c454 .config console log report syz ci-upstream-kasan-gce
2018/01/22 14:44 upstream 0d665e7b109d 228e3d95 .config console log report syz ci-upstream-kasan-gce
2018/02/17 08:29 upstream 1e3510b2b053 c8b3f7c1 .config console log report ci-upstream-kasan-gce
2018/01/24 08:05 upstream 1f07476ec143 a5b7566c .config console log report ci-upstream-kasan-gce
2018/02/07 11:10 net-next-old 617aebe6a97e 66c15deb .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.