Add details about slub_debug

This commit is contained in:
Raja Grewal 2024-08-03 15:11:14 +10:00
parent b77d1a2b98
commit 22b6cee80c
No known key found for this signature in database
GPG key ID: 92CA473C156B64C4
2 changed files with 9 additions and 4 deletions

View file

@ -118,8 +118,8 @@ configuration file.
- Disable merging of slabs with similar size, which reduces the risk of
triggering heap overflows and limits influencing slab cache layout.
- Provides option to enable sanity checks and red zoning via slab debugging.
Not reccommened due to implicit disabling of kernel pointer hashing.
- Provide the option to enable sanity checks and red zoning via slab debugging.
Enabling this feature will implicitly disable kernel pointer hashing.
- Enable memory zeroing at both allocation and free time, which mitigates some
use-after-free vulnerabilities by erasing sensitive information in memory.