syzbot


general protection fault in tcp_sendmsg

Status: public: reported syz repro on 2019/04/14 00:02
Reported-by: syzbot+2d77a08eb45fe662559c@syzkaller.appspotmail.com
First crash: 2173d, last: 2038d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-414 general protection fault in tcp_sendmsg 1 1767d 1767d 0/1 auto-closed as invalid on 2020/01/11 06:41

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 4726 Comm: syz-executor4 Not tainted 4.4.167+ #4
task: ffff8801cff14740 task.stack: ffff8801d1b38000
RIP: 0010:[<ffffffff823f7159>]  [<ffffffff823f7159>] tcp_sendmsg+0x459/0x2b30 net/ipv4/tcp.c:1165
RSP: 0018:ffff8801d1b3f9a0  EFLAGS: 00010206
RAX: 0000000000000011 RBX: 000000007fb29588 RCX: 1ffff10039a1588e
RDX: 0000000000000001 RSI: ffffffff823f7138 RDI: 0000000000000089
RBP: ffff8801d1b3fb68 R08: ffff8801cff15008 R09: 0000000000000001
R10: 0000000000000000 R11: ffffffff831a4978 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: ffff8801cd0ac200
FS:  00007fd5a1690700(0000) GS:ffff8801db600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe2d721a1b0 CR3: 00000001d0042000 CR4: 00000000001606b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffff8801cc958000 ffff8801cd0ac228 0000000000000000 fffffbfff0634d24
 ffff8801cff15940 0000000000000001 ffff8800b268b9c8 ffff8801cd0ac458
 ffff8800b268b97c ffff8801cd0aca1b ffff8800b268b9c4 0000000100000246
Call Trace:
 [<ffffffff824a4e33>] inet_sendmsg+0x203/0x4d0 net/ipv4/af_inet.c:755
 [<ffffffff821d1f8b>] sock_sendmsg_nosec net/socket.c:638 [inline]
 [<ffffffff821d1f8b>] sock_sendmsg+0xbb/0x110 net/socket.c:648
 [<ffffffff821d2203>] sock_write_iter+0x223/0x3b0 net/socket.c:847
 [<ffffffff814918d4>] new_sync_write fs/read_write.c:478 [inline]
 [<ffffffff814918d4>] __vfs_write+0x304/0x3e0 fs/read_write.c:491
 [<ffffffff8149339e>] vfs_write+0x17e/0x4e0 fs/read_write.c:538
 [<ffffffff814959d9>] SYSC_write fs/read_write.c:585 [inline]
 [<ffffffff814959d9>] SyS_write+0xd9/0x1c0 fs/read_write.c:577
 [<ffffffff82715ee1>] entry_SYSCALL_64_fastpath+0x1e/0x9a
Code: 84 5d 09 00 00 e8 08 01 f1 fe 8b 85 18 ff ff ff 49 8d bc 24 89 00 00 00 48 89 fa 83 e2 07 89 85 f0 fe ff ff 48 89 f8 48 c1 e8 03 <42> 0f b6 04 30 38 d0 7f 08 84 c0 0f 85 2f 20 00 00 41 f6 84 24 
RIP  [<ffffffff823f7159>] tcp_sendmsg+0x459/0x2b30 net/ipv4/tcp.c:1165
 RSP <ffff8801d1b3f9a0>
---[ end trace 48a6516cba68937e ]---

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/12/16 17:51 https://android.googlesource.com/kernel/common android-4.4 b95a8c048a28 def91db3 .config console log report syz ci-android-44-kasan-gce
2018/12/16 20:55 https://android.googlesource.com/kernel/common android-4.4 b95a8c048a28 def91db3 .config console log report syz ci-android-44-kasan-gce-386
2018/12/16 17:17 https://android.googlesource.com/kernel/common android-4.4 b95a8c048a28 def91db3 .config console log report ci-android-44-kasan-gce
2018/12/09 14:16 https://android.googlesource.com/kernel/common android-4.4 0d71150b2638 979179d6 .config console log report ci-android-44-kasan-gce
2018/08/03 08:39 https://android.googlesource.com/kernel/common android-4.4 2241aa98c9aa 5b7e23bb .config console log report ci-android-44-kasan-gce
* Struck through repros no longer work on HEAD.