syzbot


kqueue: knote !QUEUED
Status: fixed on 2020/02/17 10:26
Reported-by: syzbot+8c174edc00da365121d7@syzkaller.appspotmail.com
Fix commit: 8c4786361ce1 Raise SPL when updating kn_status. Otherwise the field can become inconsistent if knote_acquire() or knote_release() is preempted by an interrupt that modifies the same knote.
First crash: 561d, last: 525d
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
panic: knote_enqueue:LINE: kq=ADDR kn=ADDR knote !QUEUED 1 567d 567d 0/3 closed as dup on 2020/01/12 08:57
Patch testing requests:
Created Duration User Patch Repo Result
2020/02/15 21:35 18m greg@nest.cx git://github.com/blackgnezdo/src.git knote-fix OK

Sample crash report:

Crashes (8):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-openbsd-setuid 2020/01/29 13:22 openbsd 23b78d59dd06 c8e81ce4 .config log report syz
ci-openbsd-setuid 2020/02/17 07:03 openbsd 6f957798a18d 1f448cd6 .config log report
ci-openbsd-setuid 2020/01/30 03:25 openbsd c9ac349a8ef5 5ed23f9a .config log report
ci-openbsd-setuid 2020/01/29 11:33 openbsd 23b78d59dd06 c8e81ce4 .config log report
ci-openbsd-setuid 2020/01/24 14:17 openbsd 99ecd6d8896d 2e95ab33 .config log report
ci-openbsd-setuid 2020/01/23 02:30 openbsd 2f00a6aed20c 3334d684 .config log report
ci-openbsd-setuid 2020/01/13 17:35 openbsd de7a415f8978 99565c1a .config log report
ci-openbsd-setuid 2020/01/12 04:28 openbsd 3c025a5e8658 4c04afaa .config log report