Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BD3E63446B6 for ; Wed, 24 Dec 2025 13:09:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766581780; cv=none; b=j6Q/T/6oIrVQ43NSYVkNJ7i3/zbFsfl783Tmt+RuM06MIA8b3cxd2s1fltcJvL39cxcu8kSXaYXGECHIcV79brH1Hkv6+xxX1fSBuFR6DJv4qLv76lmorJhz6RE4ur/V5WwxpQ56PjYgpjnJh5kLME9KhbWgLfDJPQe0kL9PPd0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766581780; c=relaxed/simple; bh=tO03JQhgMZD7DQfFy8LkG+WGARbnbEhqE8Nj7+/gC6o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sSZi1xrFpNF1f1nDRiky2ZKJJJwwNDZiTtJTrOVlbaCgy6YE86bDH3iN5QsbszegQzeptgOasszoyrIXWTDp8+UVwCfE4OzER9CwKTtSxQCHY9rYRgNomVaVD1SUgmsie4fw5GrkTECr/LNt+fgW2Yj3q4kdS9upLm40sOAE92E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oBWKwmsQ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="oBWKwmsQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40177C4CEFB; Wed, 24 Dec 2025 13:09:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766581780; bh=tO03JQhgMZD7DQfFy8LkG+WGARbnbEhqE8Nj7+/gC6o=; h=From:To:Cc:Subject:Date:Reply-To:From; b=oBWKwmsQ8rOV382smsfb06eU8G2iIsXZu2wgqCqFMZwF+vBYolJi3L9OmDg7sPAG9 nK4sEFANiSA+St4Hy5ofqBWYbUc0saAirsGp5LiXybPEHiBWVAs2oBtIkw0vs06VWQ lhh/mvEGP8xFYN0sy2SPM8FT2TLdr51j+qICZmVw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50767: fbdev: smscufx: Fix several use-after-free bugs Date: Wed, 24 Dec 2025 14:06:18 +0100 Message-ID: <2025122457-CVE-2022-50767-9a13@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2720; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1Ryv+lmec2QoeDnRg//gN65Q4BYOdLRjVJUJfybWlY0=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneT03n12bvMlzUKjbpRHqVsuHjXXf/xvjtMpNgsml6E NXR4+TREcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPpO8+w4OaTo0VX1PXZbYz9 morfMi2dWHxtNcOCTQq1KS3LrIN92czqTr5x4FJ8ZisOAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: fbdev: smscufx: Fix several use-after-free bugs Several types of UAFs can occur when physically removing a USB device. Adds ufx_ops_destroy() function to .fb_destroy of fb_ops, and in this function, there is kref_put() that finally calls ufx_free(). This fix prevents multiple UAFs. The Linux kernel CVE team has assigned CVE-2022-50767 to this issue. Affected and fixed versions =========================== Fixed in 4.9.332 with commit 6f2075ea883e5d7730d0c9ebb1bb8e7a1a7e953f Fixed in 4.14.298 with commit 3f40852d671072836fb7ae331a1f28a24223c4e8 Fixed in 4.19.264 with commit 70faf9d9b6cc74418716bbf76fe75bd2da10ad4a Fixed in 5.4.223 with commit 5385af2f89bc352fb70753ab41b2bb036190141f Fixed in 5.10.153 with commit d9ddfeb01fb95ffbbc7031d46a5ee2a5e45cbb86 Fixed in 5.15.77 with commit cc6a7249842fceda7574ceb63275a2d5e99d2862 Fixed in 6.0.7 with commit 8d924b262f3178a9b17c17d4306a9f426c508bd9 Fixed in 6.1 with commit cc67482c9e5f2c80d62f623bcc347c29f9f648e1 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-50767 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/smscufx.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/6f2075ea883e5d7730d0c9ebb1bb8e7a1a7e953f https://git.kernel.org/stable/c/3f40852d671072836fb7ae331a1f28a24223c4e8 https://git.kernel.org/stable/c/70faf9d9b6cc74418716bbf76fe75bd2da10ad4a https://git.kernel.org/stable/c/5385af2f89bc352fb70753ab41b2bb036190141f https://git.kernel.org/stable/c/d9ddfeb01fb95ffbbc7031d46a5ee2a5e45cbb86 https://git.kernel.org/stable/c/cc6a7249842fceda7574ceb63275a2d5e99d2862 https://git.kernel.org/stable/c/8d924b262f3178a9b17c17d4306a9f426c508bd9 https://git.kernel.org/stable/c/cc67482c9e5f2c80d62f623bcc347c29f9f648e1