# DF-1848 Verification

## Verdict
**SOURCE-CONFIRMED, INCONCLUSIVE-RUNTIME (HW/module gated).**

The cited defect exists in the audited source at `sys/dev/virtual/amazon/ena/ena-com/ena_com.c:150-192`. Reproduction
on the running guest is **not possible** because the affected code path is
gated behind hardware that is not present in the audit QEMU/KVM guest
(no AMD/i915 GPU, no LSI MegaRAID, no MMC/SDHCI controller, no FireWire, no
ATAPI floppy, etc.) and/or lives in a kernel module that is not loaded on the
GENERIC-running guest.

## Mechanism (source-only confirmation)
Amazon ENA virtual NIC (not present in guest). Source: ena_com_config_llq_info stores desc_num_before_header_ctrl verbatim at L663. When 0 (spec-valid ENA_ADMIN_LLQ_NUM_DESCS_BEFORE_HEADER_0), pkt_ctrl->descs_left_in_line=0 at L410 and get_sq_desc_llq indexes past the 256-byte bounce buffer.

## Recommended fix
In ena_com_config_llq_info, reject desc_num_before_header_ctrl==0 with -EINVAL (defence-in-depth).

The full `git apply`-able diff lives in `fix.diff` in this folder; it was
applied as part of a single combined 41-finding kernel build that compiled
cleanly (rc=0, -Werror clean) — see `../fix_build_summary.txt`.

## Build validation
* `git apply --check` on this fix.diff: **OK**
* Combined kernel build (`X86_64_GENERIC`, INVARIANTS ON) with all 41
  findings' fix.diffs applied: **rc=0**, no warnings, no errors.
* The patched kernel was not booted/run because the affected code path
  requires hardware that the audit guest does not have.
