Page MenuHomeFreeBSD

vfs: Fix resource leaks in kern_symlinkat()
ClosedPublic

Authored by markj on Jul 6 2026, 1:38 PM.
Tags
None
Referenced Files
F174231947: D58053.diff
Thu, Oct 1, 1:56 PM
Unknown Object (File)
Wed, Sep 30, 7:51 PM
Unknown Object (File)
Mon, Sep 28, 9:34 PM
Unknown Object (File)
Sat, Sep 26, 9:49 AM
Unknown Object (File)
Sun, Sep 20, 3:03 PM
Unknown Object (File)
Sun, Sep 20, 11:07 AM
Unknown Object (File)
Wed, Sep 16, 4:24 AM
Unknown Object (File)
Fri, Sep 11, 6:57 AM
Subscribers

Details

Summary

Fixes: 2ec2ba7e232d ("vfs: Add VFS/syscall support for Solaris style extended attributes")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj requested review of this revision.Jul 6 2026, 1:38 PM
kib added inline comments.
sys/kern/vfs_syscalls.c
1883

IMO it makes sense to move the VIRF_NAMEDIR check before vn_start_write(), but it would require more care for proper cleanup.

This revision is now accepted and ready to land.Jul 6 2026, 1:45 PM
This revision was automatically updated to reflect the committed changes.