git: DragonFly_RELEASE_6_4 kernel - Fix panic on bad device number
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Nov 11 07:46:01 PST 2026
commit 982c3f46c4674e350de1f8b92e8c9556cf5cb81d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Wed Nov 11 07:43:58 2026 -0800
kernel - Fix panic on bad device number
* mknod() can create non-existant devices. An attempt to do certain
operations such as stat*() will panic the kernel with a NULL pointer
indirection.
* Fix by adding the appropriate NULL check.
Reported-by: aly
Summary of changes:
sys/kern/vfs_vnops.c | 4 ++++
1 file changed, 4 insertions(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/982c3f46c4674e350de1f8b92e8c9556cf5cb81d
--
DragonFly BSD source repository
More information about the Commits
mailing list