HomeFreeBSD

nfscl: fix uninitialized memory in nfsv4_loadattr

Description

nfscl: fix uninitialized memory in nfsv4_loadattr

When processing an RPC response that did not include any Owner
attribute, nfsv4_loadattr would return na_uid and na_gid uninitialized.
The uninitialized values could then make their way into the NFS
attribute cache via nfscl_loadattrcache.

PR: 281279
Reported by: KMSAN
MFC after: 2 weeks
Reviewed by: rmacklem
Sponsored by: Axcient

Details

Provenance
asomersAuthored on Sep 8 2024, 8:42 PM
Parents
rGf93a50d69df2: fusefs: fix an uninitialized memory access in fuse_vnop_deallocate
Branches
Unknown
Tags
Unknown