xfs: xfs_ioctl: fix information leak to userland
authorKulikov Vasiliy <segooon@gmail.com>
Sat, 30 Oct 2010 14:26:17 +0000 (14:26 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 10 Nov 2010 18:00:47 +0000 (12:00 -0600)
al_hreq is copied from userland.  If al_hreq.buflen is not properly aligned
then xfs_attr_list will ignore the last bytes of kbuf.  These bytes are
unitialized.  It leads to leaking of contents of kernel stack memory.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Alex Elder <aelder@sgi.com>

No differences found