β¬’ DragonFlyBSD Kernel Audit
← triage Β· dashboard
DF-0194

vfs_mount caches mnt_cred with unlocked check-then-set

Summary

vfs_mount(:90-91) check-then-set mp->mnt_cred with no lock when MNTK_MPSAFE (VFS_MPLOCK no-op). Safe today (caller holds mnt_token). MNT_UPDATE stale mnt_cred never refreshed. Fragile.

Discussion (0)

No comments yet.

PoC verification

Evidence pack

findings/poc/DF-0194 Β· 1 files
FileTypeDescriptionSize
manifest.json file 390 B view raw

Fix verification

not_testable
baseline reproduced→ patch + rebuild →patched clean

recommended fix identified; fix.diff not authored/validated in this batch

recommended fix identified; fix.diff not authored/validated in this batch
combined build rc=0

Confirmed kernel references

β€”

Detail

Exploit chain

none (Info severity)

Evidence (decisive lines)

Source-confirmed at sys/kern/vfs_vfsops.c:89: vfs_mount caches mnt_cred with unlocked check-then-set

Verified recommended fix

Source-confirmed at sys/kern/vfs_vfsops.c:89: vfs_mount caches mnt_cred with unlocked check-then-set

Verdict

Source-confirmed at sys/kern/vfs_vfsops.c:89: vfs_mount caches mnt_cred with unlocked check-then-set