What’s Vulnerable › Vulnerabilities

CVE-2022-50404: fbdev: fbcon: release buffer when fbcon_do_set_font() failed

Description

In the Linux kernel, the following vulnerability has been resolved: fbdev: fbcon: release buffer when fbcon_do_set_font() failed syzbot is reporting memory leak at fbcon_do_set_font() [1], for commit a5a923038d70 ("fbdev: fbcon: Properly revert changes when vc_resize() failed") missed that the buffer might be newly allocated by fbcon_set_font().

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.86, 6.0, 6.0.16, 6.1.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-50404 or the next vulnerability affects your stack