syzbot


general protection fault in __ip_options_echo

Status: closed as invalid on 2017/08/11 13:32
First crash: 2476d, last: 2467d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in __ip_options_echo (2) C 2 2434d 2434d 3/26 fixed on 2017/10/24 06:54

Sample crash report:
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 2943 Comm: syzkaller425979 Not tainted 4.13.0-rc2+ #4
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801d35cc680 task.stack: ffff8801d03e8000
RIP: 0010:__ip_options_echo+0xea8/0x1430 net/ipv4/ip_options.c:143
RSP: 0018:ffff8801d03ef628 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff8801d03ef928 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000004
RBP: ffff8801d03ef6b8 R08: ffff8801d03ef938 R09: ffffed003a07df28
R10: 0000000000000003 R11: ffffed003a07df27 R12: ffff8801d03ef918
R13: ffff8801d0259e6c R14: 0000000000000011 R15: 0000000000000018
FS:  00007fe33bc31700(0000) GS:ffff8801dc000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020ec0000 CR3: 00000001d1762000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ip_options_echo include/net/ip.h:574 [inline]
 ip_cmsg_recv_retopts net/ipv4/ip_sockglue.c:91 [inline]
 ip_cmsg_recv_offset+0xa17/0x1280 net/ipv4/ip_sockglue.c:207
 udp_recvmsg+0xe5a/0x1260 net/ipv4/udp.c:1642
 inet_recvmsg+0x14c/0x5f0 net/ipv4/af_inet.c:793
 sock_recvmsg_nosec net/socket.c:792 [inline]
 sock_recvmsg+0xc9/0x110 net/socket.c:799
 SYSC_recvfrom+0x2d6/0x570 net/socket.c:1788
 SyS_recvfrom+0x40/0x50 net/socket.c:1760
 entry_SYSCALL_64_fastpath+0x1f/0xbe
RIP: 0033:0x44a209
RSP: 002b:00007fe33bc30d88 EFLAGS: 00000212 ORIG_RAX: 000000000000002d
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000044a209
RDX: 0000000000000000 RSI: 00000000207af000 RDI: 0000000000000004
RBP: 0000000000000086 R08: 0000000020efefa0 R09: 0000000000000060
R10: 0000000000000000 R11: 0000000000000212 R12: 0000000000000000
R13: 00007ffe8d85444f R14: 00007fe33bc319c0 R15: 0000000000000000
Code: f6 c1 01 0f 85 a5 01 00 00 48 89 4d b8 e8 c1 c6 f6 fd 48 8b 4d b8 48 b8 00 00 00 00 00 fc ff df 48 83 e1 fe 48 89 ca 48 c1 ea 03 <80> 3c 02 00 0f 85 41 02 00 00 48 8b 09 48 b8 00 00 00 00 00 fc 
RIP: __ip_options_echo+0xea8/0x1430 net/ipv4/ip_options.c:143 RSP: ffff8801d03ef628
---[ end trace 39dcd3aac1c4535f ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2017/07/25 03:20 upstream 520eccdfe187 e78d03e2 .config console log report syz C ci-upstream-kasan-gce
2017/08/04 01:23 upstream 8d3fe85f07a9 f5040a63 .config console log report ci-upstream-kasan-gce
2017/07/25 02:50 upstream 520eccdfe187 e78d03e2 .config console log report ci-upstream-kasan-gce
* Struck through repros no longer work on HEAD.