lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025091852-CVE-2022-50404-5db4@gregkh>
Date: Thu, 18 Sep 2025 18:03:54 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50404: fbdev: fbcon: release buffer when fbcon_do_set_font() failed

From: Greg Kroah-Hartman <gregkh@...nel.org>

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

The Linux kernel CVE team has assigned CVE-2022-50404 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 5.15.64 with commit ebd6f886aa2447fcfcdce5450c9e1028e1d681bb and fixed in 5.15.86 with commit 88ec6d11052da527eb9268831e7a9bc5bbad02f6
	Issue introduced in 6.0 with commit a5a923038d70d2d4a86cb4e3f32625a5ee6e7e24 and fixed in 6.0.16 with commit 06926607b9fddf7ce8017493899ce6eb7e79a123
	Issue introduced in 6.0 with commit a5a923038d70d2d4a86cb4e3f32625a5ee6e7e24 and fixed in 6.1.2 with commit a609bfc1e644a8467cb31945ed1488374ebdc013
	Issue introduced in 6.0 with commit a5a923038d70d2d4a86cb4e3f32625a5ee6e7e24 and fixed in 6.2 with commit 3c3bfb8586f848317ceba5d777e11204ba3e5758
	Issue introduced in 5.19.6 with commit f08ccb792d3eaf1dc62d8cbf6a30d6522329f660

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2022-50404
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/video/fbdev/core/fbcon.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ