Passer à la navigation principale Passer à la recherche Passer au contenu principal

Microarchitectural Analysis of Speculative Execution Patterns in RISC-V using Machine Learning and ISA-Level Masking Wrappers

  • Institut Polytechnique de Paris
  • Meta
  • DALI/LIRMM

Résultats de recherche: Le chapitre dans un livre, un rapport, une anthologie ou une collection › Contribution à une conférence › Revue par des pairs

Résumé

Speculative execution attacks, such as Spectre Variant 1, leak sensitive data through transient microarchitectural effects. This paper presents a machine learning-based framework for analyzing and mitigating speculative execution vulnerability patterns in RISC-V systems. We extract branch, cache, and timing features from gem5 simulations and validate leakage behavior on a SiFive HiFive Premier P550 platform. Supervised models achieve up to 97.1% accuracy in distinguishing benign and speculative-leak execution windows, while unsupervised methods (K-means, HDBSCAN, and Isolation Forest) independently reveal structural and anomaly-based separation. Feature analysis shows that speculative loads and memory latency are the strongest leakage indicators. We further propose lightweight RISC-V assembly wrappers based on index masking and fence instructions. Results demonstrate that these wrappers shift vulnerable execution toward benign microarchitectural behavior. The proposed approach combines simulation, hardware validation, and learning-based analysis for practical speculative vulnerability analysis and mitigation in RISC-V processors.

langue originaleAnglais
titreProceedings - 2026 IEEE 32nd International Symposium on On-Line Testing and Robust System Design, IOLTS 2026
EditeurInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronique)9798331546854
Les DOIs
étatPublié - 1 janv. 2026
Evénement32nd International Symposium on On-Line Testing and Robust System Design, IOLTS 2026 - Polignano a Mare, Italie
Durée: 1 juil. 2026 → 3 juil. 2026

Série de publications

NomProceedings - 2026 IEEE 32nd International Symposium on On-Line Testing and Robust System Design, IOLTS 2026

Une conférence

Une conférence32nd International Symposium on On-Line Testing and Robust System Design, IOLTS 2026
Pays/TerritoireItalie
La villePolignano a Mare
période1/07/26 → 3/07/26

Empreinte digitale

Examiner les sujets de recherche de « Microarchitectural Analysis of Speculative Execution Patterns in RISC-V using Machine Learning and ISA-Level Masking Wrappers ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation