Memory Safety in Linux Device Drivers: Enhancing Security with Formal Verification

Read full text Summarise with VIRAT
Authors: Janislley Oliveira de Sousa, David A. O. Ferreira, Eddie B. de Lima Filho, Lucas Carvalho Cordeiro
Cited by: 0
References: 31

Summary

No summary yet. VIRAT can read this paper and write a plain-language summary of its aim, methods, key findings and limitations.

Summarise with VIRAT Free to try with your Science Catalogs account.

Abstract

Memory safety remains one of the most critical challenges in embedded systems, particularly within the Linux kernel, where device drivers are a primary source of vulnerabilities due to their close interaction with hardware and complex execution contexts. Such behavior is even more pronounced on consumer electronics devices, where restricted resources amplify the existing vulnerabilities. Traditional testing approaches, while effective at uncovering shallow bugs, often fail to guarantee the absence of subtle or deeply nested memory-safety issues. In this paper, we propose a formal verification methodology based on Bounded Model Checking (BMC) to detect memory safety violations in Linux device drivers. Using a methodology based on LSVerifier, we systematically analyzed newly integrated device drivers across multiple kernel versions. Our approach uncovered three vulnerabilities, including out-of-bounds writes, out-of-bounds reads, and null pointer dereferences. It demon strates that formal methods can uncover critical flaws early in the development process, complementing dynamic tools and strengthening kernel security.

Fields of Study & Subjects

Formal Methods in Verification Security and Verification in Computing Software Testing and Debugging Techniques

Publication details

Journal / source
International Conference on Consumer Electronics
Pages
1–6
Publication date
3 February 2026
Language
EN