Evaluating Coding Agents on Kernel Exploit Generation

📅 2026-09-21
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
研究通过KEX-bench评估编码代理生成内核漏洞利用原语的能力,揭示了从发现漏洞到构造利用之间的差距。
📝 Abstract
Coding agents now find real vulnerabilities in production software. However, bug discovery results do not measure whether agents can construct exploit primitives. We introduce KEX-bench, a benchmark for evaluating coding agents on exploit primitive generation against real operating-system kernels. KEX-bench contains 45 task instances across 40 Linux and Windows CVEs, covering kernel address leak, instruction-pointer control, heap read, heap write, and arbitrary address write. Each task runs in an isolated virtual machine, exposes controlled tools, and uses a deterministic verifier to check primitive-specific success. We evaluate state-of-the-art coding agents paired with frontier and open-weight models under fixed tool-call budgets. Without a reference proof of concept (PoC), the strongest configuration solves 1 of 20 Windows tasks (5.0%) and 14 of 25 Linux tasks (56.0%). With a reference PoC, the strongest configuration solves 31 of 45 tasks (68.9%). This highlights the gap where agents reach kernel crashes but fail to shape kernel state into exploit primitives. We release KEX-bench for reproducible research on AI-assisted exploitation at https://kex-bench.github.io.
Problem

Research questions and friction points this paper is trying to address.

Coding Agents
Exploit Generation
Kernel Vulnerabilities
Benchmark Evaluation
Innovation

Methods, ideas, or system contributions that make the work stand out.

KEX-bench
exploit primitive generation
coding agents
kernel vulnerabilities
deterministic verifier
🔎 Similar Papers
No similar papers found.
💼 Related Jobs
No related jobs found.
J
Junyoung Jang
Independent Researcher
G
Gwanhyun Lee
University of Illinois Urbana-Champaign
Hwiwon Lee
Hwiwon Lee
University of Illinois Urbana-Champaign
Computer SecurityMachine LearningProgramming Language
K
Kyuheon Kim
Independent Researcher
J
Jongseong Kim
University of Illinois Urbana-Champaign
J
Jinho Jung
Ministry of National Defense, Republic of Korea
L
Lingming Zhang
University of Illinois Urbana-Champaign