diff options
author | Prabhath Sajeepa <psajeepa@purestorage.com> | 2019-10-28 16:56:48 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-11-04 10:56:42 -0700 |
commit | 64fab7290dc3561729bbc1e35895a517eb2e549e (patch) | |
tree | 5137177a5f13fea20d5a421883b728104e04f80e /crypto/rng.c | |
parent | 716fd9c119a982c34af196fe9205d7a617f38e3e (diff) | |
download | linux-64fab7290dc3561729bbc1e35895a517eb2e549e.tar.bz2 |
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 'crypto/rng.c')
0 files changed, 0 insertions, 0 deletions