]> git.michaelhowe.org Git - packages/o/openafs.git/commit
OPENAFS-SA-2016-002 AFSStoreVolumeStatus information leak
authorBenjamin Kaduk <kaduk@mit.edu>
Tue, 15 Mar 2016 04:15:20 +0000 (23:15 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Wed, 16 Mar 2016 04:03:33 +0000 (00:03 -0400)
commit3ed975016290f916047fe2ac04303ee393e18a7a
treea92db211105c3a78030740b0ce43707745e0aac3
parent90cb77f975244c77ef929be723e5b871247cbe9d
OPENAFS-SA-2016-002 AFSStoreVolumeStatus information leak

The AFSStoreVolumeStatus structure is used as an input to the
RXAFS_SetVolumeStatus RPC; it contains a Mask field that controls
which of the other fields will actually be read by the server
during the RPC processing.  Unfortunately, the client only
wrote to the fields indicated by the mask, leaving the other
fields uninitialized for transmission on the wire, leaking
some contents of kernel memory.

Plug the information leak by zeroing the entire structure before use.

FIXES 132847

Change-Id: Ia7aaccd53db56c7359552b70113f9ae5edbd833e
src/WINNT/afsd/cm_ioctl.c
src/afs/afs_pioctl.c