CVE-2025-21976 Information
Description
In the Linux kernel the following vulnerability has been resolved:
fbdev: hyperv_fb: Allow graceful removal of framebuffer
When a Hyper-V framebuffer device is unbind hyperv_fb driver tries to release the framebuffer forcefully. If this framebuffer is in use it produce the following WARN and hence this framebuffer is never released.
[ 44.111220] WARNING: CPU: 35 PID: 1882 at drivers/video/fbdev/core/fb_info.c:70 framebuffer_release+0x2c/0x40
< snip >
[ 44.111289] Call Trace:
[ 44.111290]
Fix this by moving the release of framebuffer and assosiated memory to fb_ops.fb_destroy function so that framebuffer framework handles it gracefully.
While we fix this also replace manual registrations/unregistration of framebuffer with devm_register_framebuffer.
Reference
https://git.kernel.org/stable/c/4545e2aa121aea304d33903099c03e29ed4fe50a https://git.kernel.org/stable/c/a7b583dc99c6cf4a96877017be1d08247e1ef2c7 https://git.kernel.org/stable/c/ea2f45ab0e53b255f72c85ccd99e2b394fc5fceb
Share on: