Hao Sun
Portrait of Hao Sun

Hao Sun

Ph.D. Candidate in Computer Science

Advanced Software Technologies Lab
Department of Computer Science, ETH Zurich

CNB H 103.2, Universitätstrasse 6, 8092 Zürich, Switzerland
hao.sun@inf.ethz.ch

About

I am a Ph.D. candidate in the Advanced Software Technologies Lab at ETH Zurich, where I am advised by Prof. Zhendong Su. Before coming to ETH, I received an M.Sc. from Tsinghua University, where I was advised by Prof. Yu Jiang. In the summer of 2026 I was a research intern at Microsoft Research in Redmond, Washington.

My research is on making OS kernel components safe and correct by construction. Systems code demands the strongest guarantees of safety and correctness, and coding agents now produce it at ever greater scale; only reasoning that is equally automated, and no less rigorous, can keep pace in establishing those guarantees. I like problems that matter in practice, and I carry the solutions into real, working systems.

News

I am on the academic job market in the 2026–2027 cycle, looking for faculty positions. Happy to talk, so please get in touch.

Research

An operating system kernel is the last place where a defect is acceptable, and the first place where one is hard to find. My work attacks this from three sides: admit only extensions that come with machine-checkable evidence, generate kernel code together with machine-checked proofs, and expose the defects that already exist at system scale.

Safe by construction

Proof-guided in-kernel verifiers that accept an extension only when it is accompanied by evidence the kernel itself can check: precise where today's verifiers are conservative, and sound where they are not.

Correct by construction

Verified code generation: coding agents and formal verification working together, so that real systems code arrives with a machine-checked proof of functional correctness against its specification.

Defect detection at scale

Relation-guided fuzzing, automatically generated interface specifications, and effective oracles that surface deep correctness and security defects in kernels that resist conventional testing.

Publications

Reverse chronological. See also my Google Scholar profile.

First-authored

  1. From Specification to Kernel Commit: Verified Code Generation on Real-World Systems

    Hao Sun, Zenan Li, Cong Li, and Zhendong Su

    ASPLOS 2027

  2. Fast and Precise In-Kernel Extension Analysis via Proof-Guided Abstraction Refinement

    Hao Sun and Zhendong Su

    ACM Transactions on Computer Systems (TOCS) 2026invited paper

  3. Prove It to the Kernel: Precise Extension Analysis via Proof-Guided Abstraction Refinement

    Hao Sun and Zhendong Su

    SOSP 2025Best Paper Award

  4. Approximation Enforced Execution of Untrusted Linux Kernel Extensions

    Hao Sun and Zhendong Su

    USENIX Security 2025

  5. Validating the eBPF Verifier via State Embedding

    Hao Sun and Zhendong Su

    OSDI 2024

  6. Finding Correctness Bugs in eBPF Verifier with Structured and Sanitized Program

    Hao Sun, Yiru Xu, Jianzhong Liu, Yuheng Shen, Nan Guan, and Yu Jiang

    EuroSys 2024

  7. KSG: Augmenting Kernel Fuzzing with System Call Specification Generation

    Hao Sun, Yuheng Shen, Jianzhong Liu, Yiru Xu, and Yu Jiang

    USENIX ATC 2022

  8. HEALER: Relation Learning Guided Kernel Fuzzing

    Hao Sun, Yuheng Shen, Cong Wang, Jianzhong Liu, Yu Jiang, Ting Chen, and Aiguo Cui

    SOSP 2021

Co-authored

  1. Kops: Safely Extending the eBPF Compilation Pipeline with Native Operations

    Yusheng Zheng, Zhengjie Ji, Weichen Tao, Hao Sun, Wei Zhang, Dan Williams, and Andi Quinn

    arXiv 2026

  2. Efficient Input Minimization for Kernel Fuzzing via Relation- and Type-Guided Optimization

    Hui Guo, Hao Sun, Shan Huang, Ting Su, Geguang Pu, and Shaohua Li

    ACM Transactions on Computer Systems (TOCS) 2026invited paper

  3. Quantifying the Code-Size Overhead of eBPF JIT Compilation

    Hoang Duong, Hao Sun, and Zhendong Su

    4th Workshop on eBPF and Kernel Extensions, SOSP 2026

  4. Optimizing Input Minimization in Kernel Fuzzing

    Hui Guo, Hao Sun, Shan Huang, Ting Su, Geguang Pu, and Shaohua Li

    USENIX ATC 2025

  5. Finding Metadata Inconsistencies in Distributed File Systems via Cross-Node Operation Modeling

    Fuchen Ma, Yuanliang Chen, Yuanhang Zhou, Zhen Yan, Hao Sun, and Yu Jiang

    USENIX Security 2025

  6. SnapCC: Effective File System Consistency Testing Using Systematic State Exploration

    Jianzhong Liu, Yuheng Shen, Yiru Xu, Hao Sun, and Yu Jiang

    ACM Transactions on Software Engineering and Methodology (TOSEM) 2025

  7. SATURN: Host-Gadget Synergistic USB Driver Fuzzing

    Yiru Xu, Hao Sun, Jianzhong Liu, Yuheng Shen, and Yu Jiang

    IEEE Symposium on Security and Privacy (S&P) 2024

  8. Enhancing ROS System Fuzzing through Callback Tracing

    Yuheng Shen, Jianzhong Liu, Yiru Xu, Hao Sun, Mingzhe Wang, Nan Guan, Heyuan Shi, and Yu Jiang

    ISSTA 2024

  9. Effectively Sanitizing Embedded Operating Systems

    Jianzhong Liu, Yuheng Shen, Yiru Xu, Hao Sun, Heyuan Shi, and Yu Jiang

    Design Automation Conference (DAC) 2024

  10. Horus: Accelerating Kernel Fuzzing Through Efficient Host-VM Memory Access Procedures

    Jianzhong Liu, Yuheng Shen, Yiru Xu, Hao Sun, and Yu Jiang

    ACM Transactions on Software Engineering and Methodology (TOSEM) 2023

  11. Tardis: Coverage-Guided Embedded Operating System Fuzzing

    Yuheng Shen, Yiru Xu, Hao Sun, Jianzhong Liu, Zichen Xu, Aiguo Cui, Heyuan Shi, and Yu Jiang

    EMSOFT 2022

  12. Rtkaller: State-Aware Task Generation for RTOS Fuzzing

    Yuheng Shen, Hao Sun, Yu Jiang, Heyuan Shi, Yixiao Yang, and Wanli Chang

    EMSOFT 2021

  13. Go-Sanitizer: Bug-Oriented Assertion Generation for Golang

    Cong Wang, Hao Sun, Yiwen Xu, Yu Jiang, Huafeng Zhang, and Ming Gu

    ISSRE 2019

Manuscripts

  1. Stratified Testing: Divide the Input Space, Conquer Rare Paths

    Zijing Yin, Hao Sun, David Basin, and Zhendong Su

    Under submission2026

  2. Synsema: Syntax-Guided Learning of Semantically Valid Programs

    Levin Winter, Cong Li, Hao Sun, and Zhendong Su

    Under submission2026

Software

Talks

Awards

Service

  • 2026Program committee, 4th Workshop on eBPF and Kernel Extensions (SOSP '26)
  • 2026Reviewer, ACM Transactions on Software Engineering and Methodology
  • 2026Reviewer, IEEE/ACM Transactions on Networking
  • 2026Reviewer, Computers & Security