Published August 9, 2023 | Version v2
Dataset Open

MorFuzz: Fuzzing Processor via Runtime Instruction Morphing enhanced Synchronizable Co-simulation

  • 1. Zhejiang University
  • 2. City University of Hong Kong

Description

This deposit maintains the inputs generated by DifuzzRTL and MorFuzz binaries.

Following is the paper abstract:

Modern processors are too complex to be bug free. Recently, a few hardware fuzzing techniques have shown promising results in verifying processor designs. However, due to the complexity of processors, they suffer from complex input grammar, deceptive mutation guidance, and model implementation differences. Therefore, how to effectively and efficiently verify processors is still an open problem.

This paper proposes MorFuzz, a novel processor fuzzer that can efficiently discover software triggerable hardware bugs. The core idea behind MorFuzz is to use runtime information to generate instruction streams with valid formats and meaningful semantics. MorFuzz designs a new input structure to provide multi-level runtime mutation primitives and proposes the instruction morphing technique to mutate instruction dynamically. Besides, we also extend the co-simulation framework to various microarchitectures and develop the state synchronization technique to eliminate implementation differences. We evaluate MorFuzz on three popular open-source RISC-V processors: CVA6, Rocket, BOOM, and discover 17 new bugs (with 13 CVEs assigned). Our evaluation shows MorFuzz achieves 4.4× and 1.6× more state coverage than the state-of-the-art fuzzer, DifuzzRTL, and the famous constrained instruction generator, riscv-dv.

Files

difuzzrtl_0.zip

Files (12.0 GB)

Name Size Download all
md5:ef8603de3917d25fc926a13d0430538e
2.0 GB Preview Download
md5:e727a4956a3f28b8c67bed0fecffb3e6
2.0 GB Preview Download
md5:35e845c3da4714e34828975c84129ee7
2.6 GB Preview Download
md5:208074d9b109e9c4d38cd1cdd553aed6
2.7 GB Preview Download
md5:c89c787a35545978230e4c9f53863e2f
2.1 GB Preview Download
md5:8f148504d903e9d9df960548decf7a1a
517.0 MB Preview Download