Skip to main content
Kent Academic Repository

Chronos vs. chaos: Timing weak memory executions in the Linux Kernel

Dawson, Samuel, Batty, Mark (2022) Chronos vs. chaos: Timing weak memory executions in the Linux Kernel. In: IWSPA '22: Proceedings of the 2022 ACM on International Workshop on Security and Privacy Analytics. ISBN 978-1-4503-9230-3. (doi:10.1145/3510548.3519371) (The full text of this publication is not currently available from this repository. You may be able to access a copy if URLs are provided) (KAR id:115392)

The full text of this publication is not currently available from this repository. You may be able to access a copy if URLs are provided.
Contact us about this publication
Official URL:
https://doi.org/10.1145/3510548.3519371

Abstract

Timing is one of the key metrics by which side-channel attacks distinguish between classes of executions. For example, a speculative execution may be specified in the architecture as having no visible side-effects, but the cache may still be accessed for some concrete micro-architecture implementation. Cache side-channel attacks interpret this signal by measuring the time a memory access will take to complete under some set of cache preconditions, in turn revealing some machine state that is expected to remain opaque. Some of the speculative structures in the micro-architecture (such as the Store Buffer) responsible for these behaviours also expose visible out-of-order, or "weak memory" execution under the correct conditions. This work investigates the environmental conditions under which visible weak memory executions occur and whether there is a micro architectural "signal" associated with those executions that can be exposed. It is our hypothesis that these characteristics can be used to identify micro-architectural speculation that may lead to weak-memory behaviour, and that the mechanisms at play in these executions, if subsequently rolled back, may induce cache side effects necessary for building transient execution attacks. kerntime is a kernel-mode utility that provides cycle-level granularity for execution time of weak memory litmus tests. We use kerntime to analyse the timing profile of Store Buffering behaviour present on x86 and develop characteristics based on observations from the dataset generated by kerntime, including a thread local indicator of Store Buffering behaviour.

Item Type: Conference proceeding
DOI/Identification number: 10.1145/3510548.3519371
Subjects: Q Science > QA Mathematics (inc Computing science)
Institutional Unit: Schools > School of Computing
Former Institutional Unit:
There are no former institutional units.
Depositing User: Mark Batty
Date Deposited: 21 May 2026 13:56 UTC
Last Modified: 01 Sep 2026 07:57 UTC
Resource URI: https://kar.kent.ac.uk/id/eprint/115392 (The current URI for this page, for reference purposes)

University of Kent Author Information

Dawson, Samuel.

Creator's ORCID:
CReDIT Contributor Roles:

Batty, Mark.

Creator's ORCID: https://orcid.org/0000-0001-7053-4364
CReDIT Contributor Roles:
  • Depositors only (login required):

Total unique views of this page since July 2020. For more details click on the image.