收藏切换
Formal Verification for Safe Startup Process of the RISC-V SBI Firmware
收藏切换
Yeqian Yang, Hongjun Dai*
Journal of Computer Research and Development | 2026, 63(3) : 768 - 781
Less
收藏切换
Journal of Computer Research and Development | 2026, 63(3): 768-781
• Information Security •
Formal Verification for Safe Startup Process of the RISC-V SBI Firmware
Full
Yeqian Yang, Hongjun Dai*
Affiliations
  • School of Software, Shandong University, Jinan 250101
  • Academy of Intelligent Innovation, Shandong University, Jinan 250101
  • born in 1998. PhD candidate. Her main research interests include RISC-V, system software, and formal verification

    born in 1981. Professor. His main research interests include RISC-V, computer architecture, and system software

About Author:

born in 1998. PhD candidate. Her main research interests include RISC-V, system software, and formal verification

born in 1981. Professor. His main research interests include RISC-V, computer architecture, and system software

Published: 2026-03-01 doi: 10.7544/issn1000-1239.202440915
Outline
收藏切换

The RISC-V SBI (supervisor binary interface) specification establishes a standardized interface between RISC-V hardware architectures and operating systems. In comparison to traditional firmware implementations for x86 and ARM platforms, the RISC-V SBI firmware demonstrates superior compliance with architectural standards and offers enhanced reliability. However, the current SBI implementations still exhibit significant security concerns, particularly regarding unverified boot process correctness and vulnerabilities in PMP (physical memory protection) mechanisms for physical address access control. To this end, a closed-loop formal verification framework driven by theorem proving is proposed, developing the first formally verified SBI firmware—SeSBI. By integrating Dafny and Isabelle/HOL, a layered strategy is employed to formally verify specification properties across startup process. And to improve verification efficiency, a RISC-V hardware simulation strategy is introduced, unifying the modeling of firmware-hardware interactions, thereby significantly reducing verification overhead. Finally, the functional correctness of SeSBI in the boot process is successfully verified. The results demonstrate that SeSBI implements the SBI standard boot interface with more concise code and high reliability, providing the first formally verified, trusted SBI firmware implementation for the RISC-V ecosystem. Future work will expand verification coverage to more advanced properties and optimize tooling for greater efficiency.

RISC-V  /  SBI firmware  /  formal verification  /  theorem proving  /  functional correctness
杨叶倩, 戴鸿君. RISC-V SBI固件安全启动过程的形式化验证. 计算机研究与发展, 2026 , 63 (3) : 768 -781 . DOI: 10.7544/issn1000-1239.202440915
Yeqian Yang, Hongjun Dai. Formal Verification for Safe Startup Process of the RISC-V SBI Firmware[J]. Journal of Computer Research and Development, 2026 , 63 (3) : 768 -781 . DOI: 10.7544/issn1000-1239.202440915
Year 2026 volume 63 Issue 3
185
75
Cite this Article
BibTeX
Article Info
doi: 10.7544/issn1000-1239.202440915
  • Receive Date:2024-11-25
  • Online Date:2026-11-06
  • Published:2026-03-01
Article Data
Affiliations
History
  • Received:2024-11-25
  • Revised:2025-09-11
  • Accepted:2025-10-11
Affiliations
    School of Software, Shandong University, Jinan 250101
    Academy of Intelligent Innovation, Shandong University, Jinan 250101
References
Share
https://castjournals.cast.org.cn/joweb/jsjyjyfz/EN/10.7544/issn1000-1239.202440915
Share to
QR

Scan QR to access full text

Cite this article
BibTeX
Citations
表12种不同金属材料的力学参数
科
Family
属数
Number of
genus
种数
Number of
species
占总种数比例
Percentage of
total species (%)
属
Genus
种数
Number of
species
占总种数比例
Percentage of total
species (%)
鹅膏菌科Amanitaceae 2 11 5.26 鹅膏菌属 Amanita 10 4.78
小菇科 Mycenaceae 2 12 5.74 丝盖伞属 Inocybe 5 2.39
多孔菌科 Polyporaceae 8 14 6.70 蜡蘑属 Laccaria 5 2.39
红菇科 Russulaceae 3 23 11.00 小皮伞属 Marasmius 6 2.87
小菇属 Mycena 11 5.26
光柄菇属 Pluteus 5 2.39
红菇属 Russula 17 8.13
栓菌属 Trametes 5 2.39
关闭全屏
  • BibTeX
  • EndNote
  • RefWorks
  • TxT