]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r331333: Fix kernel memory disclosure in drm_infobufs
authoremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 23 Mar 2018 02:38:31 +0000 (02:38 +0000)
committeremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 23 Mar 2018 02:38:31 +0000 (02:38 +0000)
commit2b8e0df5779087d05469815b4fbc2de63c178d18
treebfc16d7e795cb89a6cf8d095351712444d4d6fda
parent618ebef5b534e882b6e443127a0e56539a692f49
MFC r331333: 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>
Security: Kernel memory disclosure (798)

git-svn-id: svn://svn.freebsd.org/base/stable/10@331412 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/drm/drm_bufs.c