Coverage-guided kernel fuzzers such as syzkaller typically use edge coverage as their only feedback signal. That signal is context-blind: two calls to copy_from_user() with different size parameters can execute identical basic blocks while having very different security implications. A new arXiv paper by Yunseong Kim proposes an LLVM-based instrumentation framework that extends Linux KCOV to extract data flow at kernel function boundaries.

Instead of relying on program counters, the compiler pass emits lightweight callbacks that pass each source-level parameter's value in a register along with its index and byte size. Composite types are reported by the address of the object plus a constant table of field offsets and sizes derived from DWARF metadata, requiring no source annotations. The kernel derives the program counter from the return address, which also lets records emitted from inlined bodies be attributed to the callee that was inlined.

A lock-free per-task record buffer carries entry, return, and comparison-operand records in one unified stream to user space, without interfering with existing KCOV or syzkaller infrastructure. The author describes two uses: fuzzers can use the richer feedback to guide mutations into value-dependent state transitions, and security analysts can get deterministic argument records for root-cause analysis without printk or kprobe overhead. LLVM and Linux kernel RFC patches for the framework are publicly available.