oss-sec mailing list archives

CVE request: kernel: xfs: XFS_IOC_FSGETXATTR ioctl memory leak


From: Eugene Teo <eugene () redhat com>
Date: Tue, 07 Sep 2010 11:18:51 +0800

From Dan Rosenberg, "the XFS_IOC_FSGETXATTR ioctl allows unprivileged users to read 12 bytes of uninitialized stack memory, because the fsxattr struct declared on the stack in xfs_ioc_fsgetxattr() does not alter (or zero) the 12-byte fsx_pad member before copying it back to the user."

http://www.linux.sgi.com/archives/xfs-masters/2010-09/msg00002.html
https://bugzilla.redhat.com/show_bug.cgi?id=630804

Thanks, Eugene
--
main(i) { putchar(182623909 >> (i-1) * 5&31|!!(i<7)<<6) && main(++i); }


Current thread: