# DF-2817 — lwkt_token_swap <2-token memory corruption (INVARIANTS panic) (Info-tier hardening verification)

## What
lwkt_token_swap <2-token memory corruption (INVARIANTS panic)

## Build
    cd /root/h41 && make

## Run
    kldload ./h41.ko; sysctl -w debug.h41.cmd=15   (PANICS on stock kernel)

## Expected
baseline (stock kernel): see verdict below
fix kernel (all-41-fixes build): the bad behavior is gone

A/B one-liner: baseline: PANIC (assert) | fix: survives (early bail)

## Files
README.md
VERDICT.md
build.sh
env.txt
fix.diff
h41.c
manifest.json
panic.txt
run.sh
verdict.json

Shared harness: `h41.c` (combined KLD, sysctl debug.h41.cmd=N driven).
Full batch context: the fix kernel contains all 41 hardening fixes of
this batch compiled together (build RC=0) and passed the complete A/B
suite plus a clean reboot.
