DF-2860 / verdict.json
{ "finding_id": "DF-2860", "status": "reproduced", "reproduced": 1, "impact": "none", "confidence": "certain", "verdict": "Mechanically confirmed together with DF-2861 via the harness on the stock guest: sglist_consume_uio with a 16-byte unmapped user buffer returned 0 (success) with zero progress and resid unchanged - the loop breaks on the _sglist_append_buf error but the function returns 0 unconditionally (subr_sglist.c:426), so EFBIG/EFAULT are indistinguishable from full success and a retry-until-progress loop would spin. Zero in-tree callers (rg; same dead function family as DF-0097/0098); identical in FreeBSD HEAD. On the fix kernel the same call returns EFAULT (the underlying append error) with nothing appended.", "exploit_chain": "", "evidence": "harness.log T7: ret=0 nseg=1 (page-0 seg) resid=0; fix kernel T7: ret=14 nseg=0 resid=16", "kernel_refs": [ "sys/kern/subr_sglist.c:421", "sys/kern/subr_sglist.c:426" ], "poc_changes": "none", "attempts": 1, "guest_uname": "DragonFly dfbsd 6.5-DEVELOPMENT #0: Thu Jul 2 06:02:54 UTC 2026 root@dfbsd:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64", "runtime_sec": 30, "guest_dirty": 0, "build_cmd": "cd /root/h41 && make", "run_cmd": "kldload ./h41.ko; sysctl -w debug.h41.cmd=7", "code_hash": "85d6e241caa2a7fb1fb44b80c7736a4e83c36d29314b0c96ce91769bc9bdf839", "notes": "Dead code in-tree; upstream parity (FreeBSD HEAD identical)", "recommended_fix": "Return the append error when done==0", "fix_status": "fixed", "fix_baseline_reproduced": 1, "fix_patched_reproduced": 0, "fix_kernel_uname": "DragonFly dfbsd 6.5-DEVELOPMENT #1: Mon Oct 26 01:57:23 UTC 2026 root@dfbsd:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 (h41 fix kernel, all 41 hardening fixes applied)", "fix_verdict": "A/B: baseline ret=0; fix kernel ret=14/EFAULT via the done==0 error propagation." } |