ReFuzz: Reusing Tests for Processor Fuzzing with Contextual Bandits

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Chen, Chen, Xu, Zaiyan, Rostami, Mohamadreza, Liu, David, Kalathil, Dileep, Sadeghi, Ahmad-Reza, Rajendran, Jeyavijayan
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911307882561536
author Chen, Chen
Xu, Zaiyan
Rostami, Mohamadreza
Liu, David
Kalathil, Dileep
Sadeghi, Ahmad-Reza
Rajendran, Jeyavijayan
author_facet Chen, Chen
Xu, Zaiyan
Rostami, Mohamadreza
Liu, David
Kalathil, Dileep
Sadeghi, Ahmad-Reza
Rajendran, Jeyavijayan
contents Processor designs rely on iterative modifications and reuse well-established designs. However, this reuse of prior designs also leads to similar vulnerabilities across multiple processors. As processors grow increasingly complex with iterative modifications, efficiently detecting vulnerabilities from modern processors is critical. Inspired by software fuzzing, hardware fuzzing has recently demonstrated its effectiveness in detecting processor vulnerabilities. Yet, to our best knowledge, existing processor fuzzers fuzz each design individually, lacking the capability to understand known vulnerabilities in prior processors to fine-tune fuzzing to identify similar or new variants of vulnerabilities. To address this gap, we present ReFuzz, an adaptive fuzzing framework that leverages contextual bandit to reuse highly effective tests from prior processors to fuzz a processor-under-test (PUT) within a given ISA. By intelligently mutating tests that trigger vulnerabilities in prior processors, ReFuzz effectively detects similar and new variants of vulnerabilities in PUTs. ReFuzz uncovered three new security vulnerabilities and two new functional bugs. ReFuzz detected one vulnerability by reusing a test that triggers a known vulnerability in a prior processor. One functional bug exists across three processors that share design modules. The second bug has two variants. Additionally, ReFuzz reuses highly effective tests to enhance efficiency in coverage, achieving an average 511.23x coverage speedup and up to 9.33% more total coverage, compared to existing fuzzers.
format Preprint
id arxiv_https___arxiv_org_abs_2512_04436
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle ReFuzz: Reusing Tests for Processor Fuzzing with Contextual Bandits
Chen, Chen
Xu, Zaiyan
Rostami, Mohamadreza
Liu, David
Kalathil, Dileep
Sadeghi, Ahmad-Reza
Rajendran, Jeyavijayan
Cryptography and Security
Processor designs rely on iterative modifications and reuse well-established designs. However, this reuse of prior designs also leads to similar vulnerabilities across multiple processors. As processors grow increasingly complex with iterative modifications, efficiently detecting vulnerabilities from modern processors is critical. Inspired by software fuzzing, hardware fuzzing has recently demonstrated its effectiveness in detecting processor vulnerabilities. Yet, to our best knowledge, existing processor fuzzers fuzz each design individually, lacking the capability to understand known vulnerabilities in prior processors to fine-tune fuzzing to identify similar or new variants of vulnerabilities. To address this gap, we present ReFuzz, an adaptive fuzzing framework that leverages contextual bandit to reuse highly effective tests from prior processors to fuzz a processor-under-test (PUT) within a given ISA. By intelligently mutating tests that trigger vulnerabilities in prior processors, ReFuzz effectively detects similar and new variants of vulnerabilities in PUTs. ReFuzz uncovered three new security vulnerabilities and two new functional bugs. ReFuzz detected one vulnerability by reusing a test that triggers a known vulnerability in a prior processor. One functional bug exists across three processors that share design modules. The second bug has two variants. Additionally, ReFuzz reuses highly effective tests to enhance efficiency in coverage, achieving an average 511.23x coverage speedup and up to 9.33% more total coverage, compared to existing fuzzers.
title ReFuzz: Reusing Tests for Processor Fuzzing with Contextual Bandits
topic Cryptography and Security
url https://arxiv.org/abs/2512.04436