[PATCH v5 0/1] nvme: validate FDP configuration descriptor sizes

liuxixin posted 1 patch 5 days, 13 hours ago
[PATCH v5 0/1] nvme: validate FDP configuration descriptor sizes
Posted by liuxixin 5 days, 13 hours ago
Hi Keith,

Thanks for applying v4 1/2 to nvme-7.2.

v5 is only the descriptor-size validation patch, with your feedback on
v4 2/2: remove the redundant "log >= end" check inside the walk loop
now that dsze is validated before advancing.

## Test plan
- Build: make M=drivers/nvme -j$(nproc) (linux-next)
- fdp-lab: dsze==0 / walk past end -> "FDP invalid config descriptor at
  index %d" (see fdp-lab/TEST-FDP-BOUNDS.md)

Thanks,
liuxixin