Do not try to unlock a NULL object.
authormpi <mpi@openbsd.org>
Fri, 17 Dec 2021 14:18:15 +0000 (14:18 +0000)
committermpi <mpi@openbsd.org>
Fri, 17 Dec 2021 14:18:15 +0000 (14:18 +0000)
commitf08b8e936de962e196a0ac3cccc2fd86ce3f0f30
tree4b42fc9292660d419e36329d864f1adfc1976283
parentd89ec533011f513df1010f142a111086a0785f09
Do not try to unlock a NULL object.

Fix a NULL dereference introduced in previous, reported by anton@ and
Benjamin Baier.

Reported-by: syzbot+c172bd335801b67e515b@syzkaller.appspotmail.com
sys/uvm/uvm_fault.c