]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r331329: Fix kernel memory disclosure in ibcs2_getdents
authoremaste <emaste@FreeBSD.org>
Wed, 28 Mar 2018 13:41:43 +0000 (13:41 +0000)
committeremaste <emaste@FreeBSD.org>
Wed, 28 Mar 2018 13:41:43 +0000 (13:41 +0000)
commit70103ce46f7a4f1731900e377c671246f9cbd0a8
tree97aae3d334a2dbf05dbf5b34622e40862b2a478c
parent7ff6ea0d3119854fae9c76bb6e4b318fe0f0a5a7
MFC r331329: Fix kernel memory disclosure in ibcs2_getdents

ibcs2_getdents() copies a dirent structure to userland.  The ibcs2
dirent structure contains a 2 byte pad element.  This element is never
initialized, but copied to userland none-the-less.

Note that ibcs2 has not built on HEAD since r302095.

Submitted by: Domagoj Stolfa <ds815@cam.ac.uk>
Reported by: Ilja Van Sprundel <ivansprundel@ioactive.com>
Security: Kernel memory disclosure (803)
Sponsored by: The FreeBSD Foundation
sys/i386/ibcs2/ibcs2_misc.c