diff options
author | Prabhath Sajeepa <psajeepa@purestorage.com> | 2019-10-29 01:56:48 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-11-04 20:56:42 +0300 |
commit | 64fab7290dc3561729bbc1e35895a517eb2e549e (patch) | |
tree | 5137177a5f13fea20d5a421883b728104e04f80e /drivers/md | |
parent | 716fd9c119a982c34af196fe9205d7a617f38e3e (diff) | |
download | linux-64fab7290dc3561729bbc1e35895a517eb2e549e.tar.xz |
nvme: Fix parsing of ANA log page
Check validity of offset into ANA log buffer before accessing
nvme_ana_group_desc. This check ensures the size of ANA log buffer >=
offset + sizeof(nvme_ana_group_desc)
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Prabhath Sajeepa <psajeepa@purestorage.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions