Marco Elver (@maelver) header
Marco Elver (@maelver) profile picture

Build reliable systems. Tweets about: Open source & Linux kernel. Opinions are my own.

Joined July 2009
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.
6
1
40
4,657
Marco Elver retweeted
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…
2
10
19
3,210
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…
2
9
38
15,745
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+.
10
62
6,653
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+.
1
14
3
48
12,168
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
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…
1
3
6
1,435
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 ...
5
110
3
339
33,254
Congrats @kayseesee et al for the #ICSE24 SEIP Distinguished Paper Award! Amazing work!
1
7
29
3,520
PSA: If you enable CONFIG_DEBUG_LIST in production Linux kernels, check if only CONFIG_LIST_HARDENED (available since Linux 6.6) and disabling CONFIG_DEBUG_LIST is enough for you - overall performance will be better. #Linux #kernel
2
12
1,624
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
1
57
7
190
49,461
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 results
12
4
27
14,813
LLD 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
2
8
2,068
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…
2
9
2
22
9,160
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.
2
18
2
87
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
1
6