killswitch: per-function short-circuit mitigation primitive

14 points by val


jcspencer

While I like the idea, it’s a shame there isn’t an allowlist-only mode for kernel modules (rather than playing blacklist whack-a-mole) - especially with AF_ALG being deprecated [1], and a lot of other less-maintained / more niche kernel components being loadable by default on a lot of distros.

In a lot of fixed-function environments, I can foresee kernel.modules_disabled=1 will start becoming more common too.

Sidenote: the “mainline kernel commit with a suspiciously benign description that changes bounds checks” approach to security patches isn’t really proving effective at fooling anyone…

[1] https://lkml.org/lkml/2026/4/29/2166