Page MenuHomeFreeBSD

vfs: Add KASAN state transitions for vnodes
ClosedPublic

Authored by markj on Mar 27 2021, 11:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 11, 1:33 AM
Unknown Object (File)
Mon, Nov 3, 2:21 AM
Unknown Object (File)
Fri, Oct 24, 6:02 PM
Unknown Object (File)
Fri, Oct 24, 6:02 PM
Unknown Object (File)
Fri, Oct 24, 6:02 PM
Unknown Object (File)
Fri, Oct 24, 9:51 AM
Unknown Object (File)
Oct 14 2025, 4:19 AM
Unknown Object (File)
Sep 16 2025, 8:40 PM
Subscribers

Details

Summary

vnodes are a bit special in that they may exist on per-CPU lists even
while free. Add a KASAN-only destructor that poisons regions of each
vnode that are not expected to be accessed after a free.

Diff Detail

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