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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 20 Sep 2017 14:52:58 +0200
From:   Pavel Machek <>
Subject: Re: [tip:x86/urgent] x86/mm/32: Load a sane CR3 before cpu_init() on
 secondary CPUs

On Sun 2017-09-17 11:19:53, tip-bot for Andy Lutomirski wrote:
> Commit-ID:  4ba55e65f471d011d3ba2ac2022180ea0877d68e
> Gitweb:
> Author:     Andy Lutomirski <>
> AuthorDate: Sun, 17 Sep 2017 09:03:51 -0700
> Committer:  Ingo Molnar <>
> CommitDate: Sun, 17 Sep 2017 18:59:09 +0200
> x86/mm/32: Load a sane CR3 before cpu_init() on secondary CPUs
> For unknown historical reasons (i.e. Borislav doesn't recall),
> 32-bit kernels invoke cpu_init() on secondary CPUs with
> initial_page_table loaded into CR3.  Then they set
> current->active_mm to &init_mm and call enter_lazy_tlb() before
> fixing CR3.  This means that the x86 TLB code gets invoked while CR3
> is inconsistent, and, with the improved PCID sanity checks I added,
> we warn.
> Fix it by loading swapper_pg_dir (i.e. init_mm.pgd) earlier.
> Reported-by: Paul Menzel <>
> Reported-by: Pavel Machek <>

4.14.0-rc1-next-20170919 does not produce the warning during bootup.


Tested-by: Pavel Machek <>

(cesky, pictures)

Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)

Powered by blists - more mailing lists