syzbot


general protection fault in raw_sendmsg

Status: auto-closed as invalid on 2019/07/09 09:08
Reported-by: syzbot+51a32af272b46d0dfa07@syzkaller.appspotmail.com
First crash: 1919d, last: 1919d

Sample crash report:
==================================================================
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 11378 Comm: syz-executor1 Not tainted 4.9.149+ #4
task: ffff8801a19d17c0 task.stack: ffff8801a05c0000
RIP: 0010:[<ffffffff8255d71c>]  [<ffffffff8255d71c>] dst_output include/net/dst.h:507 [inline]
RIP: 0010:[<ffffffff8255d71c>]  [<ffffffff8255d71c>] NF_HOOK_THRESH include/linux/netfilter.h:232 [inline]
RIP: 0010:[<ffffffff8255d71c>]  [<ffffffff8255d71c>] NF_HOOK include/linux/netfilter.h:255 [inline]
RIP: 0010:[<ffffffff8255d71c>]  [<ffffffff8255d71c>] raw_send_hdrinc net/ipv4/raw.c:421 [inline]
RIP: 0010:[<ffffffff8255d71c>]  [<ffffffff8255d71c>] raw_sendmsg+0x1c3c/0x23e0 net/ipv4/raw.c:643
RSP: 0018:ffff8801a05c7830  EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff8801a05c7ae8 RCX: ffffc9000154d000
RDX: 000000000000000b RSI: ffffffff8255d703 RDI: 0000000000000058
RBP: ffff8801a05c7b10 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88019f4ba280
R13: 0000000000000000 R14: ffff8801a166cdc0 R15: ffff8801a2ed9100
FS:  00007fbb89439700(0000) GS:ffff8801db700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbb89417db8 CR3: 00000001c7935000 CR4: 00000000001606b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffffffff8255d331 ffffffff819f1a14 0000000000000001 0000000100000000
 ffff8801c942421a ffff8801a166ce48 000000000000003c ffff8801a166ce7a
 0000000000000011 ffff88019f4ba700 ffff8801a166ce18 ffff8801da53b8d8
Call Trace:
 [<ffffffff82593a62>] inet_sendmsg+0x202/0x4d0 net/ipv4/af_inet.c:770
 [<ffffffff822a1dfe>] sock_sendmsg_nosec net/socket.c:648 [inline]
 [<ffffffff822a1dfe>] sock_sendmsg+0xbe/0x110 net/socket.c:658
 [<ffffffff822a2085>] sock_write_iter+0x235/0x3d0 net/socket.c:856
 [<ffffffff81509bc1>] new_sync_write fs/read_write.c:496 [inline]
 [<ffffffff81509bc1>] __vfs_write+0x3c1/0x560 fs/read_write.c:509
 [<ffffffff8150c4a5>] vfs_write+0x185/0x520 fs/read_write.c:557
 [<ffffffff8151027c>] SYSC_write fs/read_write.c:604 [inline]
 [<ffffffff8151027c>] SyS_write+0xdc/0x1c0 fs/read_write.c:596
 [<ffffffff810056bd>] do_syscall_64+0x1ad/0x570 arch/x86/entry/common.c:285
 [<ffffffff828146d3>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb
Code: 8b 6e 58 41 f6 c5 01 0f 85 a7 02 00 00 e8 2d dc db fe 49 83 e5 fe 48 b8 00 00 00 00 00 fc ff df 49 8d 7d 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 33 05 00 00 49 8b 45 58 4c 89 f2 4c 89 e6 48 
RIP  [<ffffffff8255d71c>] dst_output include/net/dst.h:507 [inline]
RIP  [<ffffffff8255d71c>] NF_HOOK_THRESH include/linux/netfilter.h:232 [inline]
RIP  [<ffffffff8255d71c>] NF_HOOK include/linux/netfilter.h:255 [inline]
RIP  [<ffffffff8255d71c>] raw_send_hdrinc net/ipv4/raw.c:421 [inline]
RIP  [<ffffffff8255d71c>] raw_sendmsg+0x1c3c/0x23e0 net/ipv4/raw.c:643
 RSP <ffff8801a05c7830>
---[ end trace 042e2b1192e53bce ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/01/10 09:07 https://android.googlesource.com/kernel/common android-4.9 ed0b11d22809 45c0c1b1 .config console log report ci-android-49-kasan-gce-root
* Struck through repros no longer work on HEAD.