syzbot


panic: receive 3: so ADDR, so_type 1, m ADDR, m_type 6
Status: fixed on 2018/12/19 08:48
Reported-by: syzbot+613db18acc3d2149ab94@syzkaller.appspotmail.com
Fix commit: When using MSG_WAITALL, soreceive() can sleep while processing the receive buffer of a stream socket. Then a new pair of control and data mbuf can be appended to the mbuf queue. In this case, terminate the loop with a short read to prevent a panic. Userland should read the control message with the next system call. OK claudio@ deraadt@
First crash: 133d, last: 124d

Sample crash report:

All crashes (18):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro
ci-openbsd-setuid 2018/12/13 23:58 openbsd c8b13bcd dd2fb82f .config log report syz C
ci-openbsd-main 2018/12/13 09:06 openbsd 91826785 34f73592 .config log report syz
ci-openbsd-main 2018/12/13 23:27 openbsd c8b13bcd dd2fb82f .config log report syz
ci-openbsd-setuid 2018/12/18 08:47 openbsd 9257d67b 527230f1 .config log report
ci-openbsd-setuid 2018/12/18 08:18 openbsd 9257d67b 527230f1 .config log report
ci-openbsd-main 2018/12/18 02:43 openbsd 9257d67b 527230f1 .config log report
ci-openbsd-main 2018/12/17 21:08 openbsd 9257d67b 527230f1 .config log report
ci-openbsd-setuid 2018/12/09 04:24 https://github.com/blackgnezdo/src.git anton-kcov-dec8 737f2a16 e699a2b9 .config log report
ci-openbsd-main 2018/12/17 00:19 openbsd 4e9c4198 1749e412 .config log report
ci-openbsd-setuid 2018/12/16 21:10 openbsd 4e9c4198 1749e412 .config log report
ci-openbsd-main 2018/12/15 23:47 openbsd 014e1581 def91db3 .config log report
ci-openbsd-multicore 2018/12/15 00:55 openbsd cb84e044 7624ddd6 .config log report
ci-openbsd-setuid 2018/12/14 07:17 openbsd b8bc906a fe7127be .config log report
ci-openbsd-setuid 2018/12/14 00:22 openbsd c8b13bcd dd2fb82f .config log report
ci-openbsd-setuid 2018/12/13 23:41 openbsd c8b13bcd dd2fb82f .config log report
ci-openbsd-main 2018/12/13 23:04 openbsd c8b13bcd dd2fb82f .config log report
ci-openbsd-main 2018/12/13 08:32 openbsd 91826785 34f73592 .config log report
ci-openbsd-setuid 2018/12/09 09:06 https://github.com/blackgnezdo/src.git anton-kcov-dec8 737f2a16 e699a2b9 .config log report