CVE-2022-50404Published Sep 18, 2025 · Sep 18Updated 2d ago
fbdev: fbcon: release buffer when fbcon_do_set_font() failed
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
f08ccb792d3eaf1dc62d8cbf6a30d6522329f660| No fix yet |
| Linux Linux |
|
|
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().
From the CVE record · Linux
The Linux kernel's fbcon_do_set_font() can leak a newly allocated buffer when setting a font fails. The input does not specify how an attacker could trigger the leak or whether access or user interaction is required.
Engineers running the Linux kernel should check whether their version is affected; affected versions are not specified.