Lune

S&P2019顶会

Razzer: Finding Kernel Race Bugs through Fuzzing

Dae R. Jeong, Kyungtae Kim, Basavesh Shivakumar, Byoungyoung Lee, Insik Shin

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 89 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • VUzzer: Application-aware Evolutionary Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • PeriScope: An Effective Probing and Fuzzing Framework for the Hardware-OS Boundary 引用了 IMF: Inferred Model-based Fuzzer
  • PeriScope: An Effective Probing and Fuzzing Framework for the Hardware-OS Boundary 引用了 DIFUZE: Interface Aware Fuzzing for Kernel Drivers
  • PeriScope: An Effective Probing and Fuzzing Framework for the Hardware-OS Boundary 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • Krace: Data Race Fuzzing for Kernel File Systems 引用了 VUzzer: Application-aware Evolutionary Fuzzing
  • Krace: Data Race Fuzzing for Kernel File Systems 引用了 IMF: Inferred Model-based Fuzzer
  • Krace: Data Race Fuzzing for Kernel File Systems 引用了 DIFUZE: Interface Aware Fuzzing for Kernel Drivers
  • Krace: Data Race Fuzzing for Kernel File Systems 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • SyzVegas: Beating Kernel Fuzzing Odds with Reinforcement Learning 引用了 PeriScope: An Effective Probing and Fuzzing Framework for the Hardware-OS Boundary
  • SyzVegas: Beating Kernel Fuzzing Odds with Reinforcement Learning 引用了 DIFUZE: Interface Aware Fuzzing for Kernel Drivers
  • SyzVegas: Beating Kernel Fuzzing Odds with Reinforcement Learning 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • SemFuzz: Semantics-based Automatic Generation of Proof-of-Concept Exploits 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • DifuzzRTL: Differential Fuzz Testing to Find CPU Bugs 引用了 IMF: Inferred Model-based Fuzzer
  • DifuzzRTL: Differential Fuzz Testing to Find CPU Bugs 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • IMF: Inferred Model-based Fuzzer 引用了 VUzzer: Application-aware Evolutionary Fuzzing
  • IMF: Inferred Model-based Fuzzer 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • DIFUZE: Interface Aware Fuzzing for Kernel Drivers 引用了 VUzzer: Application-aware Evolutionary Fuzzing
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper89

  1. Krace: Data Race Fuzzing for Kernel File SystemsMeng Xu, Sanidhya Kashyap, Hanqing Zhao, Taesoo KimS&P 2020 · 131 次引用
  2. DifuzzRTL: Differential Fuzz Testing to Find CPU BugsJaewon Hur, Suhwan Song, Dongup Kwon, Eunjin Baek 等S&P 2021 · 126 次引用
  3. PeriScope: An Effective Probing and Fuzzing Framework for the Hardware-OS BoundaryDokyung Song, Felicitas Hetzelt, Dipanjan Das, Chad Spensky 等NDSS 2019 · 114 次引用
  4. KEPLER: Facilitating Control-flow Hijacking Primitive Evaluation for Linux Kernel VulnerabilitiesWei Wu, Yueqi Chen, Xinyu Xing, Wei ZouUSENIX Security 2019 · 75 次引用
  5. SyzVegas: Beating Kernel Fuzzing Odds with Reinforcement LearningDaimeng Wang, Zheng Zhang, Hang Zhang, Zhiyun Qian 等USENIX Security 2021 · 75 次引用

它引用的 Paper5

  1. Coverage-based Greybox Fuzzing as Markov ChainMarcel Böhme, Van-Thuan Pham, Abhik RoychoudhuryCCS 2016 · 1,026 次引用
  2. VUzzer: Application-aware Evolutionary FuzzingSanjay Rawat, Vivek Jain, Ashish Kumar, Lucian Cojocar 等NDSS 2017 · 700 次引用
  3. DIFUZE: Interface Aware Fuzzing for Kernel DriversJake Corina, Aravind Machiry, Christopher Salls, Yan Shoshitaishvili 等CCS 2017 · 195 次引用
  4. SemFuzz: Semantics-based Automatic Generation of Proof-of-Concept ExploitsWei You, Peiyuan Zong, Kai Chen, XiaoFeng Wang 等CCS 2017 · 148 次引用
  5. IMF: Inferred Model-based FuzzerHyungSeok Han, Sang Kil ChaCCS 2017 · 139 次引用

相关 Paper

  1. ExpRace: Exploiting Kernel Races through Raising InterruptsYoochan Lee, Changwoo Min, Byoungyoung LeeUSENIX Security 2021 · 40 次引用
  2. Precise Detection of Kernel Data Races with Probabilistic Lockset AnalysisGabriel Ryan, Abhishek Shah, Dongdong She, Suman JanaS&P 2023
  3. LR-Miner: Static Race Detection in OS Kernels by Mining Locking RulesTuo Li, Jia-Ju Bai, Gui-Dong Han, Shi-Min HuUSENIX Security 2024 · 6 次引用
  4. Context-Sensitive and Directional Concurrency Fuzzing for Data-Race DetectionZu-Ming Jiang, Jia-Ju Bai, Kangjie Lu, Shi-Min HuNDSS 2022
  5. DDRace: Finding Concurrency UAF Vulnerabilities in Linux Drivers with Directed FuzzingMing Yuan, Bodong Zhao, Penghui Li, Jiashuo Liang 等USENIX Security 2023
黄昏的海面,两侧是细线勾勒的悬崖