Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 C46583672A8 for ; Sat, 15 Aug 2026 06:19:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774768; cv=none; b=hnWwG5PXQoq7XtaJdiTZW+b+7VM3GTtJyLBDfDbTL4ttY3pNtGPJqmBya/Zogpt5V6v7LNpXNMRsHrljJAKvBqljxiQP1wE0yf9wKrrMx2KacH2pZfuoYbhLrwC1XouLWrUa3ZHCgT6+LbhHpzZKj9K2A32+8EuhZRpGBD3UtyI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774768; c=relaxed/simple; bh=X+cMZE69d8SHbcu8+/S+Husebtrge9zF7AaZVpJVGMg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=d6g377kofP6MPo+lg1ZzZMT3nK7ktOZKVUqeowbwudnbk3PSm+BL6CYP2irJYzHEJBKrxE4Nv5imJ2i76uVJYEVN+fzcYR4xG7VKM3apdEQHKRMr7ClsrrK58UWI4xPXvkJyMpT10N+Vum/hW32kBADntjWldAZEcpSCE7e81vo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=s8o250t+; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="s8o250t+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 27EED1F000E9; Sat, 15 Aug 2026 06:19:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774767; bh=0/zM4KLtcJ5cZneBooQf+6repcgOoU4q719xezl+2xM=; h=From:To:Cc:Subject:Date:Reply-To; b=s8o250t+JXbbzZVr+en/Isfi5VIf7nX8W2R7dgK94Pb6TfEFuKU4pIE5JbN0U2cEE 06oIWTujttzwwbiNVSKwuiSIil3iDQ+0ZoTxXYKaNauAzzOAt4haDqKydfxNm36H5p uLlE0dMI2eVwiVDWSHlWCrIJOg9ZIjlERcCEO7co= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72266: fbdev: vesafb: fix memory leak in vesafb_probe() Date: Sat, 15 Aug 2026 15:05:45 +0900 Message-ID: <2026081556-CVE-2026-72266-a3cf@gregkh> X-Mailer: git-send-email 2.55.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=2722; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=F0hcC+8WRqLk4fDqCF5JEQNkN9chGYqMpANRN5pojmU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDFfmXG5cv1zk7u53N6fozVe0c7p0/mraRfZ/bF5Xu +V7cusDO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiqtoMC872bJQzY37i9F3X du6Xczn9SqenHGRYsEwk6o/k7lN/duyf0KWu7xFX//NILwA= 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: vesafb: fix memory leak in vesafb_probe() Since commit 73ce73c30ba9 ("fbdev: Transfer video= option strings to caller; clarify ownership") the string returned from fb_get_options() is expected to be freed by the caller. But the string is not freed in vesafb_probe(). Fix that by freeing the option string after setup. The Linux kernel CVE team has assigned CVE-2026-72266 to this issue. Affected and fixed versions =========================== Issue introduced in 6.4 with commit 73ce73c30ba9ae4d90fdfad7ebe9104001d5d851 and fixed in 6.6.145 with commit 124df55c7201d011a3fead2205685b6c47eae093 Issue introduced in 6.4 with commit 73ce73c30ba9ae4d90fdfad7ebe9104001d5d851 and fixed in 6.12.97 with commit 43af398217ca8940bf30643fd1150b4c655b8a88 Issue introduced in 6.4 with commit 73ce73c30ba9ae4d90fdfad7ebe9104001d5d851 and fixed in 6.18.40 with commit 58bc18e03481b62f0ec53fe47f36615d52660a7d Issue introduced in 6.4 with commit 73ce73c30ba9ae4d90fdfad7ebe9104001d5d851 and fixed in 7.1.5 with commit 7b96ce9f8e47538c3c6eebbb217c94d696975cac Issue introduced in 6.4 with commit 73ce73c30ba9ae4d90fdfad7ebe9104001d5d851 and fixed in 7.2-rc1 with commit b15d708995c01bbffe7dcd634a31959f6805bed3 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-2026-72266 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/vesafb.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/124df55c7201d011a3fead2205685b6c47eae093 https://git.kernel.org/stable/c/43af398217ca8940bf30643fd1150b4c655b8a88 https://git.kernel.org/stable/c/58bc18e03481b62f0ec53fe47f36615d52660a7d https://git.kernel.org/stable/c/7b96ce9f8e47538c3c6eebbb217c94d696975cac https://git.kernel.org/stable/c/b15d708995c01bbffe7dcd634a31959f6805bed3