CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2025/07/31 09:07:59
Modified files: sys/dev/dt : dt_dev.c Log message: Fix sleeping race in dt(4) ioctl(2). Functions dt_ioctl_record_start() and dt_ioctl_record_stop() are protected by kernel lock. This means there should be no sleeps as they release the kernel lock. rw_enter_write() may sleep which breaks the locking assumptions. Enlarge the critical section within sleeping lock to the beginning. This gives the benefit that more variables are protected by dt_lock. Reported-by: syzbot+34f860f29dc941cfb...@syzkaller.appspotmail.com OK sashan@