linux_dsm_epyc7002/drivers/nvdimm
Li RongQing 9dc6488e84 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: 98cc093cba ("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>
2019-04-07 14:36:04 -07:00
..
badrange.c
blk.c
btt_devs.c libnvdimm/btt: Fix a kmemdup failure check 2019-03-27 10:08:55 -07:00
btt.c libnvdimm/btt: Fix LBA masking during 'free list' population 2019-02-28 09:57:39 -08:00
btt.h libnvdimm/btt: Fix LBA masking during 'free list' population 2019-02-28 09:57:39 -08:00
bus.c
claim.c
core.c
dax_devs.c
dimm_devs.c Merge branch 'for-5.1/libnvdimm' into libnvdimm-for-next 2019-03-11 12:13:42 -07:00
dimm.c
e820.c
Kconfig
label.c
label.h
Makefile
namespace_devs.c libnvdimm/namespace: Fix a potential NULL pointer dereference 2019-03-22 16:19:54 -07:00
nd-core.h
nd.h device-dax for 5.1 2019-03-16 13:05:32 -07:00
of_pmem.c device-dax for 5.1 2019-03-16 13:05:32 -07:00
pfn_devs.c libnvdimm/pfn: Remove dax_label_reserve 2019-02-22 11:52:32 -08:00
pfn.h
pmem.c libnvdimm/pmem: fix a possible OOB access when read and write pmem 2019-04-07 14:36:04 -07:00
pmem.h
region_devs.c device-dax for 5.1 2019-03-16 13:05:32 -07:00
region.c
security.c libnvdimm/security, acpi/nfit: unify zero-key for all security commands 2019-03-30 08:27:07 -07:00