From mboxrd@z Thu Jan 1 00:00:00 1970 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 5C7963CF670 for ; Wed, 6 May 2026 07:43:30 +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=1778053410; cv=none; b=MDo3blY/GTbMxqDesZo6tlloW10XobhLiEXyT5te6hewuktXH4yd5A7u30/DJck/nO8/35RffAD6CF77QG8kHBibjYXFY7NjQ0PgW83nuYZtyOTj3VfnO5o20TuprCjhXLxXRHJVA6UZexnTSV+OLc24WaiB+85pGGQsAv7E2G4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778053410; c=relaxed/simple; bh=WwsAfbT3GCMwbkFcNutefkM3zsNvFFifCcGDAOkzd2Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NFaJzk60m0CadKMZ9H6ox50sWRdI/sM0E4raurGAgELs2du1lFAyZg5NL4zhXyP5RsFIHMFXBedSkg5DmzquUtPPcLpZn0eCqd+NOvn0MqH7BrbKmFW/10NT2kpZ1dllxq7fGYOzs2DOJX0+o2fb+RAwdYFVGYLVO1oqsedrUKk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=A4h41ZOh; 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="A4h41ZOh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E60CFC2BCB8; Wed, 6 May 2026 07:43:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778053410; bh=WwsAfbT3GCMwbkFcNutefkM3zsNvFFifCcGDAOkzd2Q=; h=From:To:Cc:Subject:Date:Reply-To:From; b=A4h41ZOh0vsFkrs/PVOUryaGPsFaIvUfm8c1uG9VHdthhZbdjXn/RA3GpeAtarp0/ roLVc8n+snFfHgloSgALW/tLgLaQksQp6xDuSrySXwUCry2jYk7Xu1JhsfoWO0Hl1d Amh3C2/81YPWK+LI4q+6A+wivYAiFr9b0Cj6KjCU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43104: drm/vc4: Fix a memory leak in hang state error path Date: Wed, 6 May 2026 09:41:38 +0200 Message-ID: <2026050622-CVE-2026-43104-e797@gregkh> X-Mailer: git-send-email 2.54.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=2691; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HIm093EDhPdg5FwbVATa8ixAQKxZ1lOvLvZXSFXYbgw=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/Piz666fFapI5sa38rVO7X/Cy59KTPvycIJemz/LkZ e7ZeW8qO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiO+sYFsxIibGUmukj0fC7 +4z/kp8rK85yzmOYZ7GlIcvs+6FVJW8v7mc2vqqU/2NSNwA= 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: drm/vc4: Fix a memory leak in hang state error path When vc4_save_hang_state() encounters an early return condition, it returns without freeing the previously allocated `kernel_state`, leaking memory. Add the missing kfree() calls by consolidating the early return paths into a single place. The Linux kernel CVE team has assigned CVE-2026-43104 to this issue. Affected and fixed versions =========================== Issue introduced in 4.5 with commit 214613656b5179f0daab6e0a080814b5100d45f0 and fixed in 6.6.136 with commit dd5c49787a32da96a2b154427eb17cbf12a83c28 Issue introduced in 4.5 with commit 214613656b5179f0daab6e0a080814b5100d45f0 and fixed in 6.12.83 with commit d8fdd6adc07b78ad3e9ee0004876d90cb59ca941 Issue introduced in 4.5 with commit 214613656b5179f0daab6e0a080814b5100d45f0 and fixed in 6.18.24 with commit e352e9adc9f6df54d63150ff832f71c04e30744b Issue introduced in 4.5 with commit 214613656b5179f0daab6e0a080814b5100d45f0 and fixed in 6.19.14 with commit 3eb7dd55021d0f4308fbea0bea21d2118984d8e7 Issue introduced in 4.5 with commit 214613656b5179f0daab6e0a080814b5100d45f0 and fixed in 7.0 with commit 9525d169e5fd481538cf8c663cc5839e54f2e481 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-43104 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/gpu/drm/vc4/vc4_gem.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/dd5c49787a32da96a2b154427eb17cbf12a83c28 https://git.kernel.org/stable/c/d8fdd6adc07b78ad3e9ee0004876d90cb59ca941 https://git.kernel.org/stable/c/e352e9adc9f6df54d63150ff832f71c04e30744b https://git.kernel.org/stable/c/3eb7dd55021d0f4308fbea0bea21d2118984d8e7 https://git.kernel.org/stable/c/9525d169e5fd481538cf8c663cc5839e54f2e481