Module Name:    src
Committed By:   riastradh
Date:           Tue Aug  6 15:48:06 UTC 2019

Modified Files:
        src/sys/kern: sysv_shm.c

Log Message:
Acquire shmseg uobj reference while we hold shm_lock.

Otherwise nothing prevents it from being detached under our feet when
we drop shm_lock.

Reported-by: syzbot+a76c618a6808a0fda...@syzkaller.appspotmail.com


To generate a diff of this commit:
cvs rdiff -u -r1.135 -r1.136 src/sys/kern/sysv_shm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to