aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/nvdimm/test/nfit.c
diff options
context:
space:
mode:
authorLi RongQing <lirongqing@baidu.com>2019-04-04 10:58:01 +0800
committerDan Williams <dan.j.williams@intel.com>2019-04-07 14:36:04 -0700
commit9dc6488e84b0f64df17672271664752488cd6a25 (patch)
treeb72072d511728753fabada8b2b7cce287072b288 /tools/testing/nvdimm/test/nfit.c
parentlibnvdimm/security, acpi/nfit: unify zero-key for all security commands (diff)
downloadlinux-dev-9dc6488e84b0f64df17672271664752488cd6a25.tar.xz
linux-dev-9dc6488e84b0f64df17672271664752488cd6a25.zip
libnvdimm/pmem: fix a possible OOB access when read and write pmem
If offset is not zero and length is bigger than PAGE_SIZE, this will cause to out of boundary access to a page memory Fixes: 98cc093cba1e ("block, THP: make block_device_operations.rw_page support THP") Co-developed-by: Liang ZhiCheng <liangzhicheng@baidu.com> Signed-off-by: Liang ZhiCheng <liangzhicheng@baidu.com> Signed-off-by: Li RongQing <lirongqing@baidu.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/testing/nvdimm/test/nfit.c')
0 files changed, 0 insertions, 0 deletions