Trabalho em anais de eventoOpen Access
Memory Safety in Linux Device Drivers: Enhancing Security with Formal Verification
SOUSA, JANISLLEY O.; FERREIRA, DAVID A. O.; FILHO, EDDIE B. DE LIMA; CORDEIRO, LUCAS C
Resumo
Resumo
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.
Autoria
Autores do grupo (1)
A lista completa de autores está no topo da página. Abaixo, apenas os pesquisadores do e-Controls vinculados a esta publicação.
palavras-chave
Palavras-chave
memory safetyLinux device driversformal verificationbounded model checkingkernel securitynull pointer dereferenceembedded systemsvulnerability detection
Status
Published
links
Links e arquivos
Trabalho em anais de evento