lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 29 Feb 2016 18:56:20 -0800
From:	Dan Williams <dan.j.williams@...el.com>
To:	linux-nvdimm@...ts.01.org
Cc:	linux-mm@...ck.org, akpm@...ux-foundation.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] devm_memremap_pages vs section-misaligned pmem

Recent testing uncovered two bugs around the handling of section-misaligned
pmem regions:

1/ If the pmem section overlaps "System RAM" we need to fail the
   devm_memremap_pages() request.  Previously we would mis-detect a
   memory map like the following:

	100000000-37bffffff : System RAM
	37c000000-837ffffff : Persistent Memory

2/ If the pmem section is misaligned, but otherwise does not overlap
   memory from another zone, the altmap needs to be fixed up to add the
   alignment padding to the 'reserved ' pfns of the altmap.

---

Dan Williams (2):
      libnvdimm, pmem: fix 'pfn' support for section-misaligned namespaces
      mm: fix mixed zone detection in devm_memremap_pages


 drivers/nvdimm/pmem.c |   29 +++++++++++++++++++++++++++--
 kernel/memremap.c     |    9 ++++-----
 2 files changed, 31 insertions(+), 7 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ