Pith. Sign in

RECORD

Rely-guarantee Reasoning about Concurrent Memory Management: Correctness, Safety and Security

Software Engineering · Submitted 17 Sep 2023

abstract compiled · 2026-09-23 · no language-model review

The authors' main claim These verification issues are translated into finding three bugs in the C implementation of Zephyr, after inspecting the source code corresponding to the design lines breaking the properties.

how it is stated · asserted 1.00 read the record →

Comment (0) Read on arXiv ↗
Cite ▾
arXiv ID2309.09997 (version 1)
Pith IDK6NCJF4O, Pith's permanent record of this paper and its review
CitationDavid Sanan, Yongwang Zhao. "Rely-guarantee Reasoning about Concurrent Memory Management: Correctness, Safety and Security." arXiv:2309.09997 (2023). https://pith.science/paper/K6NCJF4O
Claim paper

The compiled record

The paper's own sentences, arranged. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. Numbers in the tables are the authors', checked by code. No sentence in this record was written by a model.

Open the compiled record

Compiled by classifier-1.13.0 via TypeSafe API, question bank abstract-p1-20260923, 2026-09-23: 1 request, 6,242 input tokens.

What the abstract itself states, as probabilities: claims first 0.95 · states limitation 0.92 · human participants 0.02 · controlled comparison 0.02 · randomized assignment 0.01 · states quantitative result 0.85 · compares with prior results 0.30 · mentions code or data availability 0.04.

The abstract, sentence by sentence

arXiv listing abstract v1. Results and the main claim are underlined; .

Formal verification of concurrent operating systems (OSs) is challenging, in particular the verification of the dynamic memory management due to its complex data structures and allocation algorithm. An incorrect specification and implementation of the memory management may lead to system crashes or exploitable attacks. This article presents the first formal specification and mechanized proof of a concurrent memory management for a real-world OS concerning a comprehensive set of properties, including functional correctness, safety and security. To achieve the highest assurance evaluation level, we develop a fine-grained formal specification of the Zephyr RTOS buddy memory management, which closely follows the C code easing validation of the specification and the source code. The rely-guarantee-based compositional verification technique has been enforced over the formal model. To support formal verification of the security property, we extend our rely-guarantee framework PiCore by a compositional reasoning approach for integrity. Whilst the security verification of the design shows that it preserves the integrity property, the verification of the functional properties shows several problems. These verification issues are translated into finding three bugs in the C implementation of Zephyr, after inspecting the source code corresponding to the design lines breaking the properties.

background contribution method result interpretation main claim

What the classifier reports for each sentence. The number is the probability it gave the label.
#sentencerolethe authors' own workstates the main conclusionstrength
s0 Formal verification of concurrent operating systems (OSs) is challenging, in particular the verification of the dynamic memory management due to its complex data structures and allocation algorithm. background 1.00 0.06 0.02 asserted 1.00
s1 An incorrect specification and implementation of the memory management may lead to system crashes or exploitable attacks. background 1.00 0.05 0.02 hedged possibility 0.99
s2 This article presents the first formal specification and mechanized proof of a concurrent memory management for a real-world OS concerning a comprehensive set of properties, including functional correctness, safety and security. contribution 1.00 0.95 0.51 asserted 1.00
s3 To achieve the highest assurance evaluation level, we develop a fine-grained formal specification of the Zephyr RTOS buddy memory management, which closely follows the C code easing validation of the specification and the source code. method 0.76 0.96 0.05 asserted 1.00
s4 The rely-guarantee-based compositional verification technique has been enforced over the formal model. method 0.98 0.84 0.04 asserted 1.00
s5 To support formal verification of the security property, we extend our rely-guarantee framework PiCore by a compositional reasoning approach for integrity. method 0.58 0.93 0.04 asserted 1.00
s6 Whilst the security verification of the design shows that it preserves the integrity property, the verification of the functional properties shows several problems. result 0.99 0.92 0.39 asserted 1.00
s7 These verification issues are translated into finding three bugs in the C implementation of Zephyr, after inspecting the source code corresponding to the design lines breaking the properties. result 0.98 0.95 0.27 asserted 1.00

What kind of paper the classifier reports this is: method or tool 0.81 · evidence from proof or derivation 1.00.

What was examined, and what was not

sources read
  • arXiv listing abstract v1
not examined
  • full text
  • figures and tables
  • references and citing sentences
  • relations to other papers
levels run
  • P abstract
not run
  • S sections
  • T body sentences
  • C citations
  • R cross-paper relations

Every quoted sentence on this record is the authors'. Every label is from Pith's closed vocabulary, with the probability shown beside it. Every number in the measurements table is the authors', checked by code. Record as JSON

The paper
Original abstract

Formal verification of concurrent operating systems (OSs) is challenging, in particular the verification of the dynamic memory management due to its complex data structures and allocation algorithm. An incorrect specification and implementation of the memory management may lead to system crashes or exploitable attacks. This article presents the first formal specification and mechanized proof of a concurrent memory management for a real-world OS concerning a comprehensive set of properties, including functional correctness, safety and security. To achieve the highest assurance evaluation level, we develop a fine-grained formal specification of the Zephyr RTOS buddy memory management, which closely follows the C code easing validation of the specification and the source code. The rely-guarantee-based compositional verification technique has been enforced over the formal model. To support formal verification of the security property, we extend our rely-guarantee framework PiCore by a compositional reasoning approach for integrity. Whilst the security verification of the design shows that it preserves the integrity property, the verification of the functional properties shows several problems. These verification issues are translated into finding three bugs in the C implementation of Zephyr, after inspecting the source code corresponding to the design lines breaking the properties.

Human review

Discussion

Know something about this paper? Leave a comment, or highlight any passage above to comment on it.