DF-0160
xio_init_kbuf silently truncates when kbytes exceeds XIO_INTERNAL_SIZE
Summary
Load loop bounded i<XIO_INTERNAL_PAGES(:113). If kbytes>XIO_INTERNAL_SIZE, loop exits with xio_error=0 but xio_bytes reflects truncated page count not requested kbytes. Caller trusting original kbytes overruns own buffer.
Discussion (0)
PoC verification
Evidence pack
findings/poc/DF-0160 Β· 1 files| File | Type | Description | Size | |
|---|---|---|---|---|
| manifest.json | file | 384 B | view raw |
Fix verification
not_testablebaseline reproducedβ patch + rebuild βpatched clean
recommended fix identified; fix.diff not authored/validated in this batch
recommended fix identified; fix.diff not authored/validated in this batch
combined build rc=0
Confirmed kernel references
β
Detail
Exploit chain
none (Info severity)
Evidence (decisive lines)
Source-confirmed at sys/kern/kern_xio.c:113: xio_init_kbuf silently truncates when kbytes exceeds XIO_INTERNAL_SIZE
Verified recommended fix
Source-confirmed at sys/kern/kern_xio.c:113: xio_init_kbuf silently truncates when kbytes exceeds XIO_INTERNAL_SIZE
Verdict
Source-confirmed at sys/kern/kern_xio.c:113: xio_init_kbuf silently truncates when kbytes exceeds XIO_INTERNAL_SIZE
No comments yet.