2011 · 27 citations · 18 references
ComputingComputer ScienceComputer SystemsFault ToleranceFault-tolerant SystemsOperating SystemsError DetectionError HandlingKernel DesignOperating System VulnerabilitiesSoftware Fault ToleranceVirtual MemoryError CodesPointer AnalysisPointer ArithmeticPointer Arithmetic ErrorsVirtual File System
Linux run-time errors are represented by integer values referred to as error codes. These values propagate across long function-call chains before being handled. As these error codes propagate, they are often temporarily or permanently encoded into pointer values. Error-valued pointers are not valid memory addresses, and therefore require special care by programmers. Misuse of pointer variables that store error codes can lead to serious problems such as system crashes, data corruption, unexpected results, etc. We use static program analysis to find three classes of bugs relating to error-valued pointers: bad dereferences, bad pointer arithmetic, and bad overwrites. Our tool finds 56 true bugs among 52 different Linux file system implementations, the virtual file system (VFS), the memory management module (mm), and 4 drivers.
18
Dawson Engler, David Yu Chen, Seth Hallem et al. · 2001 · 747 citations
Documenting and automating collateral evolutions in linux device drivers
Yoann Padioleau, Julia Lawall, René Rydhof Hansen et al. · 2008 · 192 citations