Skip to content
Commit 82aa37cf authored by Dan Williams's avatar Dan Williams
Browse files

acpi, nfit: validate ars_status output buffer size



If an ARS Status command returns truncated output, do not process
partial records or otherwise consume non-status fields.

Cc: <stable@vger.kernel.org>
Fixes: 0caeef63 ("libnvdimm: Add a poison list and export badblocks")
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent efda1b5d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment