• Linus Torvalds's avatar
    Merge tag 'hardening-v5.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · 6991a564
    Linus Torvalds authored
    Pull hardening updates from Kees Cook:
    
     - Fix Sparse warnings with randomizd kstack (GONG, Ruiqi)
    
     - Replace uintptr_t with unsigned long in usercopy (Jason A. Donenfeld)
    
     - Fix Clang -Wforward warning in LKDTM (Justin Stitt)
    
     - Fix comment to correctly refer to STRICT_DEVMEM (Lukas Bulwahn)
    
     - Introduce dm-verity binding logic to LoadPin LSM (Matthias Kaehlcke)
    
     - Clean up warnings and overflow and KASAN tests (Kees Cook)
    
    * tag 'hardening-v5.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
      dm: verity-loadpin: Drop use of dm_table_get_num_targets()
      kasan: test: Silence GCC 12 warnings
      drivers: lkdtm: fix clang -Wformat warning
      x86: mm: refer to the intended config STRICT_DEVMEM in a comment
      dm: verity-loadpin: Use CONFIG_SECURITY_LOADPIN_VERITY for conditional compilation
      LoadPin: Enable loading from trusted dm-verity devices
      dm: Add verity helpers for LoadPin
      stack: Declare {randomize_,}kstack_offset to fix Sparse warnings
      lib: overflow: Do not define 64-bit tests on 32-bit
      MAINTAINERS: Add a general "kernel hardening" section
      usercopy: use unsigned long instead of uintptr_t
    6991a564
dm-verity-target.c 33.2 KB