Partial Context-Sensitive Pointer Integrity for Real-time Embedded Systems

Yujie Wang, Cailani Lemieux-Mack, Thidapat Chantem, Sanjoy Baruah, Ning Zhang, Bryan C. Ward

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Safety- and mission-critical cyber-physical systems (CPSs) require temporal correctness to ensure safe physical behavior. This manifests as strict timing requirements, which cannot be missed at runtime. Counter-intuitively, this implies that real-time tasks can be delayed so long as they remain guaranteed to meet their deadlines. This paper explores how extra time in a schedule can be analytically recapitalized for the purpose of applying stronger security protection within individual tasks at compile time. This is achieved through the development of a partial context-sensitive pointer-integrity framework (ParCSPI). In this framework, more fine-grained policies can be enforced, with greater runtime overheads, where so doing does not violate real-time constraints. A whole-system optimization framework based upon a mixed-integer linear programming approach to fixed-priority response-time analysis is used to identify precisely which contexts can be checked within the available system-wide time while maximizing system-wide security. ParCSPI leverages Arm pointer authentication (PA) to encode context-based equivalence classes into the modifiers of the pointer signature and is implemented using a customized program analyzer and LLVM compiler passes. An evaluation of ParCSPI is presented that includes per-task and system-wide overhead and security tradeoffs, as well as a demonstration on a real-world CPS. Empirical results are presented showing that ParCSPI achieves up to 62% pointer-integrity protection with only 10% worst-case execution time (WCET) overhead, and can find optimal security trade-offs in complex real-time task sets as well as approximate them in reasonable time.

Original languageEnglish
Title of host publicationProceedings - 2024 IEEE Real-Time Systems Symposium, RTSS 2024
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages415-426
Number of pages12
ISBN (Electronic)9798331540265
DOIs
StatePublished - 2024
Event45th IEEE Real-Time Systems Symposium, RTSS 2024 - York, United Kingdom
Duration: Dec 10 2024Dec 13 2024

Publication series

NameProceedings - Real-Time Systems Symposium
ISSN (Print)1052-8725

Conference

Conference45th IEEE Real-Time Systems Symposium, RTSS 2024
Country/TerritoryUnited Kingdom
CityYork
Period12/10/2412/13/24

Fingerprint

Dive into the research topics of 'Partial Context-Sensitive Pointer Integrity for Real-time Embedded Systems'. Together they form a unique fingerprint.

Cite this