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)
Sep 25 2024, 10:24 AM
Unknown Object (File)
Sep 18 2024, 7:30 PM
Unknown Object (File)
Sep 18 2024, 4:41 PM
Unknown Object (File)
Sep 9 2024, 5:36 AM
Unknown Object (File)
Sep 2 2024, 6:30 AM
Unknown Object (File)
Aug 31 2024, 4:54 PM
Unknown Object (File)
Aug 31 2024, 4:35 PM
Unknown Object (File)
Aug 22 2024, 6:35 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