HomeFreeBSD

acl_copyin: avoid returning uninitialized memory

Description

acl_copyin: avoid returning uninitialized memory

acl_copyin did not validate the return value of acl_copy_oldacl_into_acl
which could lead to uninitialized acl structure memory reads.

Reported by: Synacktiv
Reviewed by: markj, emaste
Sponsored by: The Alpha-Omega Project
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D46125

Details

Provenance
khorben_defora.orgAuthored on Jul 25 2024, 12:44 PM
emasteCommitted on Aug 9 2024, 2:40 PM
Reviewer
markj
Differential Revision
Restricted Differential Revision
Parents
rG9b569353e0b0: tcp: initialize V_ts_offset_secret for all vnets
Branches
Unknown
Tags
Unknown