CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/11/05 14:18:13

Modified files:
        sys/kern       : 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
OK mvs@

Reply via email to