HomeFreeBSD

loader: vdev_read() can corrupt memory

Description

loader: vdev_read() can corrupt memory

When reading less than sector size but from sector boundary,
the vdev_read() will read full sector into the provided buffer
and therefore corrupting memory past buffer end.

MFC after: 2 days

Details

Provenance
tsoomeAuthored on May 9 2020, 6:25 AM
Parents
rG70868d48e8f3: installworld: attempt a certctl rehash at the tail end
Branches
Unknown
Tags
Unknown

Event Timeline