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:	Tue, 9 Jun 2015 12:41:59 +0300
From:	Alexander Popov <alpopov@...ecurity.com>
To:	Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...hat.com>,
	"H. Peter Anvin" <hpa@...or.com>,
	Andrey Konovalov <adech.fo@...il.com>,
	"Andrew Morton" <akpm@...ux-foundation.org>,
	Andrey Ryabinin <a.ryabinin@...sung.com>,
	Andy Lutomirski <luto@...nel.org>,
	Alexander Kuleshov <kuleshovmail@...il.com>,
	Denys Vlasenko <dvlasenk@...hat.com>,
	"Borislav Petkov" <bp@...en8.de>,
	Peter Zijlstra <peterz@...radead.org>,
	Kees Cook <keescook@...omium.org>,
	Alexander Popov <alpopov@...ecurity.com>, <x86@...nel.org>,
	<linux-kernel@...r.kernel.org>
Subject: [PATCH v5 0/2] x86_64: fix KASan shadow region page tables

This patch series:
  - fixes kernel halt caused by incorrect physical addresses
      in KASan shadow region page tables in case of non-zero phys_base;
  - consolidates early KASan initialization.

Changes from v2:
  - move KASan shadow region page tables to BSS;
  - use __PAGE_KERNEL flags for describing kasan_zero_page in kasan_zero_pte.

Changes from v3:
  - improve commit message.

Changes from v4:
  - add Andrey's patch which removes faulty clear_page(init_level4_pgt);
  - call kasan_map_early_shadow() for early_level4_pgt and init_level4_pgt
      in kasan_early_init().

Alexander Popov (1):
  x86_64: fix KASan shadow region page tables

Andrey Ryabinin (1):
  x86_64: remove not needed clear_page for init_level4_page

 arch/x86/include/asm/kasan.h |  8 ++------
 arch/x86/kernel/head64.c     | 12 ++++++------
 arch/x86/kernel/head_64.S    | 29 -----------------------------
 arch/x86/mm/kasan_init_64.c  | 36 ++++++++++++++++++++++++++++++++++--
 4 files changed, 42 insertions(+), 43 deletions(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ