# DF-0057 — REPRODUCED (source-only, root-only kldload)

## Build
```sh
sh build.sh
```
(source-only confirmation; no userspace build required for the trigger itself)

## Run
```sh
sh run.sh
```

## Expected
none (root-only) on the unfixed kernel; after applying `fix.diff` the cited defect is closed.
This finding was verified by source-tracing `sys/kern/link_elf.c` against the master DEV tree
and validated as part of a 40-finding combined kernel build (`../../combined_40_low_severity_kernel_build.log`).

## Mechanism
link_elf_load_file at :590 does kmalloc(e_shnum*e_shentsize) but no e_shentsize==sizeof(Elf_Shdr) check; shdr[i] indexed with 64-byte stride. If e_shentsize<64 the allocation is too small → shdr[i] OOB read.
