Razzer: Finding Kernel Race Bugs through Fuzzing
Open accessThe DOI matches its Crossref record; 33 of the 33 references it cites were found in a registry or an index.
Abstract
A data race in a kernel is an important class of bugs, critically impacting the reliability and security of the associated system. As a result of a race, the kernel may become unresponsive. Even worse, an attacker may launch a privilege escalation attack to acquire root privileges. In this paper, we propose Razzer, a tool to find race bugs in kernels. The core of Razzer is in guiding fuzz testing towards potential data race spots in the kernel. Razzer employs two techniques to find races efficiently: a static analysis and a deterministic thread interleaving technique. Using a static analysis, Razzer identifies over-approximated potential data race spots, guiding the fuzzer to search for data races in the kernel more efficiently. Using the deterministic thread interleaving technique implemented at the hypervisor, Razzer tames the non-deterministic behavior of the kernel such that it can deterministically trigger a race. We implemented a prototype of Razzer and ran the latest Linux kernel (from v4.16-rc3 to v4.18-rc3) using Razzer. As a result, Razzer discovered 30 new races in the kernel, with 16 subsequently confirmed and accordingly patched by kernel developers after they were reported.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Holzmann, G. J. (1997) · IEEE Transactions on Software Engineering · doi:10.1109/32.588521 · Cited by 3,803 · cited 1×
“Many studies [7, 9, 11, 15, 20, 22, 25, 31, 32, 36, 40, 47, 48] have sought to improve the race detection capability at runtime by collecting rich contextual information on races.”
BackgroundValgrind: a framework for heavyweight dynamic binary instrumentation
Nethercote, N., & Seward, J. (2007) · Proceedings of the 28th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/1250734.1250746 · Cited by 2,244 · cited 1×
“Many studies [7, 9, 11, 15, 20, 22, 25, 31, 32, 36, 40, 47, 48] have sought to improve the race detection capability at runtime by collecting rich contextual information on races.”
BackgroundProgram Analysis and Specialization for the C Programming Language
Andersen, L. O., & Lee, P. (2005) · Cited by 909
AddressSanitizer: a fast address sanity checker
Serebryany, K., Bruening, D. L., Potapenko, A., & Vyukov, D. (2012) · USENIX Annual Technical Conference · Cited by 724
RacerX: effective, static detection of race conditions and deadlocks
Engler, D., & Ashcraft, K. (2003) · ACM SIGOPS Operating Systems Review · doi:10.1145/1165389.945468 · Cited by 661
Coverage-based Greybox Fuzzing as Markov Chain
Böhme, M., Pham, V.-T., & Roychoudhury, A. (2016) · Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/2976749.2978428 · Cited by 649 · cited 1×
“Many recent studies have demonstrated that fuzzing is a promising technique to find bugs in user-land programs [8, 12, 18, 33, 34, 44, 46] and in kernels [13, 19, 23, 24, 42, 43, 45].”
BackgroundVUzzer: Application-aware Evolutionary Fuzzing
Rawat, S., Jain, V., Kumar, A., Cojocar, L., Giuffrida, C., & Bos, H. (2017) · Proceedings 2017 Network and Distributed System Security Symposium · doi:10.14722/ndss.2017.23404 · Cited by 584 · cited 1×
“Many recent studies have demonstrated that fuzzing is a promising technique to find bugs in user-land programs [8, 12, 18, 33, 34, 44, 46] and in kernels [13, 19, 23, 24, 42, 43, 45].”
BackgroundIterative context bounding for systematic testing of multithreaded programs
Musuvathi, M., & Qadeer, S. (2007) · Proceedings of the 28th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/1250734.1250785 · Cited by 483 · cited 1×
“Several studies [10, 16, 30, 35, 40] have attempted to find instances of race-causing thread interleaving by implementing a customized thread scheduler which randomizes the per-thread execution scheduling.”
BackgroundRace directed random testing of concurrent programs
Sen, K. (2008) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/1375581.1375584 · Cited by 460 · cited 1×
“Several studies [10, 16, 30, 35, 40] have attempted to find instances of race-causing thread interleaving by implementing a customized thread scheduler which randomizes the per-thread execution scheduling.”
BackgroundThreadSanitizer: data race detection in practice
Serebryany, K., & Iskhodzhanov, T. (2009) · Proceedings of the Workshop on Binary Instrumentation and Applications · doi:10.1145/1791194.1791203 · Cited by 451 · cited 2×
“In particular, ThreadSanitizer [36] is a commodity race detector developed by Google which was recently utilized with the Linux kernel as well.”
BackgroundMethod
Cited by
A Survey on Cyber-Security of Connected and Autonomous Vehicles (CAVs)
Sun, X., Yu, F. R., & Zhang, P. (2022) · IEEE Transactions on Intelligent Transportation Systems · doi:10.1109/tits.2021.3085297 · Cited by 370
Metadata
- Authors
- Jeong, D. R., Kim, K., Shivakumar, B., Lee, B., & Shin, I.
- Venue
- 2019 IEEE Symposium on Security and Privacy (SP)
- Publisher
- IEEE
- Published
- 2019-05
- Pages
- 754-768
- ISSN
- 1081-6011 (ISSN-L)
- OpenAlex
- W2927543040
- Cited by
- 166
- References
- 33
- FWCI
- 13.99
- Type
- conference paper
- Language
- en
- Open access
- bronze
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.