Beyond Linux Kernel Testing: Approaches and Challenges
summary
Survey of methods emphasizes concrete wins: coverage-guided fuzzing and sanitizers (KASAN, Kernel Concurrency Sanitizer) find many memory and concurrency faults, while property-based testing raises catch rates by checking rules like “no sleeping in atomic/IRQ-disabled context.” Repeated PREEMPT_RT bugs are found where a sleeping call runs with interrupts disabled and are fixed by removing local_irq_disable in kob_remote_start and adding a context check. Emerging work on runtime verification and buzzer, Agony, Agni aims to prove absence of classes of bugs.
AI-written summary · about
chapters (10)
- 0:00Introduction to talk
- 1:05Existing kernel testing methods
- 3:54Challenges in kernel testing
- 7:28Increasing test coverage and catch rate
- 9:37Fuzzing and coverage-guided testing
- 13:10Real-world bug detection example
- 17:09Property verification approach
- 19:44Big picture of testing tools
- 22:52Future of kernel testing
- 23:36Q&A session
