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 2ED703CF96B for ; Mon, 10 Aug 2026 12:09:45 +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=1786363787; cv=none; b=gta3GZv7XtNmA16Z+4mRmjbTaHpIO6bcHouCryZfszZcyFkl03jwxCRuxKCWYZOIDLsdIzrq1ELxuLlZ6YYDmHuuK89EymEk4cqpes8RmW9bCYxZgjw2qJQvgHVWgCr2d63TWBCn9k6OP+f4Govg6v/3ik+oRQWQSfjN5nKZjJI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363787; c=relaxed/simple; bh=bPQHpayVEdWXdC+WLx00SqDJNgUP39E9xocjI+YsAso=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=oGqriYAbkwFgkqUIT7tQEwHWUAkWmix5kASafiMEftheA1PGXrJ5uoDz1AWNGz+S7n1OpNv38awkNcw6Mwy0lEVDSEkvdZW8Bxh8QbrvYtQJ9zO1vnu32o5ybGdnsabIv4+YvKXuCfeJkIhj/U8hdsdB3ZpDm7PSwOr6iDUdfFE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=14kTXT3f; 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="14kTXT3f" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 594A91F000E9; Mon, 10 Aug 2026 12:09:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363785; bh=C/VnSxl1rZOwPWPYBLGrHO4N0x78S3UC5sP4qjb2hFs=; h=From:To:Cc:Subject:Date:Reply-To; b=14kTXT3flKICPR9IOB9IzRMvaHjyrX8WcIZ8N9pNAhNoickiEwMx+38sMHrtqJgYe fjLfFZhcC6T8VV3/GVNVMmm8megdOgk/AmIGHS3SZPVx+Euufcoi6HiDGOEYyAJnmW aurB9qBJ7wBlp+AokdKUJ1m1kGJe9boKNTXFsiVg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68303: drm/vc4: hvs/v3d: Fix null dereference in unbind Date: Mon, 10 Aug 2026 14:00:20 +0200 Message-ID: <2026081030-CVE-2026-68303-7d13@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=2215; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=BUBgINOFQdAQMRq2Xcm48gxNmxN5IdbuzjxWzMDub00=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe1Z9M2lRSv7q8Hj1tK875f6Ird7MwL1jdrGjXJjQn 56bKlM/dMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEPpowzM8N+ce6+ZU1y5UL Sml23xUll3LfLWWYZzShYYOZh8urtNeqWXHTHt09vfGCNAA= 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: hvs/v3d: Fix null dereference in unbind The hvs and v3d drivers use dev_get_drvdata(master) in their unbind functions. Since the vc4-drm gets removed before its dependent drivers (vc4_hvs/vc4_v3d) the vc4_hvs_unbind/vc4_v3d_unbind functions try to get drvdata of its master and fails with a null dereference error. Use the data pointer passed to the unbind functions directly instead of dev_get_drvdata(master). This avoids using potentially freed memory. The Linux kernel CVE team has assigned CVE-2026-68303 to this issue. Affected and fixed versions =========================== Issue introduced in 4.4 with commit c8b75bca92cbf064b9fa125fc74a85994452e935 and fixed in 7.1.6 with commit 261f0a3f0ac03248284f5116d3258f89c9642215 Issue introduced in 4.4 with commit c8b75bca92cbf064b9fa125fc74a85994452e935 and fixed in 7.2-rc5 with commit 7dc3680b7ffe01add3e9299fde8471d2dd53a8ae 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-68303 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_hvs.c drivers/gpu/drm/vc4/vc4_v3d.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/261f0a3f0ac03248284f5116d3258f89c9642215 https://git.kernel.org/stable/c/7dc3680b7ffe01add3e9299fde8471d2dd53a8ae