Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • include
  • linux
  • pgtable.h
Find file BlameHistoryPermalink
  • Matthew Wilcox (Oracle)'s avatar
    mm: abstract moving to the next PFN · ce60f27b
    Matthew Wilcox (Oracle) authored Sep 20, 2023
    In order to fix the L1TF vulnerability, x86 can invert the PTE bits for
    PROT_NONE VMAs, which means we cannot move from one PTE to the next by
    adding 1 to the PFN field of the PTE.  This results in the BUG reported at
    [1].
    
    Abstract advancing the PTE to the next PFN through a pte_next_pfn()
    function/macro.
    
    Link: https://lkml.kernel.org/r/20230920040958.866520-1-willy@infradead.org
    Fixes: bcc6cc83
    
     ("mm: add default definition of set_ptes()")
    Signed-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
    Reported-by: default avatar <syzbot+55cc72f8cc3a549119df@syzkaller.appspotmail.com>
    Closes: https://lkml.kernel.org/r/000000000000d099fa0604f03351@google.com
    
     [1]
    Reviewed-by: default avatarYin Fengwei <fengwei.yin@intel.com>
    Cc: Dave Hansen <dave.hansen@intel.com>
    Cc: David Hildenbrand <david@redhat.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    ce60f27b
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7