Skip to main content
Back to USENIX
  • Conferences
  • Students
Sign in

USENIX Conference Policies

  • Event Code of Conduct
  • Conference Network Policy
  • Statement on Environmental Responsibility Policy

Finding User/Kernel Pointer Bugs with Type Inference

Today's operating systems struggle with vulnerabilities from careless handling of user space pointers. User/kernel pointer bugs have serious consequences for security: a malicious user could exploit a user/kernel pointer bug to gain elevated privileges, read sensitive data, or crash the system. We show how to detect user/kernel pointer bugs using type-qualifier inference, and we apply this method to the Linux kernel using CQUAL, a type-qualifier inference tool. We extend the basic type-inference capabilities of CQUAL to support context-sensitivity and greater precision when analyzing structures so that CQUAL requires fewer annotations and generates fewer false positives. With these enhancements, we were able to use CQUAL to find 17 exploitable user/kernel pointer bugs in the Linux kernel. Several of the bugs we found were missed by careful hand audits, other program analysis tools, or both.

Rob Johnson, UC Berkeley

David Wagner, UC Berkeley

BibTeX
@inproceedings {269610,
author = {Rob Johnson and David Wagner},
title = {Finding {User/Kernel} Pointer Bugs with Type Inference},
booktitle = {13th USENIX Security Symposium (USENIX Security 04)},
year = {2004},
address = {San Diego, CA},
url = {https://www.usenix.org/conference/13th-usenix-security-symposium/finding-userkernel-pointer-bugs-type-inference},
publisher = {USENIX Association},
month = aug
}
Download

Links

Paper: 
http://usenix.org/publications/library/proceedings/sec04/tech/full_papers/johnson/johnson.pdf
Paper (HTML): 
http://usenix.org/publications/library/proceedings/sec04/tech/full_papers/johnson/johnson_html/index.html
  • Log in or register to post comments

© USENIX
EIN 13-3055038

  • Privacy Policy
  • Contact Us