What’s Vulnerable › Vulnerabilities
CVE-2022-50404: fbdev: fbcon: release buffer when fbcon_do_set_font() failed
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-18 · updated 2026-06-17
- Weakness: CWE-401
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
- Linux kernel: from 5.15.64 before 5.15.86; from 5.19.6 before 6.0; from 6.0.1 before 6.0.16; from 6.1 before 6.1.2; 6.0, 6.0-rc3, 6.0-rc4, 6.0-rc5, 6.0-rc6, 6.0-rc7 — fixed in 5.15.86, 6.0, 6.0.16, 6.1.2
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
- https://git.kernel.org/stable/c/06926607b9fddf7ce8017493899ce6eb7e79a123
- https://git.kernel.org/stable/c/3c3bfb8586f848317ceba5d777e11204ba3e5758
- https://git.kernel.org/stable/c/5a341810a22e51c3a7a108f7896b5fd58d44d127
- https://git.kernel.org/stable/c/88ec6d11052da527eb9268831e7a9bc5bbad02f6
- https://git.kernel.org/stable/c/a609bfc1e644a8467cb31945ed1488374ebdc013
Get alerted when CVE-2022-50404 or the next vulnerability affects your stack