git: kernel - Fix cache_fullpath() races in procfs (2)
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Nov 10 09:17:49 PST 2026
commit 0bab2e6c76f675b57015d449f9922353c6d30b86
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Tue Nov 10 09:07:12 2026 -0800
kernel - Fix cache_fullpath() races in procfs (2)
* mount_warning() can use cache_fullpath_refd(), fixes panic.
* Also fix the panic a second way by allowing cache_drop() on a
nch with a NULL ncp. Since cache_copy() allows the case, cache_drop()
should as well.
Reported-by: tuxillo
Summary of changes:
sys/kern/vfs_cache.c | 3 ++-
sys/kern/vfs_syscalls.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0bab2e6c76f675b57015d449f9922353c6d30b86
--
DragonFly BSD source repository
More information about the Commits
mailing list