Page MenuHomeFreeBSD

hyperv/vmbus: avoid crash, panic if vbe fb info is missing
ClosedPublic

Authored by bhughes on Dec 10 2020, 12:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 21, 1:37 PM
Unknown Object (File)
Tue, Oct 21, 1:51 AM
Unknown Object (File)
Tue, Oct 21, 12:50 AM
Unknown Object (File)
Mon, Oct 20, 4:19 PM
Unknown Object (File)
Mon, Oct 20, 2:28 AM
Unknown Object (File)
Fri, Oct 3, 10:04 PM
Unknown Object (File)
Sep 15 2025, 1:45 AM
Unknown Object (File)
Sep 5 2025, 8:19 PM
Subscribers

Details

Summary

Do not assume that VBE framebuffer metadata can be used. Like with the EFI fb metadata, it may be null, so we should take care not to dereference the null vbefb pointer. This avoids a panic when booting -CURRENT on a gen1 VM in Azure.

Diff Detail

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

Event Timeline

bhughes retitled this revision from hyperv/vmbus: avoid crash, panic if vbe fb info is missing Do not assume that VBE framebuffer metadata can be used. Like with the EFI fb metadata, it may be null, so we should take care not to dereference the null vbefb pointer. This avoids a... to hyperv/vmbus: avoid crash, panic if vbe fb info is missing.Dec 10 2020, 12:26 PM
bhughes edited the summary of this revision. (Show Details)

Seems good, sorry about it:)

This revision is now accepted and ready to land.Dec 10 2020, 12:28 PM