arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1710.06175cs.CRcs.OS
收藏

Linux内核内存安全研究

Towards Linux Kernel Memory Safety

Elena Reshetova, Hans Liljestrand, Andrew Paverd, N. Asokan

摘要:

全球数十亿设备的安全性取决于主流Linux内核的安全性和健壮性。然而,越来越多的特定于内核的漏洞,特别是内存安全漏洞,表明内核是一个流行的和实际上可利用的目标。内存安全漏洞的两个主要原因是引用计数器溢出(临时内存错误)和缺乏指针边界检查(空间内存错误)。为了在实践中取得成功,Linux内核等关键系统的安全机制还必须将性能和可部署性作为关键的设计目标。我们提出并系统地分析了两种提高Linux内核内存安全性的机制:(a)一种抗溢出引用计数器数据结构,旨在适应内核源代码中典型的引用计数器使用,以及(b)运行时指针边界检查,在内核中使用英特尔MPX。

英文摘要:

The security of billions of devices worldwide depends on the security and robustness of the mainline Linux kernel. However, the increasing number of kernel-specific vulnerabilities, especially memory safety vulnerabilities, shows that the kernel is a popular and practically exploitable target. Two major causes of memory safety vulnerabilities are reference counter overflows (temporal memory errors) and lack of pointer bounds checking (spatial memory errors). To succeed in practice, security mechanisms for critical systems like the Linux kernel must also consider performance and deployability as critical design objectives. We present and systematically analyze two such mechanisms for improving memory safety in the Linux kernel: (a) an overflow-resistant reference counter data structure designed to accommodate typical reference counter usage in kernel source code, and (b) runtime pointer bounds checking using Intel MPX in the kernel.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑