CVE-2022-50404

fbdev: fbcon: release buffer when fbcon_do_set_font() failed

MEDIUM
5.5
CVSS Score
Published: September 18, 2025 at 04:03 PM UTC
Updated: June 17, 2026 at 05:23 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 5.19.65.15.64 ≤ v < 5.15.865.19.6 ≤ v < 5.205.19.6 ≤ v < 6.06.0 ≤ v < 6.0.166.0 ≤ v < 6.1.26.0 ≤ v < 6.26.0.1 ≤ v < 6.0.166.1 ≤ v < 6.1.25.15.645.19.66.06.0 rc36.0 rc46.0 rc56.0 rc66.0 rc7868749a7456dc48e93887a8474194e2ee6d6c21fa5a923038d70d2d4a86cb4e3f32625a5ee6e7e24ebd6f886aa2447fcfcdce5450c9e1028e1d681bbf08ccb792d3eaf1dc62d8cbf6a30d6522329f660
Vendor states this is fixed in 06926607b9fddf7ce8017493899ce6eb7e79a123 (fixed)
Vendor states this is fixed in 3c3bfb8586f848317ceba5d777e11204ba3e5758 (fixed)
Vendor states this is fixed in 5a341810a22e51c3a7a108f7896b5fd58d44d127 (fixed)
Vendor states this is fixed in 88ec6d11052da527eb9268831e7a9bc5bbad02f6 (fixed)
Vendor states this is fixed in a609bfc1e644a8467cb31945ed1488374ebdc013 (fixed)
Vendor states this is fixed in 5.15.86 (unaffected)
Affected range stops below 5.20, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.0 (unaffected)
Vendor states this is fixed in 6.0.16 (unaffected)
Vendor states this is fixed in 6.1.2 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card