NVIDIA: SAUCE: arm64: config: Set CONFIG_DEFAULT_MMAP_MIN_ADDR as 32768

BugLink: https://bugs.launchpad.net/bugs/2072591

This is the portion of low virtual memory that should be protected from
userspace allocation. Keeping a user from writing to low pages can help
reduce the impact of kernel NULL pointer bugs.

http://nvbugs/3870276

Signed-off-by: Prathamesh Shete <pshete@nvidia.com>
Signed-off-by: Ketan Patil <ketanp@nvidia.com>
Signed-off-by: Satish Seelamsetti <sseelamsetti@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Jacob Martin <jacob.martin@canonical.com>
Acked-by: Noah Wager <noah.wager@canonical.com>
Signed-off-by: Noah Wager <noah.wager@canonical.com>
This commit is contained in:
Prathamesh Shete
2024-04-01 05:33:10 +00:00
committed by Noah Wager
parent 68e5ba58ba
commit 60b16fda89
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -135,6 +135,7 @@ CONFIG_SLAB_FREELIST_HARDENED=y
CONFIG_MEMORY_HOTPLUG=y
CONFIG_MEMORY_HOTREMOVE=y
CONFIG_KSM=y
CONFIG_DEFAULT_MMAP_MIN_ADDR=32768
CONFIG_MEMORY_FAILURE=y
CONFIG_TRANSPARENT_HUGEPAGE=y
CONFIG_NET=y
+1
View File
@@ -127,6 +127,7 @@ CONFIG_IOSCHED_BFQ=y
CONFIG_MEMORY_HOTPLUG=y
CONFIG_MEMORY_HOTREMOVE=y
CONFIG_KSM=y
CONFIG_DEFAULT_MMAP_MIN_ADDR=32768
CONFIG_MEMORY_FAILURE=y
CONFIG_TRANSPARENT_HUGEPAGE=y
CONFIG_NET=y