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.”
BackgroundMethodHybrid dynamic data race detection
O'Callahan, R., & Choi, J.-D. (2003) · Proceedings of the ninth ACM SIGPLAN symposium on Principles and practice of parallel programming · doi:10.1145/781498.781528 · Cited by 432 · 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.”
BackgroundSVF: interprocedural static value-flow analysis in LLVM
Sui, Y., & Xue, J. (2016) · Proceedings of the 25th International Conference on Compiler Construction · doi:10.1145/2892208.2892235 · Cited by 431 · cited 6×
“0 and SVF [39], which provides the points-to analysis framework.”
BackgroundMethodInfluentialRELAY: static race detection on millions of lines of code
Voung, J. W., Jhala, R., & Lerner, S. (2007) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/1287624.1287654 · Cited by 348 · cited 2×
“For instance, RAZZER can leverage synchronization primitives as done in previous work [14, 41].”
BackgroundMethodCoverage-Based Greybox Fuzzing as Markov Chain
Bohme, M., Pham, V.-T., & Roychoudhury, A. (2019) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2017.2785841 · Cited by 340
Dowsing for overflows: a guided fuzzer to find buffer boundary violations
Haller, I., Slowinska, A., Neugschwandtner, M., & Bos, H. (2013) · VU Research Portal · Cited by 268
Optimizing Seed Selection for Fuzzing
Rebert, A., Cha, S. K., Avgerinos, T., Foote, J. M., Warren, D., Grieco, G., & Brumley, D. (2014) · KiltHub Repository · doi:10.1184/r1/6469118 · Cited by 266
PACER: proportional detection of data races
Bond, M. D., Coons, K. E., & McKinley, K. S. (2010) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/1806596.1806626 · Cited by 259 · cited 2×
“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.”
BackgroundLiteRace: effective sampling for lightweight data-race detection
Marino, D., Musuvathi, M., & Narayanasamy, S. (2009) · Proceedings of the 30th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/1542476.1542491 · Cited by 245 · cited 2×
“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.”
BackgroundDIFUZE: Interface Aware Fuzzing for Kernel Drivers
Corina, J., Machiry, A., Salls, C., Shoshitaishvili, Y., Hao, S., Kruegel, C., & Vigna, G. (2017) · ACM SIGSAC Conference on Computer and Communications Security (CCS) · doi:10.1145/3133956.3134069 · Cited by 236 · 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].”
BackgroundProgram-Adaptive Mutational Fuzzing
Cha, S. K., Woo, M., & Brumley, D. (2015) · 2015 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2015.50 · Cited by 231 · 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].”
BackgroundA randomized scheduler with probabilistic guarantees of finding bugs
Burckhardt, S., Kothari, P., Musuvathi, M., & Nagarakatte, S. (2010) · Proceedings of the fifteenth International Conference on Architectural support for programming languages and operating systems · doi:10.1145/1736020.1736040 · Cited by 212 · cited 4×
“Regarding random thread interleaving tools (such as SKI [16] or the PCT Algorithm [10]), their focus is in meeting R2, attempting to Authorized licensed use limited to: Korea Advanced Inst of Science & Tech - KAIST.”
BackgroundMethodInfluentialErickson, J., Musuvathi, M., Burckhardt, S., & Olynyk, K. (1976) · PubMed · doi:10.5555/1924943.1924954 · Cited by 184
Scheduling black-box mutational fuzzing
Woo, M., Cha, S. K., Gottlieb, S., & Brumley, D. (2013) · Proceedings of the 2013 ACM SIGSAC conference on Computer & communications security - CCS '13 · doi:10.1145/2508859.2516736 · Cited by 182 · 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].”
BackgroundIMF: Inferred Model-based Fuzzer
Han, H.-S., & Kil, S. (2017) · ACM SIGSAC Conference on Computer and Communications Security (CCS) · doi:10.1145/3133956.3134103 · Cited by 144 · 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].”
BackgroundEngler, D., & Ashcraft, K. (2003) · ACM SIGOPS Symposium on Operating Systems Principles (SOSP) · doi:10.1145/945465.945468 · Cited by 113
You, W., Zong, P., Chen, K., Wang, X., Liao, X., Bian, P., & Liang, B. (2017) · ACM SIGSAC Conference on Computer and Communications Security (CCS) · doi:10.1145/3133956.3134085 · Cited by 113 · 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].”
BackgroundDetecting and surviving data races using complementary schedules
Veeraraghavan, K., Chen, P. M., Flinn, J., & Narayanasamy, S. (2011) · ACM SIGOPS Symposium on Operating Systems Principles (SOSP) · doi:10.1145/2043556.2043590 · Cited by 106 · cited 2×
“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.”
BackgroundRaceMob: crowdsourced data race detection
Kasikci, B., Zamfir, C., & Candea, G. (2013) · ACM SIGOPS Symposium on Operating Systems Principles (SOSP) · doi:10.1145/2517349.2522736 · Cited by 98 · cited 1×
“RaceMob [21] crowdsources runtime race tests from”
Anderson, Z., Gay, D. E., Ennals, R., & Brewer, E. A. (2008) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/1375581.1375600 · Cited by 69 · 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.”
BackgroundK-Miner: Uncovering Memory Corruption in Linux
Gens, D., Schmitt, S., Davi, L., & Sadeghi, A. (2018) · Network and Distributed System Security Symposium · doi:10.14722/ndss.2018.23326 · Cited by 56 · cited 3×
“RAZZER’s static analysis is built based on the implementation of K-miner’s but modified to identify RacePairscand through a points-to analysis.”
BackgroundInfluentialCAB-Fuzz: Practical Concolic Testing Techniques for COTS Operating Systems.
Kim, S. Y., Lee, S., Yun, I., Xu, W. X., Lee, B., Yun, Y., & Kim, T. (2017) · Cited by 47
Self-citationTxRace: Efficient Data Race Detection Using Commodity Hardware Transactional Memory
Zhang, T., Lee, D., & Jung, C. (2016) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/2872362.2872384 · Cited by 30 · cited 2×
“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.”
BackgroundMethodperf fuzzer: Targeted Fuzzing of the perf event open() System Call
Weaver, V. M., & Jones, D. (2015) · Cited by 19
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.