Improving Linux-Kernel Tests for LockDoc with Feedback-driven Fuzzing
Zusammenfassung
LockDoc is an approach to extract locking rules for kernel data structures from a dynamic execution trace recorded while the system is under a benchmark load. These locking rules can e.g. be used to locate synchronization bugs. For high rule precision and thorough bug finding, the approach heavily depends on the choice of benchmarks: They must trigger the execution of as much code as possible in the kernel subsystem relevant for the targeted data structures. However, existing test suites such as those provided by the Linux Test Project (LTP) only achieve – in the case of LTP – about 35 percent basic-block coverage for the VFS subsystem, which is the relevant subsystem when extracting locking rules for filesystem-related data structures.
In this article, we discuss how to complement the LTP suites to improve the code coverage for our LockDoc scenario. We repurpose syzkaller – a coverage-guided fuzzer with the goal to validate the robustness of kernel APIs – to 1) not aim for kernel crashes, and to 2) maximize code coverage for a specific kernel subsystem. Thereby, we generate new benchmark programs that can be run in addition to the LTP, and increase VFS basic-block coverage by 26.1 percent.
- Vollständige Referenz
- BibTeX
Lochmann, A., Thunig, R. & Schirmeier, H.,
(2020).
Improving Linux-Kernel Tests for LockDoc with Feedback-driven Fuzzing.
Tagungsband des FG-BS Herbsttreffens 2020.
Bonn:
Gesellschaft für Informatik e.V.z.
DOI: 10.18420/fgbs2020h-01
@inproceedings{mci/Lochmann2020,
author = {Lochmann, Alexander AND Thunig, Robin AND Schirmeier, Horst},
title = {Improving Linux-Kernel Tests for LockDoc with Feedback-driven Fuzzing},
booktitle = {Tagungsband des FG-BS Herbsttreffens 2020},
year = {2020},
editor = {} ,
doi = { 10.18420/fgbs2020h-01 },
publisher = {Gesellschaft für Informatik e.V.z},
address = {Bonn}
}
author = {Lochmann, Alexander AND Thunig, Robin AND Schirmeier, Horst},
title = {Improving Linux-Kernel Tests for LockDoc with Feedback-driven Fuzzing},
booktitle = {Tagungsband des FG-BS Herbsttreffens 2020},
year = {2020},
editor = {} ,
doi = { 10.18420/fgbs2020h-01 },
publisher = {Gesellschaft für Informatik e.V.z},
address = {Bonn}
}
| Dateien | Groesse | Format | Anzeige | |
|---|---|---|---|---|
| Paper01.pdf | 436.2Kb | Öffnen |
Sollte hier kein Volltext (PDF) verlinkt sein, dann kann es sein, dass dieser aus verschiedenen Gruenden (z.B. Lizenzen oder Copyright) nur in einer anderen Digital Library verfuegbar ist. Versuchen Sie in diesem Fall einen Zugriff ueber die verlinkte DOI: 10.18420/fgbs2020h-01
Haben Sie fehlerhafte Angaben entdeckt? Sagen Sie uns Bescheid: Feedback abschicken
Mehr Information
Datum: 2020
Sprache:
(en)
(en)
Typ: Text

