diff options
| author | 2026-10-22 17:33:23 +0530 | |
|---|---|---|
| committer | 2026-10-28 08:11:21 -0700 | |
| commit | 9c15ab904e07a752a4c45f46a74c642900411b90 (patch) | |
| tree | 1a35565814cea364283d998d96404b9ccf2492a3 /scripts/Makefile.thinlto | |
| parent | nvmet: prevent double-free after metadata SGL allocation failure (diff) | |
nvme-multipath: avoid size_t underflow in ANA log bounds checks
The ANA log bounds checks subtract the required size from ana_log_size
in unsigned arithmetic, which can wrap when a rogue or buggy target
reports an oversized nnsids. Compare as "ana_log_size - offset < required"
instead, so the subtraction can't underflow and bypass the check.
Signed-off-by: Martin George <marting@netapp.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
