Journal of Software: Evolution and Process

SyzFSPattern: Static‐Analysis‐Based Seed Generation for Directed File System Fuzzing

Yu Xie, Heyuan Shi, Deyu Zhang

Key points

From the paper's conclusion
  • To address this issue, we propose SyzFSPattern, a static‐analysis‐based seed generation method for directed file system fuzzing.

Abstract

The file system serves as a critical subsystem for persistent data storage in Linux. Bugs within the file system may result in data loss, data corruption, and security vulnerabilities. Directed greybox fuzzing enables focused testing on specific code locations and is especially valuable for file systems that frequently undergo feature additions, bug fixes, and crash reproductions. However, existing kernel directed fuzzing approaches treat file systems as common kernel modules, overlooking structural characteristics unique to file system code. Consequently, they fail to generate high‐quality seeds for directed file system fuzzing. To address this issue, we propose SyzFSPattern, a static‐analysis‐based seed generation method for directed file system fuzzing. SyzFSPattern exploits the general structural characteristics that the Linux Virtual File System enforces across file systems. It constructs three analysis modules that refine configuration option arguments and map interface functions in function tables to reachable system calls via backward control‐flow analysis. The modules' outputs are composed into a unified seed generation pipeline. Experimental results demonstrate that SyzFSPattern generates higher‐quality seeds than the state‐of‐the‐art method SyzDirect, achieving an average speedup of 1.6 in reaching target code locations across multiple file systems.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

SyzFSPattern: Static‐Analysis‐Based Seed Generation for Directed File System Fuzzing — Science Skim