AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
Article Link
Collect
Submit Manuscript
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Regular Paper

AMCheX: Accurate Analysis of Missing-Check Bugs for Linux Kernel

Key Laboratory of Software Engineering for Complex Systems, College of Computer Science National University of Defense Technology, Changsha, 410073, China
Show Author Information

Abstract

The Linux kernel adopts a large number of security checks to prevent security-sensitive operations from being executed under unsafe conditions. If a security-sensitive operation is unchecked, a missing-check issue arises. Missing check is a class of severe bugs in software programs especially in operating system kernels, which may cause a variety of security issues, such as out-of-bound accesses, permission bypasses, and privilege escalations. Due to the lack of security specifications, how to automatically identify security-sensitive operations and their required security checks in the Linux kernel becomes a challenge for missing-check analysis. In this paper, we present an accurate missing-check analysis method for Linux kernel, which can automatically infer possible security-sensitive operations. Particularly, we first automatically identify all possible security check functions of Linux. Then according to their callsites, a two-direction analysis method is leveraged to identify possible security-sensitive operations. A missing-check bug is reported when the security-sensitive operation is not protected by its corresponding security check. We have implemented our method as a tool, named AMCheX, on top of the LLVM (Low Level Virtual Machine) framework and evaluated it on the Linux kernel. AMCheX reported 12 new missing-check bugs which can cause security issues. Five of them have been confirmed by Linux maintainers.

Electronic Supplementary Material

Download File(s)
jcst-36-6-1325-Highlights.pdf (238.6 KB)

References

【1】
【1】
 
 
Journal of Computer Science and Technology
Pages 1325-1341

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
Wang Y-J, Yin L-Z, Dong W. AMCheX: Accurate Analysis of Missing-Check Bugs for Linux Kernel. Journal of Computer Science and Technology, 2021, 36(6): 1325-1341. https://doi.org/10.1007/s11390-021-1666-4

1083

Views

5

Crossref

3

Web of Science

4

Scopus

0

CSCD

Received: 01 June 2021
Accepted: 30 September 2021
Published: 30 November 2021
© Institute of Computing Technology, Chinese Academy of Sciences 2021