⬢ DragonFlyBSD Kernel Audit
DF-4539 / manifest.json
← back to finding ↓ download raw
{
  "finding_id": "DF-4539",
  "title": "cs4281 attach ignores mixer_init()/pcm_addchan() failures; half-attached device NULL-derefs in cs4281_pci_resume (channel parent NULL and mixer_dev NULL)",
  "verdict": "untested",
  "impact": "none",
  "reproduce": {
    "build": "./build.sh  (guest cc: cc -O -Wall -o /root/cs4281_probe /root/cs4281_probe.c)",
    "run": "./run.sh  (/root/cs4281_probe; pciconf -l | grep -i 1013)",
    "expected": "On CS4281 hardware with a half-failed attach: suspend/resume panics in cs4281_rd (sc==NULL) or mixer_reinit (pdev==NULL). On this guest: unreachable (no vendor-1013 function)"
  },
  "kernel_refs": ["sys/dev/sound/pci/cs4281.c:845","sys/dev/sound/pci/cs4281.c:850","sys/dev/sound/pci/cs4281.c:326","sys/dev/sound/pci/cs4281.c:941","sys/dev/sound/pci/cs4281.c:935","sys/dev/sound/pcm/mixer.c:828"],
  "artifacts": ["README.md","VERDICT.md","cs4281_probe.c","build.sh","run.sh","build.log","run.log","env.txt","wedge_episode.txt","fix.diff","manifest.json","verdict.json"]
}