DF-0773 / manifest.json
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | { "finding_id": "DF-0773", "guest_uname": "DragonFly dfbsd 6.5-DEVELOPMENT DragonFly 6.5-DEVELOPMENT #0: Thu Jul 2 06:02:54 UTC 2026 root@dfbsd:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64", "code_hash": "b9a306d0f9e7f73e4c245b4cc038294a3be6c13dd327ab55b89b5a9764a94a47", "tested_at": "2026-07-22T18:10:00Z", "verdict": "REPRODUCED", "impact": "panic", "confidence": "certain", "reproduce": { "build": "./build.sh", "run": "./run.sh", "expected": "kernel panic; see panic.txt / run.log. On a fixed kernel: exits 0, no panic." }, "kernel_refs": [ "sys/vfs/devfs/devfs_core.c:958", "sys/vfs/devfs/devfs_core.c:971", "sys/vfs/devfs/devfs_core.c:972", "sys/vfs/devfs/devfs_core.c:1373", "sys/vfs/devfs/devfs_core.c:631", "sys/vfs/devfs/devfs_core.c:2197", "sys/vfs/devfs/devfs_vfsops.c:202", "sys/vfs/devfs/devfs_vfsops.c:214", "sys/vfs/devfs/devfs_vfsops.c:216", "sys/vfs/devfs/devfs_vfsops.c:244", "sys/vfs/devfs/devfs_vfsops.c:249", "sys/kern/vfs_syscalls.c:4814", "sys/kern/vfs_syscalls.c:4832", "sys/kern/vfs_syscalls.c:5001", "sys/kern/vfs_syscalls.c:5013" ], "artifacts": [ { "path": "trigger.c", "type": "trigger-source", "desc": "PoC: getfh(/dev/null) + mutate fid_ino + fhstat -> vn_lock(NULL)" }, { "path": "build.sh", "type": "build-script", "desc": "cc -o trigger trigger.c" }, { "path": "run.sh", "type": "run-script", "desc": "./trigger (must be root)" }, { "path": "fix.diff", "type": "suggested-fix", "desc": "NULL guard before vn_lock at devfs_core.c:972" }, { "path": "run.log", "type": "run-log", "desc": "baseline #0 run output + panic signature" }, { "path": "panic.txt", "type": "panic-signature", "desc": "Fatal trap 12 VA=0x0 lockmgr_exclusive+0x5d from boot.log" }, { "path": "boot_baseline.txt", "type": "boot-log", "desc": "boot.log before the panic run" }, { "path": "fix_build.log", "type": "build-log", "desc": "full single-fix kernel nativekernel build (rc=0)" }, { "path": "fix_run.log", "type": "run-log", "desc": "patched #1 kernel run: fhstat returns ENOENT, no panic" }, { "path": "env.txt", "type": "environment", "desc": "uname, cc, sysctl, devfs mount" }, { "path": "VERDICT.md", "type": "verdict", "desc": "full root-cause + fix-validation narrative" }, { "path": "README.md", "type": "readme", "desc": "build/run/expected + how it works" }, { "path": "manifest.json", "type": "manifest", "desc": "this catalog" }, { "path": "build.log", "type": "build-log", "desc": "kernel build log excerpt proving -Werror clean compile of patched source" }, { "path": "fix_apply.log", "type": "apply-log", "desc": "patch --dry-run output proving fix.diff applies cleanly on with-src" }, { "path": "../fix_build_combined.log", "type": "build-log", "desc": "Combined 41-finding kernel build (rc=0, -Werror clean)" }, { "path": "../fix_build_summary.txt", "type": "build-summary", "desc": "Summary of the combined 41-finding kernel build" } ] } |