DF-2854 / manifest.json
{ "finding_id": "DF-2854", "title": "sysctl_rman (hw.bus.rman) exports partially-initialized stack: r_devname/rm_descr bytes after NUL leak kernel stack incl. kernel pointers to unprivileged readers", "verdict": "reproduced", "impact": "kernleak (info leak of kernel stack memory)", "reproduce": { "build": "in guest as any user: cc -O -Wall -o rman_leak rman_leak.c", "run": "./rman_leak (unprivileged)", "expected": "99 UNINITIALIZED marks; kernel pointer 0xfffff80117ee5800 in r_devname tails; identical across 3 runs; patched kernel: 0 marks" }, "kernel_refs": [ "sys/kern/subr_rman.c:653-654", "sys/kern/subr_rman.c:684", "sys/kern/subr_rman.c:702-722", "sys/kern/subr_rman.c:734", "sys/kern/subr_bus.c:3892", "lib/libdevinfo/devinfo.c:263-345" ], "artifacts": [ "rman_leak.c", "run.sh", "run.log", "leak_sample.txt", "env.txt", "fix.diff", "VERDICT.md", "verdict.json", "manifest.json", "fix_run.log" ] } |