DF-3014 / verdict.json
{ "finding_id": "DF-3014", "status": "not_reproduced", "reproduced": 0, "impact": "none", "confidence": "speculative", "verdict": "Same 90-second stress rig as DF-3013 (writers + readdirs + reblock/prune). The double-finalize/blockmap accounting corruption path requires a btree EDEADLK precisely inside hammer_ip_sync_record_cursor for a HAMMER_MEM_RECORD_DATA record; not crossed under load. Code-verified race remains (hammer_object.c:1331-1335 blockmap_free on EDEADLK retry; finalize return unchecked at :1256).", "exploit_chain": "", "evidence": "VERDICT.md + run.log + sources", "kernel_refs": [ "sys/vfs/hammer/hammer_object.c:1256", "sys/vfs/hammer/hammer_object.c:1331", "sys/vfs/hammer/hammer_inode.c:1331" ], "poc_changes": "adjusted from finding sketch to guest syscall/layout reality", "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": 100, "guest_dirty": 0, "build_cmd": "guest: cc -O2 -o <bin> <src>.c -pthread", "run_cmd": "see README.md", "code_hash": "1428fe6c1527d1c16da5c0171864281580d27741ac3f1f216f0daea3fda5b938", "notes": "fix_status: not_testable (not reproduced)", "recommended_fix": "diff: skip hammer_blockmap_free when error==EDEADLK (the caller re-runs sync_record_cursor) and check hammer_blockmap_finalize return before the insert.\n" } |