• Linus Torvalds's avatar
    Merge tag 'seccomp-v5.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · 83a50840
    Linus Torvalds authored
    Pull seccomp fixes from Kees Cook:
     "Syzbot found a use-after-free bug in seccomp due to flags that should
      not be allowed to be used together.
    
      Tycho fixed this, I updated the self-tests, and the syzkaller PoC has
      been running for several days without triggering KASan (before this
      fix, it would reproduce). These patches have also been in -next for
      almost a week, just to be sure.
    
       - Add logic for making some seccomp flags exclusive (Tycho)
    
       - Update selftests for exclusivity testing (Kees)"
    
    * tag 'seccomp-v5.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
      seccomp: Make NEW_LISTENER and TSYNC flags exclusive
      selftests/seccomp: Prepare for exclusive seccomp flags
    83a50840
seccomp.c 45.6 KB