HomeFreeBSD

vfs: Add KASAN state transitions for vnodes

Description

vfs: Add KASAN state transitions for vnodes

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.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D29459

Details

Provenance
markjAuthored on Apr 13 2021, 9:40 PM
Differential Revision
D29459: vfs: Add KASAN state transitions for vnodes
Parents
rG2b914b85ddf4: kmem: Add KASAN state transitions
Branches
Unknown
Tags
Unknown