CVE-2022-49419
kernel: video: fbdev: vesafb: Fix a use-after-free due early fb_info cleanup
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 26, 2025
Updated · June 30, 2026
Description
A use-after-free vulnerability exists in the Linux kernel's VESA framebuffer (vesafb) driver, stemming from improper memory management during device removal. Specifically, the fb_info structure, which holds framebuffer device information, is prematurely freed in the .remove handler instead of the .fb_destroy callback. This misordering can lead to scenarios where the .fb_destroy function is invoked before .remove, resulting in the fb_info pointer being accessed after it has been freed.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE not specified