mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-06-15 21:49:13 -04:00
Restrict the userfaultfd() syscall to root
This commit is contained in:
parent
c7f2537930
commit
6b64b36b01
1 changed files with 6 additions and 0 deletions
|
@ -133,3 +133,9 @@ kernel.sysrq=132
|
||||||
##
|
##
|
||||||
## https://lkml.org/lkml/2019/4/15/890
|
## https://lkml.org/lkml/2019/4/15/890
|
||||||
dev.tty.ldisc_autoload=0
|
dev.tty.ldisc_autoload=0
|
||||||
|
|
||||||
|
## Restrict the userfaultfd() syscall to root as it can make heap sprays
|
||||||
|
## easier.
|
||||||
|
##
|
||||||
|
## https://duasynt.com/blog/linux-kernel-heap-spray
|
||||||
|
vm.unprivileged_userfaultfd=0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue