Back to Search Start Over

Towards Linux Kernel Memory Safety

Authors :
Reshetova, Elena
Liljestrand, Hans
Paverd, Andrew
Asokan, N.
Publication Year :
2017

Abstract

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.

Details

Database :
arXiv
Publication Type :
Report
Accession number :
edsarx.1710.06175
Document Type :
Working Paper
Full Text :
https://doi.org/10.1002/spe.2638