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…
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+.
Compiler-Based Context & Locking Analysis On Deck For Linux 7.0 Paired With Clang 22+
phoronix.com/news/Linux-Comp…
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 results 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.
Marco Elver retweeted
3600+ bugs are fixed in the #Linux kernel due to syzkaller+syzbot:
syzkaller.appspot.com/upstre…
and 7000+ stable backports:
gist.github.com/dvyukov/35e9…
We continue keeping you 🛡️
with github.com/google/syzkaller
Marco Elver retweeted
Each of the Linux kernel Sanitizers now has an out-of-tree home page. Mostly, they contain links to kernel documentation, but putting them together gives a nice overview of what Sanitizers there are and what they do.
google.github.io/kernel-sani…
Marco Elver retweeted
[$] Detecting missing memory barriers with KCSAN lwn.net/Articles/877200/rss
Marco Elver retweeted
RV can detect more bugs during fuzzing but also be a good source of "functional coverage" for fuzzing/testing. Eg if we have model for sockets, we can aim at covering different socket functions for different socket states separately (as pointed out by @maelver).
Wanna known more about the "Runtime Verification (RV) interface" from @bristot(¹), which can monitor the #Linux #kernel to ensure that it's behaving the way one thinks it should? Then head over here: lwn.net/Articles/857862/ (text now freely available)
(¹) lore.kernel.org/lkml/cover.1…
Marco Elver retweeted
Talk on data-race detection in the #Linux kernel and KCSAN by @maelver on #LPC
youtu.be/gJRBmunG47w?t=7142
slides: linuxplumbersconf.org/event/…
KCSAN tickles all the boxes of fast, low memory overhead, no false positives, easy to maintain, scalable, understands C-level constructs.
Marco Elver retweeted
First version of KFENCE (GWP-ASan for the Linux Kernel) is out for review. lore.kernel.org/linux-arm-ke… Kudos to @maelver, @Glider, and @dvyukov












