CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2024/09/24 06:37:11
Modified files: sys/kern : kern_sysctl.c Log message: Fix sleeping race during malloc in sysctl hw.disknames. When mallocarray(9) sleeps, disk_count can change, and diskstatslen gets inconsistent. This caused free(9) to panic. Reported-by: syzbot+36e1f3b306f721f90...@syzkaller.appspotmail.com OK deraadt@ mpi@