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 2EFEB3DAAA0 for ; Fri, 28 Aug 2026 06:53:56 +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=1787900037; cv=none; b=fS4JObkqPqBVznhcyhegsp3AAqSG2IlGXyevyMPSDAQcVs9+KZVy72/udZuJ4nHMitDgYXEeOqvJyoJ5+d26CS8flD+CjUh/T7FMjcPTTarp0KARtvuJWaTXVRLAPUWt3JT8rkq/662Ty7pocK0oIJlwAC7gDVsqpXVBc8ozEkE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787900037; c=relaxed/simple; bh=WTqdxv1OQ/xMghxC5j6KO1/02ZCzEflloA6L57USdd0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mlxlbUW2yDZaVdGyDh0/SX/tynKzG5MKtY5CBiyG5JquFpJGMoGWZoksK9MQd1ktQ9Dux2L0JlpRGFmA9Cs/P+P9jU0DRzdKn/hv0EW9gVpY5YT9igh3QG8vfoShazICZF3ds6U2zaxkeI+5g4Y47V+T4XfE858Y1RNar26NRXY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MnpuF7SX; 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="MnpuF7SX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 891C91F000E9; Fri, 28 Aug 2026 06:53:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787900036; bh=r3RvbM7PiH7IOACjO+2k2vPiXOhfEEvxPvE+XDblvNQ=; h=From:To:Cc:Subject:Date:Reply-To; b=MnpuF7SXlrYbAqr1bDQvCCRslsSv6GNZRI2FgUssnvSXLoqj6SfWp10ABSRB/rMb4 vJnI8mIiUeIw+oVjYONGwYzBv1P8ZptgH3Lp2uyBFBpshYE2fkh7wpZo54z2NOFq9g cY93B3gQdAGgH4oh9pDlfm1XWk3c3Drzy1S08boA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80689: tracing/mmiotrace: Add NULL check for mmio_trace_array in logging functions Date: Fri, 28 Aug 2026 08:53:12 +0200 Message-ID: <2026082803-CVE-2026-80689-f3d3@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=2717; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SPbcJc3YzUoGbSF9xehY0ldslmnepm1LIC5XQ9zWZR4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkTDfwnm6a91g6LjlLJsKvftI5To3dv7v+JxvNNOQpi3 tWenlvaEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABO5fIhhwVRdqyV1OvJcbvwT fSNVyv5MYyt/xbBg7rq6xcF6nHJu3WfFupZNO8I9SWoXAA== 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: tracing/mmiotrace: Add NULL check for mmio_trace_array in logging functions mmio_trace_rw() and mmio_trace_mapping() retrieve mmio_trace_array into tr and pass it to __trace_mmiotrace_rw() and __trace_mmiotrace_map(). If these functions are invoked while mmio_trace_array is NULL (e.g. before initialization or after disabled), accessing tr->array_buffer.buffer will result in a NULL pointer dereference crash. Fix this by adding an explicit NULL check for tr at the beginning of __trace_mmiotrace_rw() and __trace_mmiotrace_map(). The Linux kernel CVE team has assigned CVE-2026-80689 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.27 with commit f984b51e0779a6dd30feedc41404013ca54e5d05 and fixed in 6.12.103 with commit 876014b4eeb927146430e7591cf959a7ceb8d64a Issue introduced in 2.6.27 with commit f984b51e0779a6dd30feedc41404013ca54e5d05 and fixed in 6.18.44 with commit a20a0010eb6485f60cd64e15ebc85a4bd388642e Issue introduced in 2.6.27 with commit f984b51e0779a6dd30feedc41404013ca54e5d05 and fixed in 7.1.8 with commit 60234845142fddb27db89ebc00a65178421fb3a4 Issue introduced in 2.6.27 with commit f984b51e0779a6dd30feedc41404013ca54e5d05 and fixed in 7.2 with commit 12b80cdbc54cf615b4717a4e8180063408091ea2 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-80689 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: kernel/trace/trace_mmiotrace.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/876014b4eeb927146430e7591cf959a7ceb8d64a https://git.kernel.org/stable/c/a20a0010eb6485f60cd64e15ebc85a4bd388642e https://git.kernel.org/stable/c/60234845142fddb27db89ebc00a65178421fb3a4 https://git.kernel.org/stable/c/12b80cdbc54cf615b4717a4e8180063408091ea2