AWS linux documentation change
Summary
Updated kernel configuration comparison table to include AL2023 kernel 6.18 for both aarch64 and x86_64 architectures, and updated values for CONFIG_PPP and CONFIG_EXT3_FS in existing AL2023 kernels.
Security assessment
The change adds documentation for a new kernel version (6.18) and updates the status of some kernel configuration options. While the table includes security-related kernel configurations, there is no indication that this update is in response to a specific security vulnerability or incident. The change is primarily a routine documentation update for a new kernel release.
Diff
diff --git a/linux/al2023/ug/compare-with-al2-kernel.md b/linux/al2023/ug/compare-with-al2-kernel.md index 2c72bafa2..1658d821e 100644 --- a//linux/al2023/ug/compare-with-al2-kernel.md +++ b//linux/al2023/ug/compare-with-al2-kernel.md @@ -19,19 +19,19 @@ AL2 set the `net.ipv4.ip_default_ttl` value to to 255, while AL2023 sets it to 1 -`CONFIG` option | AL2/4.14/aarch64 | AL2/4.14/x86_64 | AL2/5.10/aarch64 | AL2/5.10/x86_64 | AL2023/6.1/aarch64 | AL2023/6.1/x86_64 | AL2023/6.12/aarch64 | AL2023/6.12/x86_64 ----|---|---|---|---|---|---|---|--- -[CONFIG_BUG_ON_DATA_CORRUPTION](./kernel-hardening.html#CONFIG_BUG_ON_DATA_CORRUPTION) | `n` | `y` | `n` | `y` | `y` | `y` | `y` | `y` -[CONFIG_DEFAULT_MMAP_MIN_ADDR](./kernel-hardening.html#CONFIG_DEFAULT_MMAP_MIN_ADDR) | `4096` | `4096` | `4096` | `4096` | `65536` | `65536` | `65536` | `65536` -CONFIG_DEVMEM | `n` | `y` | `n` | `y` | `n` | `n` | `n` | `n` -CONFIG_DEVPORT | `n` | `y` | `n` | `y` | `n` | `n` | `n` | `n` -CONFIG_FORTIFY_SOURCE | `n` | `y` | `n` | `y` | `y` | `y` | `y` | `y` -[CONFIG_HARDENED_USERCOPY_FALLBACK](./kernel-hardening.html#CONFIG_HARDENED_USERCOPY_FALLBACK) | N/A | N/A | `y` | `y` | N/A | N/A | N/A | N/A -[CONFIG_INIT_ON_ALLOC_DEFAULT_ON](./kernel-hardening.html#CONFIG_INIT_ON_ALLOC_DEFAULT_ON) | N/A | N/A | `n` | `n` | `n` | `n` | `n` | `n` -[CONFIG_INIT_ON_FREE_DEFAULT_ON](./kernel-hardening.html#CONFIG_INIT_ON_FREE_DEFAULT_ON) | N/A | N/A | `n` | `n` | `n` | `n` | `n` | `n` -[CONFIG_IOMMU_DEFAULT_DMA_STRICT](./kernel-hardening.html#CONFIG_IOMMU_DEFAULT_DMA_STRICT) | N/A | N/A | N/A | N/A | `n` | `n` | `n` | `n` -CONFIG_LDISC_AUTOLOAD | `y` | `y` | `y` | `y` | `n` | `n` | `n` | `n` -[CONFIG_SCHED_CORE](./kernel-hardening.html#CONFIG_SCHED_CORE) | N/A | N/A | N/A | N/A | N/A | `y` | N/A | `y` -[CONFIG_SCHED_STACK_END_CHECK](./kernel-hardening.html#CONFIG_SCHED_STACK_END_CHECK) | `n` | `y` | `n` | `y` | `y` | `y` | `y` | `y` -CONFIG_SECURITY_DMESG_RESTRICT | `n` | `n` | `n` | `n` | `y` | `y` | `y` | `y` -CONFIG_SECURITY_SELINUX_DISABLE | `y` | `y` | `y` | `y` | `n` | `n` | N/A | N/A -[CONFIG_SHUFFLE_PAGE_ALLOCATOR](./kernel-hardening.html#CONFIG_SHUFFLE_PAGE_ALLOCATOR) | N/A | N/A | `y` | `y` | `y` | `y` | `y` | `y` -[CONFIG_SLAB_FREELIST_HARDENED](./kernel-hardening.html#CONFIG_SLAB_FREELIST_HARDENED) | `n` | `y` | `y` | `y` | `y` | `y` | `y` | `y` -[CONFIG_SLAB_FREELIST_RANDOM](./kernel-hardening.html#CONFIG_SLAB_FREELIST_RANDOM) | `n` | `n` | `y` | `y` | `y` | `y` | `y` | `y` +`CONFIG` option | AL2/4.14/aarch64 | AL2/4.14/x86_64 | AL2/5.10/aarch64 | AL2/5.10/x86_64 | AL2023/6.1/aarch64 | AL2023/6.1/x86_64 | AL2023/6.12/aarch64 | AL2023/6.12/x86_64 | AL2023/6.18/aarch64 | AL2023/6.18/x86_64 +---|---|---|---|---|---|---|---|---|---|--- +[CONFIG_BUG_ON_DATA_CORRUPTION](./kernel-hardening.html#CONFIG_BUG_ON_DATA_CORRUPTION) | `n` | `y` | `n` | `y` | `y` | `y` | `y` | `y` | `y` | `y` +[CONFIG_DEFAULT_MMAP_MIN_ADDR](./kernel-hardening.html#CONFIG_DEFAULT_MMAP_MIN_ADDR) | `4096` | `4096` | `4096` | `4096` | `65536` | `65536` | `65536` | `65536` | `65536` | `65536` +CONFIG_DEVMEM | `n` | `y` | `n` | `y` | `n` | `n` | `n` | `n` | `n` | `n` +CONFIG_DEVPORT | `n` | `y` | `n` | `y` | `n` | `n` | `n` | `n` | `n` | `n` +CONFIG_FORTIFY_SOURCE | `n` | `y` | `n` | `y` | `y` | `y` | `y` | `y` | `y` | `y` +[CONFIG_HARDENED_USERCOPY_FALLBACK](./kernel-hardening.html#CONFIG_HARDENED_USERCOPY_FALLBACK) | N/A | N/A | `y` | `y` | N/A | N/A | N/A | N/A | N/A | N/A +[CONFIG_INIT_ON_ALLOC_DEFAULT_ON](./kernel-hardening.html#CONFIG_INIT_ON_ALLOC_DEFAULT_ON) | N/A | N/A | `n` | `n` | `n` | `n` | `n` | `n` | `n` | `n` +[CONFIG_INIT_ON_FREE_DEFAULT_ON](./kernel-hardening.html#CONFIG_INIT_ON_FREE_DEFAULT_ON) | N/A | N/A | `n` | `n` | `n` | `n` | `n` | `n` | `n` | `n` +[CONFIG_IOMMU_DEFAULT_DMA_STRICT](./kernel-hardening.html#CONFIG_IOMMU_DEFAULT_DMA_STRICT) | N/A | N/A | N/A | N/A | `n` | `n` | `n` | `n` | `n` | `n` +CONFIG_LDISC_AUTOLOAD | `y` | `y` | `y` | `y` | `n` | `n` | `n` | `n` | `n` | `n` +[CONFIG_SCHED_CORE](./kernel-hardening.html#CONFIG_SCHED_CORE) | N/A | N/A | N/A | N/A | N/A | `y` | N/A | `y` | N/A | `y` +[CONFIG_SCHED_STACK_END_CHECK](./kernel-hardening.html#CONFIG_SCHED_STACK_END_CHECK) | `n` | `y` | `n` | `y` | `y` | `y` | `y` | `y` | `y` | `y` +CONFIG_SECURITY_DMESG_RESTRICT | `n` | `n` | `n` | `n` | `y` | `y` | `y` | `y` | `y` | `y` +CONFIG_SECURITY_SELINUX_DISABLE | `y` | `y` | `y` | `y` | `n` | `n` | N/A | N/A | N/A | N/A +[CONFIG_SHUFFLE_PAGE_ALLOCATOR](./kernel-hardening.html#CONFIG_SHUFFLE_PAGE_ALLOCATOR) | N/A | N/A | `y` | `y` | `y` | `y` | `y` | `y` | `y` | `y` +[CONFIG_SLAB_FREELIST_HARDENED](./kernel-hardening.html#CONFIG_SLAB_FREELIST_HARDENED) | `n` | `y` | `y` | `y` | `y` | `y` | `y` | `y` | `y` | `y` +[CONFIG_SLAB_FREELIST_RANDOM](./kernel-hardening.html#CONFIG_SLAB_FREELIST_RANDOM) | `n` | `n` | `y` | `y` | `y` | `y` | `y` | `y` | `y` | `y` @@ -41,5 +41,5 @@ CONFIG_SECURITY_SELINUX_DISABLE | `y` | `y` | `y` | `y` | `n` | `n` | N/A -`CONFIG` option | AL2/4.14/x86_64 | AL2/5.10/x86_64 | AL2023/6.1/x86_64 | AL2023/6.12/x86_64 ----|---|---|---|--- -[CONFIG_AMD_IOMMU](./kernel-hardening.html#CONFIG_AMD_IOMMU) | `y` | `y` | `y` | `y` -[CONFIG_AMD_IOMMU_V2](./kernel-hardening.html#CONFIG_AMD_IOMMU_V2) | `m` | `m` | `y` | N/A -[CONFIG_RANDOMIZE_MEMORY](./kernel-hardening.html#CONFIG_RANDOMIZE_MEMORY) | N/A | `y` | `y` | `y` +`CONFIG` option | AL2/4.14/x86_64 | AL2/5.10/x86_64 | AL2023/6.1/x86_64 | AL2023/6.12/x86_64 | AL2023/6.18/x86_64 +---|---|---|---|---|--- +[CONFIG_AMD_IOMMU](./kernel-hardening.html#CONFIG_AMD_IOMMU) | `y` | `y` | `y` | `y` | `y` +[CONFIG_AMD_IOMMU_V2](./kernel-hardening.html#CONFIG_AMD_IOMMU_V2) | `m` | `m` | `y` | N/A | N/A +[CONFIG_RANDOMIZE_MEMORY](./kernel-hardening.html#CONFIG_RANDOMIZE_MEMORY) | N/A | `y` | `y` | `y` | `y` @@ -49,5 +49,5 @@ CONFIG_SECURITY_SELINUX_DISABLE | `y` | `y` | `y` | `y` | `n` | `n` | N/A -`CONFIG` option | AL2/4.14/aarch64 | AL2/5.10/aarch64 | AL2023/6.1/aarch64 | AL2023/6.12/aarch64 ----|---|---|---|--- -[CONFIG_ARM64_PTR_AUTH](./kernel-hardening.html#CONFIG_ARM64_PTR_AUTH) | N/A | `y` | `y` | `y` -[CONFIG_ARM64_PTR_AUTH_KERNEL](./kernel-hardening.html#CONFIG_ARM64_PTR_AUTH_KERNEL) | N/A | N/A | `y` | `y` -[CONFIG_ARM64_SW_TTBR0_PAN](./kernel-hardening.html#CONFIG_ARM64_SW_TTBR0_PAN) | `y` | `y` | `y` | `y` +`CONFIG` option | AL2/4.14/aarch64 | AL2/5.10/aarch64 | AL2023/6.1/aarch64 | AL2023/6.12/aarch64 | AL2023/6.18/aarch64 +---|---|---|---|---|--- +[CONFIG_ARM64_PTR_AUTH](./kernel-hardening.html#CONFIG_ARM64_PTR_AUTH) | N/A | `y` | `y` | `y` | `y` +[CONFIG_ARM64_PTR_AUTH_KERNEL](./kernel-hardening.html#CONFIG_ARM64_PTR_AUTH_KERNEL) | N/A | N/A | `y` | `y` | `y` +[CONFIG_ARM64_SW_TTBR0_PAN](./kernel-hardening.html#CONFIG_ARM64_SW_TTBR0_PAN) | `y` | `y` | `y` | `y` | `y` @@ -89,9 +89,9 @@ This option is one of the [Kernel Self Protection Project Recommended Settings]( -`CONFIG` option | AL2/4.14/aarch64 | AL2/4.14/x86_64 | AL2/5.10/aarch64 | AL2/5.10/x86_64 | AL2023/6.1/aarch64 | AL2023/6.1/x86_64 | AL2023/6.12/aarch64 | AL2023/6.12/x86_64 ----|---|---|---|---|---|---|---|--- -CONFIG_HZ | `100` | `250` | `100` | `250` | `100` | `100` | `100` | `100` -CONFIG_NR_CPUS | `4096` | `8192` | `4096` | `8192` | `4096` | `8192` | `4096` | `8192` -CONFIG_PANIC_ON_OOPS | `y` | `n` | `y` | `n` | `y` | `y` | `y` | `y` -CONFIG_PANIC_ON_OOPS_VALUE | `1` | `0` | `1` | `0` | `1` | `1` | `1` | `1` -CONFIG_PPP | `m` | `m` | `m` | `m` | `n` | `n` | `n` | `n` -CONFIG_SLIP | `m` | `m` | `m` | `m` | `n` | `n` | `n` | `n` -CONFIG_XEN_PV | N/A | `y` | N/A | `n` | N/A | `n` | N/A | `n` +`CONFIG` option | AL2/4.14/aarch64 | AL2/4.14/x86_64 | AL2/5.10/aarch64 | AL2/5.10/x86_64 | AL2023/6.1/aarch64 | AL2023/6.1/x86_64 | AL2023/6.12/aarch64 | AL2023/6.12/x86_64 | AL2023/6.18/aarch64 | AL2023/6.18/x86_64 +---|---|---|---|---|---|---|---|---|---|--- +CONFIG_HZ | `100` | `250` | `100` | `250` | `100` | `100` | `100` | `100` | `100` | `100` +CONFIG_NR_CPUS | `4096` | `8192` | `4096` | `8192` | `4096` | `8192` | `4096` | `8192` | `4096` | `8192` +CONFIG_PANIC_ON_OOPS | `y` | `n` | `y` | `n` | `y` | `y` | `y` | `y` | `y` | `y` +CONFIG_PANIC_ON_OOPS_VALUE | `1` | `0` | `1` | `0` | `1` | `1` | `1` | `1` | N/A | N/A +CONFIG_PPP | `m` | `m` | `m` | `m` | `m` | `m` | `m` | `m` | `m` | `m` +CONFIG_SLIP | `m` | `m` | `m` | `m` | `n` | `n` | `n` | `n` | `n` | `n` +CONFIG_XEN_PV | N/A | `y` | N/A | `n` | N/A | `n` | N/A | `n` | N/A | `n` @@ -115 +115 @@ A kernel oops is where the kernel has detected an internal error which may affec -AL2023 does not support the PPP or SLIP protocols. +AL2023 does not support the SLIP protocol but can support PPP protocol in latest AL2023 kernels. @@ -125,29 +125,29 @@ There have been several changes in the file systems that the kernel in AL2 will -`CONFIG` option | AL2/4.14/aarch64 | AL2/4.14/x86_64 | AL2/5.10/aarch64 | AL2/5.10/x86_64 | AL2023/6.1/aarch64 | AL2023/6.1/x86_64 | AL2023/6.12/aarch64 | AL2023/6.12/x86_64 ----|---|---|---|---|---|---|---|--- -CONFIG_AFS_FS | `n` | `m` | `n` | `m` | `n` | `n` | `n` | `n` -CONFIG_AF_RXRPC | `n` | `m` | `n` | `m` | `n` | `n` | `n` | `n` -CONFIG_BSD_DISKLABEL | `y` | `y` | `y` | `y` | `n` | `n` | `n` | `n` -CONFIG_CRAMFS | `m` | `m` | `m` | `m` | `n` | `n` | `n` | `n` -CONFIG_CRAMFS_BLOCKDEV | N/A | N/A | `y` | `n` | N/A | N/A | N/A | N/A -CONFIG_DM_CLONE | N/A | N/A | `n` | `n` | `n` | `n` | `n` | `n` -CONFIG_DM_ERA | `m` | `n` | `m` | `n` | `n` | `n` | `n` | `n` -CONFIG_DM_INTEGRITY | `n` | `m` | `n` | `m` | `m` | `m` | `m` | `m` -CONFIG_DM_LOG_WRITES | `n` | `n` | `m` | `m` | `m` | `m` | `m` | `m` -CONFIG_DM_SWITCH | `m` | `n` | `m` | `n` | `n` | `n` | `n` | `n` -CONFIG_DM_VERITY | `m` | `n` | `m` | `n` | `m` | `m` | `m` | `m` -CONFIG_ECRYPT_FS | `n` | `m` | `n` | `m` | `n` | `n` | `n` | `n` -CONFIG_EXFAT_FS | N/A | N/A | `m` | `m` | `m` | `m` | `m` | `m` -CONFIG_EXT2_FS | `n` | `m` | `n` | `m` | `n` | `n` | `n` | `n` -CONFIG_EXT3_FS | `n` | `m` | `n` | `m` | `n` | `n` | `n` | `n` -CONFIG_GFS2_FS | `m` | `m` | `m` | `m` | `n` | `n` | `n` | `n` -CONFIG_HFSPLUS_FS | `n` | `m` | `n` | `m` | `n` | `n` | `n` | `n` -CONFIG_HFS_FS | `n` | `m` | `n` | `m` | `n` | `n` | `n` | `n` -CONFIG_JFS_FS | `n` | `n` | `n` | `n` | `n` | `n` | `n` | `n` -CONFIG_LDM_PARTITION | `n` | `y` | `n` | `y` | `n` | `n` | `n` | `n` -CONFIG_MAC_PARTITION | `n` | `y` | `n` | `y` | `n` | `n` | `n` | `n` -CONFIG_NFS_V2 | `n` | `m` | `n` | `m` | `n` | `n` | `n` | `n` -CONFIG_NTFS_FS | `n` | `m` | `n` | `n` | `n` | `n` | `n` | `n` -CONFIG_ROMFS_FS | `n` | `m` | `n` | `m` | `n` | `n` | `n` | `n` -CONFIG_SOLARIS_X86_PARTITION | `n` | `y` | `n` | `y` | `n` | `n` | `n` | `n` -CONFIG_SQUASHFS_ZSTD | `n` | `y` | `n` | `y` | `y` | `y` | `y` | `y` -CONFIG_SUN_PARTITION | `n` | `y` | `n` | `y` | `n` | `n` | `n` | `n` +`CONFIG` option | AL2/4.14/aarch64 | AL2/4.14/x86_64 | AL2/5.10/aarch64 | AL2/5.10/x86_64 | AL2023/6.1/aarch64 | AL2023/6.1/x86_64 | AL2023/6.12/aarch64 | AL2023/6.12/x86_64 | AL2023/6.18/aarch64 | AL2023/6.18/x86_64 +---|---|---|---|---|---|---|---|---|---|--- +CONFIG_AFS_FS | `n` | `m` | `n` | `m` | `n` | `n` | `n` | `n` | `n` | `n` +CONFIG_AF_RXRPC | `n` | `m` | `n` | `m` | `n` | `n` | `n` | `n` | `n` | `n` +CONFIG_BSD_DISKLABEL | `y` | `y` | `y` | `y` | `n` | `n` | `n` | `n` | `n` | `n` +CONFIG_CRAMFS | `m` | `m` | `m` | `m` | `n` | `n` | `n` | `n` | `n` | `n` +CONFIG_CRAMFS_BLOCKDEV | N/A | N/A | `y` | `n` | N/A | N/A | N/A | N/A | N/A | N/A +CONFIG_DM_CLONE | N/A | N/A | `n` | `n` | `n` | `n` | `n` | `n` | `n` | `n` +CONFIG_DM_ERA | `m` | `n` | `m` | `n` | `n` | `n` | `n` | `n` | `n` | `n` +CONFIG_DM_INTEGRITY | `n` | `m` | `n` | `m` | `m` | `m` | `m` | `m` | `m` | `m` +CONFIG_DM_LOG_WRITES | `n` | `n` | `m` | `m` | `m` | `m` | `m` | `m` | `m` | `m` +CONFIG_DM_SWITCH | `m` | `n` | `m` | `n` | `n` | `n` | `n` | `n` | `n` | `n` +CONFIG_DM_VERITY | `m` | `n` | `m` | `n` | `m` | `m` | `m` | `m` | `m` | `m` +CONFIG_ECRYPT_FS | `n` | `m` | `n` | `m` | `n` | `n` | `n` | `n` | `n` | `n` +CONFIG_EXFAT_FS | N/A | N/A | `m` | `m` | `m` | `m` | `m` | `m` | `m` | `m` +CONFIG_EXT2_FS | `n` | `m` | `n` | `m` | `n` | `n` | `n` | `n` | `n` | `n` +CONFIG_EXT3_FS | `n` | `m` | `n` | `m` | `n` | `n` | `n` | `n` | N/A | N/A +CONFIG_GFS2_FS | `m` | `m` | `m` | `m` | `n` | `n` | `n` | `n` | `n` | `n` +CONFIG_HFSPLUS_FS | `n` | `m` | `n` | `m` | `n` | `n` | `n` | `n` | `n` | `n` +CONFIG_HFS_FS | `n` | `m` | `n` | `m` | `n` | `n` | `n` | `n` | `n` | `n` +CONFIG_JFS_FS | `n` | `n` | `n` | `n` | `n` | `n` | `n` | `n` | `n` | `n` +CONFIG_LDM_PARTITION | `n` | `y` | `n` | `y` | `n` | `n` | `n` | `n` | `n` | `n` +CONFIG_MAC_PARTITION | `n` | `y` | `n` | `y` | `n` | `n` | `n` | `n` | `n` | `n` +CONFIG_NFS_V2 | `n` | `m` | `n` | `m` | `n` | `n` | `n` | `n` | `n` | `n` +CONFIG_NTFS_FS | `n` | `m` | `n` | `n` | `n` | `n` | `n` | `n` | `n` | `n` +CONFIG_ROMFS_FS | `n` | `m` | `n` | `m` | `n` | `n` | `n` | `n` | `n` | `n` +CONFIG_SOLARIS_X86_PARTITION | `n` | `y` | `n` | `y` | `n` | `n` | `n` | `n` | `n` | `n` +CONFIG_SQUASHFS_ZSTD | `n` | `y` | `n` | `y` | `y` | `y` | `y` | `y` | `y` | `y` +CONFIG_SUN_PARTITION | `n` | `y` | `n` | `y` | `n` | `n` | `n` | `n` | `n` | `n`