Security concerns regarding new views
development en
tcll · 2026-11-25 22:15 UTC
Hey I just want to validate the focus on kernel security hasn't been lost :)
The new interests in Linux 6.12, GTK3, and AI have me a little concerned.
Specifically the focus on kernel 6.12 since there was a ton of stupid decisions made after 2010 which ramped up after 2016 that lead to a ton of vulnerabilities which went unnoticed for some reason until AI caught them...
eBPF is one reason I moved to SliTaz because it's a security black hole, and kernel 3.16 (I'm glad you're keeping this alive) I don't believe has implemented.
(I'm surprised AI hasn't taken advantage of it yet)
cgroups is another thing I can't be asked to trust, and I'm willing to bet AI will discover a serious flaw with given Google can't be trusted.
One final thing I can't be asked to trust is the Rust efforts made since kernel 6.1 (I expect something to flip with this years later that destroys Linux on the spot (like how Github flipped after being bought by Microsoft), not that I'm defending C since GNU made that a headache to work with regarding how GCC builds binaries).
Definitely take these efforts with skepticism and make sure the future I see doesn't happen. :)
AI is the least of the worries here since you're focusing on what I'm concerned about with llama.cpp and making sure to disable internet integrations, +100 for that! :D
But the agentic focus of a lot of the apps is a concern, I hope that's done with care for being optional and won't become like Windows (exploits are my concern here). :)
pankso moderator · 2026-11-25 22:52 UTC · edited 2026-11-25 22:56 UTC
Hi, thanks for the feedback, kernel security is definitely not forgotten, and the facts are rather reassuring. eBPF: our 6.12 LTS kernel (linux-lts, the one running on my own machine right now) is built with CONFIG_BPF_SYSCALL disabled, so there is no bpf() syscall at all: no verifier, no eBPF JIT, nothing for a user (or even root) to load programs with. Only classic socket filters (CONFIG_BPF, used by tcpdump or DHCP clients) remain, just like on 3.16.
Small precision about 3.16 by the way: the eBPF internals landed in 3.15/3.16, but the bpf() syscall only arrived in 3.18, so 3.16 does not expose it either, you were right about that part. Rust: CONFIG_RUST is not enabled, the kernel is plain C built with GCC, and in 6.12 Rust is only used by a few optional drivers we do not need. If that ever changes it will be a conscious decision discussed openly, not something that slips in.
cgroups: yes they are enabled, as they are on 3.16 too (they exist since 2.6.24), because some userland expects them. By themselves they are a resource accounting mechanism; the scary container attack surface mostly comes from unprivileged user namespaces and from eBPF programs attached to cgroups, and the latter cannot exist without the bpf syscall. User namespaces are still enabled on the desktop kernel (they are disabled on our server kernel), that one is worth reviewing.
Now the honest part: 3.16 is end-of-life upstream since 2020 and gets no security fixes anymore, so older does not automatically mean safer. Fewer features means a smaller attack surface, but every hole found since then stays open there, while 6.12 is an LTS branch that still receives fixes and we track them (6.12.115 today). The goal with 6.12 is a minimal config: the small attack surface of an old kernel with the fixes of a maintained one.
AI and agentic stuff: it is and will stay optional and local first (llama.cpp, no cloud, no telemetry), nothing installed or listening by default, and SliTaz runs perfectly without any of it. It will never become a Windows-style assistant baked into the system. Thanks for keeping us honest, that kind of skepticism is welcome :)
1 thank you
pankso moderator · 2026-11-26 00:28 UTC · edited 2026-11-26 00:29 UTC · Solution
Quick follow-up on the kernel side, since your post made us look closer: the 6.12 LTS kernel (linux-lts) now gets a hardened config. KASLR is on (kernel and memory layout randomized at every boot, checked in both BIOS and EFI boots), along with hardened usercopy, slab freelist hardening and randomization, slab buckets, list hardening and strict /dev/mem (no more reading or writing kernel RAM through it).
These options cost almost nothing at runtime, so they fit old hardware as well. Still no eBPF syscall and no Rust, as said before. The new build passed the chroot cook and VM boot tests and will be published once validated on real hardware; it keeps the same version number (6.12.115), so 'tazpkg up' or 'spk up' will show it as a new build: please upgrade all linux-lts-* packages together, as always with a kernel.
The 3.16 kernel gets what its age allows: stack protector (it had none), /dev/kmem removed, strict /dev/mem, and KASLR available with the 'kaslr' boot option (on 3.16 it is off by default when hibernation is built in); that one comes after its own build and tests. We deliberately kept unprivileged user namespaces, because Firefox and Chromium use them for their sandbox and losing that would be a net loss.
Thanks again for pushing on this :)
1 thank you
tcll · 2026-11-26 00:38 UTC
Oh heck yeah, that's beautiful to hear, I'm absolutely glad you're still sticking to it! :D
That's fair with the cgroups bit (even if I'd personally prefer it not be there, but it's understandable), at least I should be able to disable it via a kernel param. :)
> so older does not automatically mean safer. ... every hole found since then stays open there
I'm generally fine with this so long as there's nothing I absolutely can't fix to secure myself from, but yeah the vigilance is absolutely needed for sure with this.
One personal gripe I have with newer kernels is the removal of `sys__sysctl` from 5.4+ since it's against my efforts to run vmlinuz-only with no FS-mounts (procfs and the like), since it seriously hurts my ability to build a utility for configuring kernel settings via that.
> AI and agentic stuff: it is and will stay optional and local first
That's absolutely beautiful to hear, thank YOU for actually keeping things focused on freedom first, and actually recognizing telemetry for the malware it is! :D
This is exactly why I use SliTaz, Linux (as a concept) NEEDS more secure distros like this!
Also to add one last final note, I'm absolutely for supporting the good of the new functionalities without the bad, it's just the propaganda and potential malicious intent (death by 1000 cuts) I'm against, which is why I'm hesitant on accepting such jumps. :)
I don't doubt for a second you're on top of that, but it's good to mention it regardless, you're welcome for that! ;D
1 thank you
Log in to reply Sign up