CVSROOT:        /cvs
Module name:    src
Changes by:     an...@cvs.openbsd.org   2019/01/21 11:09:21

Modified files:
        sys/kern       : vfs_lockf.c vfs_subr.c 
        sys/msdosfs    : denode.h 
        sys/nfs        : nfsnode.h 
        sys/sys        : fcntl.h lockf.h specdev.h 
        sys/tmpfs      : tmpfs.h 
        sys/ufs/ufs    : inode.h 

Log message:
Introduce a dedicated entry point data structure for file locks. This new data
structure allows for better tracking of pending lock operations which is
essential in order to prevent a use-after-free once the underlying vnode is
gone.

Inspired by the lockf implementation in FreeBSD.

ok visa@

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

Reply via email to