News: 0001466223

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Linux 6.10's Hardening Configuration Now Enables KCFI & Other Features

([Linux Kernel] 5 Hours Ago Linux 6.10 Harder)


Introduced last year with the Linux 6.7 kernel was [1]a hardening configuration to allow for "make hardening.config" as an easy way of building a security-hardened Linux kernel with sane defaults. With Linux 6.10 there are some additional security minded features now enabled.

Most notably, the Linux 6.10 hardening configuration now enables the Clang Kernel Control Flow Integrity (KCFI) protections. This only works if using LLVM Clang rather than GCC as the compiler for building the kernel.

The hardening updates for Linux 6.6 also include enabling CONFIG_UNWIND_PATCH_PAC_INTO_SCS to enable the shadow call stack dynamically using code patching. CONFIG_X86_KERNEL_IBT is also enabled for the Control-flow Enforcement Technology (CET) Indirect Branch Tracking (IBT) functionality when running on newer processors. Plus the hardened kernel build now enables CONFIG_PAGE_TABLE_CHECK and CONFIG_PAGE_TABLE_CHECK_ENFORCED to enforce the page table checking by default.

There are also other kernel hardening updates that were sent in as part of the [2]hardening pull request last week for Linux 6.10 and has since been merged.



[1] https://www.phoronix.com/news/Linux-6.7-Hardening

[2] https://lore.kernel.org/lkml/202405111234.6F2AB1F@keescook/



uid313

JMB9

Jakobson

Watching girls go passing by
It ain't the latest thing
I'm just standing in a doorway
I'm just trying to make some sense
Out of these girls passing by A smile relieves the heart that grieves
The tales they tell of men Remember what I said
I'm not waiting on a lady I'm not waiting on a lady
I'm just waiting on a friend I'm just waiting on a friend
...
Don't need a whore
Don't need no booze
Don't need a virgin priest Ooh, making love and breaking hearts
But I need someone I can cry to It is a game for youth
I need someone to protect But I'm not waiting on a lady
I'm just waiting on a friend
I'm just waiting on a friend
-- Rolling Stones, "Waiting on a Friend"