DF-4460 / manifest.json
{ "finding_id": "DF-4460", "title": "drm_gem_create_mmap_offset_size commits the offset-hash + unr publication before drm_vma_offset_add() is known to succeed — failure leaves on_map=true, a leaked idx/hash slot, and a retry that returns success with no vma offset", "verdict": "inconclusive", "impact": "none", "confidence": "certain", "reproduce": { "build": "cd /usr/src/sys/dev/drm/drm && make obj && make (patched; guest cc 8.3, -Werror, RC=0)", "run": "sh run.sh sys/dev/drm/drm_gem.c (static proof of the committed-before-checked ordering)", "expected": "run.log: on_map=true at 583 precedes the drm_vma_offset_add return at 585-586; retry early-returns 0 at 573-574; only release-time cleanup exists (543)." }, "kernel_refs": [ "sys/dev/drm/drm_gem.c:573", "sys/dev/drm/drm_gem.c:576", "sys/dev/drm/drm_gem.c:583", "sys/dev/drm/drm_gem.c:585", "sys/dev/drm/drm_vma_manager.c:200" ], "artifacts": [ "README.md", "VERDICT.md", "run.sh", "build.sh", "run.log", "build.log", "fix.diff", "manifest.json", "verdict.json", "env.txt" ] } |