summaryrefslogtreecommitdiffstats
path: root/drivers/usb/phy
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2019-02-20 21:12:50 -0800
committerDan Williams <dan.j.williams@intel.com>2019-02-20 21:12:50 -0800
commitad428cdb525a97d15c0349fdc80f3d58befb50df (patch)
tree31bebae17f60a5e5a214e135e216fab74e840966 /drivers/usb/phy
parentfa7d2e639cd90442d868dfc6ca1d4cc9d8bf206e (diff)
downloadlinux-ad428cdb525a97d15c0349fdc80f3d58befb50df.tar.bz2
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>
Diffstat (limited to 'drivers/usb/phy')
0 files changed, 0 insertions, 0 deletions