diff options
| author | Li RongQing <[email protected]> | 2019-04-04 02:58:01 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2019-04-07 21:36:04 +0000 |
| commit | 9dc6488e84b0f64df17672271664752488cd6a25 (patch) | |
| tree | b72072d511728753fabada8b2b7cce287072b288 /tools/perf/scripts/python/compaction-times.py | |
| parent | libnvdimm/security, acpi/nfit: unify zero-key for all security commands (diff) | |
| download | kernel-9dc6488e84b0f64df17672271664752488cd6a25.tar.gz kernel-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 <[email protected]>
Signed-off-by: Liang ZhiCheng <[email protected]>
Signed-off-by: Li RongQing <[email protected]>
Reviewed-by: Ira Weiny <[email protected]>
Reviewed-by: Jeff Moyer <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
