HomeFreeBSD

Fix kernel memory disclosure in drm_infobufs

Description

Fix kernel memory disclosure in drm_infobufs

drm_infobufs() has a structure on the stack, fills it out and copies it
to userland. There are 2 elements in the struct that are not filled out
and left uninitialized. This will leak uninitialized kernel stack data
to userland.

Submitted by: Domagoj Stolfa <ds815@cam.ac.uk>
Reported by: Ilja Van Sprundel <ivansprundel@ioactive.com>
MFC after: 1 day
Security: Kernel memory disclosure (798)

Details

Provenance
emasteAuthored on
Parents
rS331332: If a jail parameter isn't found, try loading a related kernel module.
Branches
Unknown
Tags
Unknown