@inproceedings{081f5bbe9b564544b964c44cb62512c4,
title = "DLOS: Effective Static Detection of Deadlocks in OS Kernels",
abstract = "Deadlocks in OS kernels can cause critical problems like performance degradation and system hangs. However, detecting deadlocks in OS kernels is quite challenging, due to high complexity of concurrent execution and large code bases of OS kernels. In this paper, we design a practical static analysis approach named DLOS, to effectively detect deadlocks in OS kernels. DLOS consists of three key techniques: (1) a summary-based lock-usage analysis to efficiently extract the code paths containing distinct locking constraints from kernel code; (2) a reachability-based comparison method to efficiently detect locking cycles from locking constraints; (3) a two-dimensional filtering strategy to effectively drop false positives by validating code-path feasibility and concurrency. We have evaluated DLOS on Linux 5.10, and find 54 real deadlocks, with a false positive rate of 17\%. We have reported these deadlocks to Linux kernel developers, and 31 of them have been confirmed.",
author = "Bai, \{Jia Ju\} and Tuo Li and Hu, \{Shi Min\}",
note = "Publisher Copyright: {\textcopyright} 2022 USENIX Annual Technical Conference, ATC 2022.All rights reserved.; 2022 USENIX Annual Technical Conference, ATC 2022 ; Conference date: 11-07-2022 Through 13-07-2022",
year = "2022",
language = "英语",
series = "Proceedings of the 2022 USENIX Annual Technical Conference, ATC 2022",
publisher = "USENIX Association",
pages = "367--381",
booktitle = "Proceedings of the 2022 USENIX Annual Technical Conference, ATC 2022",
}