diff options
| author | Dan Carpenter <[email protected]> | 2013-10-31 21:00:10 +0300 |
|---|---|---|
| committer | Ben Myers <[email protected]> | 2013-12-10 09:59:37 -0600 |
| commit | 31978b5cc66b8ba8a7e8eef60b12395d41b7b890 (patch) | |
| tree | 77d24804c4e53b726d459b79a0b9850fe90c8c52 /drivers/scsi/mpt3sas/mpi/mpi2_raid.h | |
| parent | dc1ccc48159d63eca5089e507c82c7d22ef60839 (diff) | |
xfs: underflow bug in xfs_attrlist_by_handle()
If we allocate less than sizeof(struct attrlist) then we end up
corrupting memory or doing a ZERO_PTR_SIZE dereference.
This can only be triggered with CAP_SYS_ADMIN.
Reported-by: Nico Golde <[email protected]>
Reported-by: Fabian Yamaguchi <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: Ben Myers <[email protected]>
(cherry picked from commit 071c529eb672648ee8ca3f90944bcbcc730b4c06)
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions