Page MenuHomeFreeBSD

Bug 212114 - loader: zio_checksum_verify() must test spa for NULL pointer
ClosedPublic

Authored by tsoome on Aug 24 2016, 3:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Feb 24, 7:11 PM
Unknown Object (File)
Sat, Feb 22, 12:59 PM
Unknown Object (File)
Sat, Feb 22, 2:16 AM
Unknown Object (File)
Sat, Feb 22, 2:12 AM
Unknown Object (File)
Sat, Feb 22, 12:32 AM
Unknown Object (File)
Jan 20 2025, 2:30 PM
Unknown Object (File)
Jan 18 2025, 9:42 AM
Unknown Object (File)
Jan 5 2025, 8:35 AM
Subscribers

Details

Summary

During the disks probing to discover the zfs pools, the loader will attempt to read the pool label with NULL (uninitialized) spa. The normal loader operations do hide the issue, but userboot did reveal it by crashing bhyveload.

Test Plan

bhyveload should operate without crash.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tsoome retitled this revision from to Bug 212114 - loader: zio_checksum_verify() must test spa for NULL pointer.
tsoome updated this object.
tsoome edited the test plan for this revision. (Show Details)
tsoome added reviewers: allanjude, imp.
allanjude edited edge metadata.

Approved for commit

This revision is now accepted and ready to land.Aug 24 2016, 3:45 PM

With D7634 and D7635 applied I can boot my root on ZFS bhyves again. Thanks.

This revision was automatically updated to reflect the committed changes.