Page MenuHomeFreeBSD

vfs: Add KASAN state transitions for vnodes
ClosedPublic

Authored by markj on Mar 27 2021, 11:29 PM.

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
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.