Commit ID d46b8f334e1a8498ad60ebe0fdf600685604efcc
|
Contributor: | Willy Tarreau | Files Modified: | 11 |
| Date: | 18-December-2010 at 14:42 | Lines Added: | 14 | |
| Repository: | git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.4.37.y.git master | Lines Removed: | 0 | |
| Commit Comment: | block: ioctl: fix information leak to userland Structure hd_geometry is copied to userland with 4 padding bytes between cylinders and start fields uninitialized on 64-bit platforms. It leads to leaking of contents of kernel stack memory. Signed-off-by: Vasiliy Kulikov <sego...@gmail.com> Signed-off-by: Jens Axboe <jax...@fusionio.com> (2.6 commit: a014741c0adfb8fb79952939ca087cf03d272bb9) [WT: different fix from 2.6 because we could not centralize the ioctl, so all affected drivers had to be fixed ] Signed-off-by: Willy Tarreau <w...@1wt.eu> |
|||
| Language | Code Added | Code Removed | Comments Added | Comment Removed | Blanks Added | Blanks Removed | |
|---|---|---|---|---|---|---|---|
| C | 14 | 0 | 0 | 0 | 0 | 0 | |
| File | Language | Code Added | Code Removed | Comments Added | Comment Removed | Blanks Added | Blanks Removed |
|---|---|---|---|---|---|---|---|
| drivers/block/amiflop.c | C | 1 | 0 | 0 | 0 | 0 | 0 |
| drivers/block/cciss.c | C | 2 | 0 | 0 | 0 | 0 | 0 |
| drivers/block/cpqarray.c | C | 2 | 0 | 0 | 0 | 0 | 0 |
| drivers/block/DAC960.c | C | 1 | 0 | 0 | 0 | 0 | 0 |
| drivers/block/floppy.c | C | 1 | 0 | 0 | 0 | 0 | 0 |
| drivers/block/sx8.c | C | 2 | 0 | 0 | 0 | 0 | 0 |
| drivers/block/umem.c | C | 1 | 0 | 0 | 0 | 0 | 0 |
| drivers/block/xd.c | C | 1 | 0 | 0 | 0 | 0 | 0 |
| drivers/ide/legacy/hd.c | C | 1 | 0 | 0 | 0 | 0 | 0 |
| drivers/message/i2o/i2o_block.c | C | 1 | 0 | 0 | 0 | 0 | 0 |
Copyright
©
2013
Black Duck Software, Inc.
and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a
Creative Commons Attribution 3.0 Unported License
. Ohloh
®
and the Ohloh logo are trademarks of
Black Duck Software, Inc.
in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.