DF-3583 / manifest.json
{ "finding": "DF-3583", "title": "RIO1 fast-post loop trusts card-controlled 8-bit rqs_seqno against a 15-element array — kernel stack OOB read up to 960 bytes", "verdict": "inconclusive", "impact": "none-observed (kernel stack OOB read on faulty/malicious HBA)", "reproduce": { "build": "mkdir -p dev/disk/isp && cp /usr/src/sys/dev/disk/isp/{isp_stds.h,ispmbox.h,ispreg.h,ispvar.h} dev/disk/isp/ && cc -Wall -I. -o trigger_df3583 trigger_df3583.c", "run": "./trigger_df3583", "expected": "FAULT at the i == 16 iteration — array holds 15 handles, loop bound is card-controlled 8-bit count" }, "kernel_refs": [ "sys/dev/disk/isp/isp.c:5087-5098", "sys/dev/disk/isp/isp.c:1360-1361", "sys/dev/disk/isp/ispmbox.h:866-871" ], "artifacts": [ "trigger_df3583.c", "build.sh", "run.sh", "build.log", "run.log", "VERDICT.md", "verdict.json", "fix.diff", "manifest.json" ] } |