Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-50404

MEDIUM 5.5EPSS 8%

fbdev: fbcon: release buffer when fbcon_do_set_font() failed

Mitigation

  • Upgrade Linux to 5.20 or later.

Who should check

  • Anyone running Linux >= 868749a7456dc48e93887a8474194e2ee6d6c21f, < 5a341810a22e51c3a7a108f7896b5fd58d44d127; >= ebd6f886aa2447fcfcdce5450c9e1028e1d681bb, < 88ec6d11052da527eb9268831e7a9bc5bbad02f6; >= a5a923038d70d2d4a86cb4e3f32625a5ee6e7e24, < 06926607b9fddf7ce8017493899ce6eb7e79a123; >= a5a923038d70d2d4a86cb4e3f32625a5ee6e7e24, < a609bfc1e644a8467cb31945ed1488374ebdc013; >= a5a923038d70d2d4a86cb4e3f32625a5ee6e7e24, < 3c3bfb8586f848317ceba5d777e11204ba3e5758; f08ccb792d3eaf1dc62d8cbf6a30d6522329f660; >= 5.15.64, < 5.15.86; >= 5.19.6, < 5.20
  • Anyone running Linux 6.0

Vulnerability facts

Affected
Linux >= 868749a7456dc48e93887a8474194e2ee6d6c21f, < 5a341810a22e51c3a7a108f7896b5fd58d44d127; >= ebd6f886aa2447fcfcdce5450c9e1028e1d681bb, < 88ec6d11052da527eb9268831e7a9bc5bbad02f6; >= a5a923038d70d2d4a86cb4e3f32625a5ee6e7e24, < 06926607b9fddf7ce8017493899ce6eb7e79a123; >= a5a923038d70d2d4a86cb4e3f32625a5ee6e7e24, < a609bfc1e644a8467cb31945ed1488374ebdc013; >= a5a923038d70d2d4a86cb4e3f32625a5ee6e7e24, < 3c3bfb8586f848317ceba5d777e11204ba3e5758; f08ccb792d3eaf1dc62d8cbf6a30d6522329f660; >= 5.15.64, < 5.15.86; >= 5.19.6, < 5.20; Linux 6.0
Fixed in
Linux 5a341810a22e51c3a7a108f7896b5fd58d44d127, Linux 88ec6d11052da527eb9268831e7a9bc5bbad02f6, Linux 06926607b9fddf7ce8017493899ce6eb7e79a123, Linux 3c3bfb8586f848317ceba5d777e11204ba3e5758, Linux 5.15.86, Linux 5.20
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
CWE
CWE-401
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Linux>= 868749a7456dc48e93887a8474194e2ee6d6c21f, < 5a341810a22e51c3a7a108f7896b5fd58d44d127; >= ebd6f886aa2447fcfcdce5450c9e1028e1d681bb, < 88ec6d11052da527eb9268831e7a9bc5bbad02f6; >= a5a923038d70d2d4a86cb4e3f32625a5ee6e7e24, < 06926607b9fddf7ce8017493899ce6eb7e79a123; >= a5a923038d70d2d4a86cb4e3f32625a5ee6e7e24, < a609bfc1e644a8467cb31945ed1488374ebdc013; >= a5a923038d70d2d4a86cb4e3f32625a5ee6e7e24, < 3c3bfb8586f848317ceba5d777e11204ba3e5758; f08ccb792d3eaf1dc62d8cbf6a30d6522329f660; >= 5.15.64, < 5.15.86; >= 5.19.6, < 5.20—cvelist
Linux6.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-50404. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50404.md
Affected: Linux >= 868749a7456dc48e93887a8474194e2ee6d6c21f, < 5a341810a22e51c3a7a108f7896b5fd58d44d127; >= ebd6f886aa2447fcfcdce5450c9e1028e1d681bb, < 88ec6d11052da527eb9268831e7a9bc5bbad02f6; >= a5a923038d70d2d4a86cb4e3f32625a5ee6e7e24, < 06926607b9fddf7ce8017493899ce6eb7e79a123; >= a5a923038d70d2d4a86cb4e…
Fixed in: Linux 5a341810a22e51c3a7a108f7896b5fd58d44d127, Linux 88ec6d11052da527eb9268831e7a9bc5bbad02f6, Linux 06926607b9fddf7ce8017493899ce6eb7e79a123, Linux 3c3bfb8586f848317ceba5d777e11204ba3e5758, Linux 5.15.86, Linux 5.20

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-50404 being exploited?

There is no confirmed exploitation: CVE-2022-50404 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-50404?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2022-50404?

Linux >= 868749a7456dc48e93887a8474194e2ee6d6c21f, < 5a341810a22e51c3a7a108f7896b5fd58d44d127; >= ebd6f886aa2447fcfcdce5450c9e1028e1d681bb, < 88ec6d11052da527eb9268831e7a9bc5bbad02f6; >= a5a923038d70d2d4a86cb4e3f32625a5ee6e7e24, < 06926607b9fddf7ce8017493899ce6eb7e79a123; >= a5a923038d70d2d4a86cb4e3f32625a5ee6e7e24, < a609bfc1e644a8467cb31945ed1488374ebdc013; >= a5a923038d70d2d4a86cb4e3f32625a5ee6e7e24, < 3c3bfb8586f848317ceba5d777e11204ba3e5758; f08ccb792d3eaf1dc62d8cbf6a30d6522329f660; >= 5.15.64, < 5.15.86; >= 5.19.6, < 5.20; Linux 6.0.

Is there a fix for CVE-2022-50404?

Yes. Fixed in Linux 5a341810a22e51c3a7a108f7896b5fd58d44d127, Linux 88ec6d11052da527eb9268831e7a9bc5bbad02f6, Linux 06926607b9fddf7ce8017493899ce6eb7e79a123, Linux 3c3bfb8586f848317ceba5d777e11204ba3e5758, Linux 5.15.86, Linux 5.20. Upgrade Linux to 5.20 or later.

How do I check if I'm affected by CVE-2022-50404?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors