SyzGPT is an LLM-assisted kernel fuzzing framework for automatically generating effective seeds for low frequency syscalls (LFS).
Linux kernel provides over
360 system calls and Syzkaller defines more than
4400 specialized calls encapsulated for specific purposes of system calls.
However, many of these syscalls (called
LFS) are hard to be consistently covered due to the complex dependencies and mutation uncertainty, leaving the testing space.
SyzGPT can automatically extract and augment syscall dependencies for these LFS and generate effective seeds with dependency-based RAG (DRAG).
Our evaluation shows that SyzGPT can improve overall code coverage and syscall coverage, and find LFS-induced vulnerabilities.
We also release a toy model
🤗CodeLlama-syz-toy specialized for Syz-program.