DF-3041 / verdict.json
{ "finding_id": "DF-3041", "status": "not_reproduced", "reproduced": 0, "impact": "none", "confidence": "likely", "verdict": "Not reproduced (race window is the few instructions between brelse at hammer_ondisk.c:251 and the two vol0_stat_bigblocks loads at :254/:257; forcing buffer recycling exactly there requires concurrent raw-device I/O on the same devvp during a mount, and even then only statfs accounting bytes change). Line-verified: bp released and NULLed at :251-252, then ondisk->vol0_stat_bigblocks read twice through the stale pointer captured at :183, added (x512) into f_blocks. Fix is a two-line move.", "exploit_chain": "", "evidence": "VERDICT.md + run.log + sources", "kernel_refs": [ "sys/vfs/hammer/hammer_ondisk.c:251", "sys/vfs/hammer/hammer_ondisk.c:254", "sys/vfs/hammer/hammer_ondisk.c:257" ], "poc_changes": "none", "attempts": 0, "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": 0, "guest_dirty": 0, "build_cmd": "", "run_cmd": "see README.md", "code_hash": null, "notes": "fix_status: not_testable (not reproduced)", "recommended_fix": "diff --git a/sys/vfs/hammer/hammer_ondisk.c: move the two f_blocks updates above the brelse at :251.\n" } |