From: Thomas Zimmermann <tzimmermann@xxxxxxx>
Seeing the following warning and bug on boot with linux-next-20240829
WARNING: CPU: 0 PID: 8 at drivers/video/fbdev/core/fbmem.c:467 unregister_framebuffer+0x45/0x160
BUG: kernel NULL pointer dereference, address: 0000000000000000
Does it work if you revert one of these commits?
c2fe0480cd77 ("fbdev/efifb: Use devm_register_framebuffer()")
Reverting this commit fixes the issue.
For the latter, there might be a fix at
https://patchwork.freedesktop.org/patch/611902/?series=138008&rev=1