Searched hist:ad428cdb (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/dax/ |
H A D | super.c | ad428cdb Wed Feb 20 23:12:50 CST 2019 Dan Williams <dan.j.williams@intel.com> dax: Check the end of the block-device capacity with dax_direct_access()
The checks in __bdev_dax_supported() helped mitigate a potential data corruption bug in the pmem driver's handling of section alignment padding. Strengthen the checks, including checking the end of the range, to validate the dev_pagemap, Xarray entries, and sector-to-pfn translation established for pmem namespaces.
Acked-by: Jan Kara <jack@suse.cz> Cc: "Darrick J. Wong" <darrick.wong@oracle.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> ad428cdb Wed Feb 20 23:12:50 CST 2019 Dan Williams <dan.j.williams@intel.com> dax: Check the end of the block-device capacity with dax_direct_access() The checks in __bdev_dax_supported() helped mitigate a potential data corruption bug in the pmem driver's handling of section alignment padding. Strengthen the checks, including checking the end of the range, to validate the dev_pagemap, Xarray entries, and sector-to-pfn translation established for pmem namespaces. Acked-by: Jan Kara <jack@suse.cz> Cc: "Darrick J. Wong" <darrick.wong@oracle.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
|