[Bug 242768] [panic] Fatal trap 12: current process (nfsd: service)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 4 01:34:01 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242768

--- Comment #11 from Rick Macklem <rmacklem at FreeBSD.org> ---
Created attachment 210429
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=210429&action=edit
check for a non-NULL tvp returned by nfsvno_getvp()

Duh. It's the obvious ones that are hard to spot.
I took another look and the bug is obvious.
nfsvno_getvp() returns NULL if it can't get the
vnode and this code didn't check for non-NULL
before doing the unlock.

The attached patch should avoid the crash.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list