Clarify (future) disabling of io_uring

This commit is contained in:
Raja Grewal 2024-07-18 12:25:00 +10:00
parent 9e6facda70
commit 13cc1f0986
No known key found for this signature in database
GPG key ID: 92CA473C156B64C4
2 changed files with 9 additions and 2 deletions

View file

@ -117,12 +117,18 @@ kernel.perf_event_paranoid=3
kernel.randomize_va_space=2
## Disable asynchronous I/O for all processes.
## Leading cause of numerous kernel exploits.
## Disabling will reduce the read/write performance of storage devices.
##
## https://en.wikipedia.org/wiki/Io_uring#Security
## https://lwn.net/Articles/902466/
## https://security.googleblog.com/2023/06/learnings-from-kctf-vrps-42-linux.html
## https://github.com/moby/moby/pull/46762
## https://forums.whonix.org/t/io-uring-security-vulnerabilties/16890
##
## Applicable when using Linux kernel >= 6.6 (retained here for future-proofing and completeness).
##
kernel.io_uring_disabled=2
#kernel.io_uring_disabled=2
## 2. User Space:
##