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
F149101140: D27533.id80515.diff
Sun, Mar 22, 7:21 AM
Unknown Object (File)
Fri, Mar 20, 1:05 AM
Unknown Object (File)
Thu, Mar 19, 1:59 AM
Unknown Object (File)
Thu, Mar 5, 9:49 AM
Unknown Object (File)
Dec 20 2025, 3:16 AM
Unknown Object (File)
Nov 29 2025, 6:57 PM
Unknown Object (File)
Nov 27 2025, 6:07 PM
Unknown Object (File)
Nov 10 2025, 2:28 AM
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 Passed
Unit
No Test Coverage
Build Status
Buildable 35294
Build 32227: arc lint + arc unit

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