• Cite Icon6
  • https://doi.org/10.1145/1103780.1103786Copy DOI Icon

An electric fence for kernel buffers

  • Nov 11, 2005
  • Nikolai Joukov +3 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Improper access of data buffers is one of the most common errors in programs written in assembler, C, C++, and several other languages. Existing programs and OSs frequently access the data beyond the allocated buffers or access buffers that were already freed. Such programs and OSs may run for years before their problems can be detected because improper memory accesses frequently result in a silent data corruption. Not surprisingly, most computer worms exploit buffer overflow errors to gain complete control over computer systems. Only after recent worm epidemics, did code developers begin to realize the scale of the problem and the number of potential memory-access violations in existing code.Due to the syntax and flexibility of many programming languages, memory access violation problems cannot be detected at compile time. Tools that verify correctness before every memory access impose unacceptably high overheads. As a result, most of the developed techniques focus on preventing the hijacking of control by hackers and worms due to stack overflows. Consequently, hidden data corruption is given less attention.Memory access violations can be efficiently detected using the hardware support of the paging and virtual memory.Kefence is the general run-time solution we developed that allows to detect and avoid in-kernel overflow, underflow, and stale access problems for internal kernel buffers. Kefence is especially applicable to file system code because file systems operate at a high level of abstraction and require no direct access to the physical memory. At the same time, file systems use a large number of kernel buffers and file system errors are most harmful for users because users' persistent data can be corrupted.

Similar Papers
  • Conference Article
  • Citations58

Hedy

  • Aug 07, 2020
  • Felienne Hermans
  • Conference Article
  • Citations15

The Reliability of Software Algorithms and Software-Based Mitigation Techniques in Digital Signal Processors

  • Jul 01, 2013
  • Heather Quinn +3
  • Conference Article
  • Citations215

Reimplementing the Cedar file system using logging and group commit

  • Jan 01, 1987
  • R Hagmann
  • Research Article
  • Citations313

An analysis of data corruption in the storage stack

  • Nov 01, 2008
  • ACM Transactions on Storage
  • Lakshmi N Bairavasundaram +4
  • Research Article
  • Citations20

Dotplot patterns: A literal look at pattern languages

  • Jan 01, 1996
  • Theory and Practice of Object Systems
  • Jonathan Helfman
  • Research Article
  • Citations8

Dynamic syntax: A concept for the definition of the syntax of programming languages

  • Jan 01, 1973
  • Annual Review in Automatic Programming
  • K.V Hanford +1
  • Conference Article
  • Citations14

MACORD: Online Adaptive Machine Learning Framework for Silent Error Detection

  • Sep 01, 2017
  • Omer Subasi +7
  • PDF
  • Research Article
  • Citations3

F_Radish: Enhancing Silent Data Corruption Detection for Aerospace-Based Computing

  • Dec 31, 2020
  • Electronics
  • Na Yang +1
  • Research Article
  • Citations22

Analyzing the Effects of Bugs on Software Interfaces

  • Mar 01, 2020
  • IEEE Transactions on Software Engineering
  • Roberto Natella +3
  • Conference Article
  • Citations7

Selective Duplication and Selective Comparison for Data Flow Error Detection

  • Nov 01, 2019
  • Control theory & applications
  • Venu Babu Thati +3
  • Conference Article
  • Citations216

Hardbound

  • Mar 01, 2008
  • Joe Devietti +3
  • Research Article
  • Citations319

Using model checking to find serious file system errors

  • Nov 01, 2006
  • ACM Transactions on Computer Systems
  • Junfeng Yang +3
  • Conference Article
  • Citations72

PMTest

  • Apr 04, 2019
  • Sihang Liu +4
  • Single Book
  • Citations902

Programming with Constraints

  • Feb 26, 1998
  • Kimbal Marriott +1
  • Conference Article
  • Citations1

Semantic based Cross-Language Clone Related Bug Detection

  • Oct 01, 2021
  • Zeng Chen
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.