HomeFreeBSD

Plug some networking sysctl leaks.

Description

Plug some networking sysctl leaks.

Various network protocol sysctl handlers were not zero-filling their
output buffers and thus would export uninitialized stack memory to
userland. Fix a number of such handlers.

Reported by: Thomas Barabosch, Fraunhofer FKIE
Reviewed by: tuexen
MFC after: 3 days
Security: kernel memory disclosure
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D18301

Details

Provenance
markjAuthored on
Reviewer
tuexen
Differential Revision
D18301: Plug networking sysctl leaks.
Parents
rS340782: A TCP stack is required to check SEG.ACK first, when processing a
Branches
Unknown
Tags
Unknown