DF-0607 / build.sh
#!/bin/sh # DF-0607 build script # Builds the PoC that attempts to trigger the uninitialized sa_data read. # NOTE: The PoC cannot reproduce on this guest because: # 1. The cited code (netgraph7/iface/ng_iface.c) is dead code (not compiled). # 2. The loaded module (netgraph/iface/ng_iface.c) already has the fix. # 3. A separate constructor bug prevents creating ng_iface nodes. echo "cc -o df-bpf-panic df-bpf-panic.c" cc -o df-bpf-panic df-bpf-panic.c echo "BUILD_EXIT=$?" |