Marco Elver retweeted
syzbot is now doing security assessment of all found #Linux kernel bugs using #AI:
syzbot.org/ai_job?id=8c497eb…
And we've got list of unfixed "high prio" bugs:
syzbot.org/upstream?label=pr…
syzkaller/syzbot now has AI agentic framework for kernel bug fix generation, bug assessment, security triage, POC generation, etc:
groups.google.com/g/syzkalle…
Includes set of tools to build kernels, navigate/edit source, test reproducers, etc.
Contributions/research are welcome.
Grab your d20 and your text editor! ⚔️
Turn your daily debugging into a high-fantasy quest with the Syzkaller Dungeon. Slay real kernel panics, earn XP, unlock epic loot, and defend your corporate kingdom.
Roll for initiative: syzbot.org/upstream/syz-dung…
Finally, with Clang 22's release, here's v1 of Linux kernel slab cache partitioning with help of Clang's AllocToken feature: lore.kernel.org/all/20260331…
Marco Elver retweeted
#Linux kernel static locking analysis is finally merged!
docs.kernel.org/next/dev-too…
This concludes Marco's hard work in the past year, and will enable prevention of locking bugs from entering kernel code base
But we still have long road of annotating more code & enabling this on CIs
Clang's -Wthread-safety, named "Context Analysis" for the Linux kernel finally merged after a year's worth of work: git.kernel.org/torvalds/c/09…
docs.kernel.org/next/dev-too…
Currently opt-in; go and set 'CONTEXT_ANALYSIS := y' for any kernel code you're developing. Needs Clang 22+.
Clang's -Wthread-safety, named "Context Analysis" for the Linux kernel finally merged after a year's worth of work: git.kernel.org/torvalds/c/09…
docs.kernel.org/next/dev-too…
Currently opt-in; go and set 'CONTEXT_ANALYSIS := y' for any kernel code you're developing. Needs Clang 22+.
Compiler-Based Context & Locking Analysis On Deck For Linux 7.0 Paired With Clang 22+
phoronix.com/news/Linux-Comp…
Respin of Capability Analysis (aka -Wthread-safety) for the Linux kernel now that Clang gained some new powers: lkml.kernel.org/r/2025091814… - prior LWN article: lwn.net/Articles/1012990/
5
184
Prototype for type-based partitioning of Linux kernel slab caches: discourse.llvm.org/t/rfc-a-f…
Compiler seems to be doing a good-enough job of inferring allocated types per /proc/slabinfo.
Want to help improve Linux kernel memory safety?
KFENCE has been available since Linux 5.12, with several distros enabling KFENCE (chances are your kernel supports it).
Though I suspect 1000s of reports are lost.
Keeping it simple, I present kfence-cron:
gist.github.com/melver/7bf5b…
More about KFENCE: docs.kernel.org/dev-tools/kf…
About the general idea: arxiv.org/pdf/2311.09394
1
202
Marco Elver retweeted
Excited to share bug detection tool we've been working on w/ @maelver:
github.com/google/gwpsan
It samples unmodified prod binaries with ~1% overhead, can be turned off completely.
Detects data races, use-after-return, uninits. Can do more e.g. UAF/OOB in syscalls.
Cool tech ...
Marco Elver retweeted
Congrats @kayseesee et al for the #ICSE24 SEIP Distinguished Paper Award! Amazing work!
Marco Elver retweeted
I am proud to present you the pre-print of our paper on GWP-ASan. 5+ years of work by four companies, spanning Server, Desktop, and Mobile, running on billions of devices. Finding and fixing thousands of bugs and potential vulnerabilities.
arxiv.org/abs/2311.09394
Marco Elver retweeted
C/C++ quiz: how many bytes does the following consume in a 64-bit ELF binary?
const char* x = "foo";
36%4
36%12
9%36
19%64
1,310 votes • Final resultsLLD recently gained --remap-inputs, which allows to change linker inputs (also accepts patterns) - it has a bunch of use cases, but turns out to be very useful to hack dependencies of overly complex build systems or untouchable build scripts. reviews.llvm.org/D148859 Cc @HaskRay
Marco Elver retweeted
syzbot got major usability improvement:
classification by #linux subsystem:
syzkaller.appspot.com/upstre…
go check what's still active for your subsys:
syzkaller.appspot.com/upstre…
syzkaller.appspot.com/upstre…
allows to generate monthly reports:
lore.kernel.org/all/00000000…
lore.kernel.org/all/00000000…
Marco Elver retweeted
KMSAN (github.com/google/kmsan) got merged into Linus' tree today: github.com/torvalds/linux/co…, fingers crossed to see it in v6.1
KMSAN helped find 300+ bugs in various kernel subsystems, and will certainly help find more.
Watch @PBHDK talk about the LKMM dependency checker: youtu.be/L2Ydq3iFwsY?t=6392
Spoiler alert: we found that common compiler optimizations do in fact break the Linux kernel's memory model.
This post is from an account that no longer exists. Learn more








