CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/11/17 06:25:45
Modified files:
sys/kern : Tag: OPENBSD_8_0 kern_event.c
Log message:
Implement a different fix for the use-after-free in filt_procattach
from rev 1.207.
Instead of shuffling locks around take a process reference in this
code to prevent the process from exiting under us while sleeping
for the kqueue_ps_list_lock rwlock. This is the same solution that
was used for a similar issue in fork1.
Reported by Acts1631 and OpenAI
Patch provided by OpenAI
from claudio@; OK mvs@
this is errata/8.0/022_kqueue.patch.sig