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

MEBS: Uncovering Memory Life-Cycle Bugs in Operating System Kernels

College of Computer Science and Technology, National University of Defense Technology, Changsha, 410073, China
Show Author Information

Abstract

Allocation, dereferencing, and freeing of memory data in kernels are coherently linked. There widely exist real cases where the correctness of memory is compromised. This incorrectness in kernel memory brings about significant security issues, e.g., information leaking. Though memory allocation, dereferencing, and freeing are closely related, previous work failed to realize they are closely related. In this paper, we study the life-cycle of kernel memory, which consists of allocation, dereferencing, and freeing. Errors in them are called memory life-cycle (MLC) bugs. We propose an in-depth study of MLC bugs and implement a memory life-cycle bug sanitizer (MEBS) for MLC bug detection. Utilizing an inter-procedural global call graph and novel identification approaches, MEBS can reveal memory allocation, dereferencing, and freeing sites in kernels. By constructing a modified define-use chain and examining the errors in the life-cycle, MLC bugs can be identified. Moreover, the experimental results on the latest kernels demonstrate that MEBS can effectively detect MLC bugs, and MEBS can be scaled to different kernels. More than 100 new bugs are exposed in Linux and FreeBSD, and 12 common vulnerabilities and exposures (CVE) are assigned.

Electronic Supplementary Material

Download File(s)
jcst-36-6-1248-Highlights.pdf (151.4 KB)

References

【1】
【1】
 
 
Journal of Computer Science and Technology
Pages 1248-1268

{{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:
Zhang G, Wang P-F, Yue T, et al. MEBS: Uncovering Memory Life-Cycle Bugs in Operating System Kernels. Journal of Computer Science and Technology, 2021, 36(6): 1248-1268. https://doi.org/10.1007/s11390-021-1593-4

1078

Views

3

Crossref

2

Web of Science

3

Scopus

0

CSCD

Received: 18 May 2021
Accepted: 25 August 2021
Published: 30 November 2021
© Institute of Computing Technology, Chinese Academy of Sciences 2021