Page MenuHomeFreeBSD

vfs: Add KASAN state transitions for vnodes
ClosedPublic

Authored by markj on Mar 27 2021, 11:29 PM.
Tags
None
Referenced Files
F139113070: D29459.diff
Mon, Dec 8, 12:15 AM
Unknown Object (File)
Fri, Nov 28, 12:33 PM
Unknown Object (File)
Thu, Nov 27, 5:36 AM
Unknown Object (File)
Tue, Nov 11, 1:33 AM
Unknown Object (File)
Nov 3 2025, 2:21 AM
Unknown Object (File)
Oct 24 2025, 6:02 PM
Unknown Object (File)
Oct 24 2025, 6:02 PM
Unknown Object (File)
Oct 24 2025, 6:02 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