diff options
author | Kulikov Vasiliy <segooon@gmail.com> | 2010-10-30 14:26:17 +0000 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-11-10 12:00:47 -0600 |
commit | 6762b938eac878a30a90e770ac655874c36bc642 (patch) | |
tree | 424b9893aa5494104b8d93de2b9c52fbdce37b75 /fs/xfs/xfs_mount.c | |
parent | 5d0af85cd0964bb845b63d5059bb20e8f7731e65 (diff) | |
download | lwn-6762b938eac878a30a90e770ac655874c36bc642.tar.gz lwn-6762b938eac878a30a90e770ac655874c36bc642.zip |
xfs: xfs_ioctl: fix information leak to userland
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>
Diffstat (limited to 'fs/xfs/xfs_mount.c')
0 files changed, 0 insertions, 0 deletions