From mboxrd@z Thu Jan 1 00:00:00 1970 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 DA2763CAA51 for ; Mon, 10 Aug 2026 12:04:31 +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=1786363473; cv=none; b=UivRPtCKuOuEj9E56RvBq8VaY9JBplGZsu/s2cChGv9U3trarIUUPGBjwN883chSAzRwQYM50Ko8QKyktRawIA8ZcIDQlwhK4jI3vs87DKDy/f9pZzzwOtJwVXCY5XYTRketHGverRp35S69ccmLjwIdbzJzurRncYzif5bCxwY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363473; c=relaxed/simple; bh=yiZLwBw4qbLiB2UUkaT4J+Al92cbGut55FKgwlUC5+k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=eGUCfBxlGZPns7Jal+b9GQXruaklJf4OhdRcXrbOeJSj9RF3if8Q8OpOa/TiuQ+WT4jXk0MPfLot1gAqZHW/Jk1KPXXAoO2/DrHpWhB/e8qU1hbIxLSjSdJu0FZbhghldDFOhRKbrUjIncwY4R0Ig+13Z9rDGReAjx/vPm3W8eM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BxaNhXGH; 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="BxaNhXGH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 01C551F000E9; Mon, 10 Aug 2026 12:04:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363471; bh=EV9+QC+8Gw4nOKOrVy37vxfJHyMOCDbSV5j78SYgjVo=; h=From:To:Cc:Subject:Date:Reply-To; b=BxaNhXGHP56UsFI0asX4OBmvWav1wKcujEnr+SfZQj0Gdv6MIul1CQdqsqKJG9afn aN9e0gOu3sgOGVrgygmD2fxlh4k2NSfpTX9Veplh3YN2BVPt8py2dk9RpFlPBqF1ID DavauRNjp6MowZElKA1iLbUgEKRKfDlBwjX69MOE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68176: tracing: Fix mmiotrace possible NULL dereferencing of hiter->dev Date: Mon, 10 Aug 2026 13:58:13 +0200 Message-ID: <2026081006-CVE-2026-68176-670c@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=2764; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=P9Jwag2I8nAvwZGInc363qhUiXzNFI7ClDAwcXhcnrc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVeyY13BfdJNBetOvk9WB+ffb8tKww24Yk8Q1eoqt3/ TnYpazZEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPx5mKY72FzSDBQJUMrQXQV 2xo3jvw0b5O3DAvOtPc19145Ee45V3KpD0/VAnmhKYwA 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: Fix mmiotrace possible NULL dereferencing of hiter->dev If the mmio_pipe_open() fails to find a PCI device, the hiter->dev will be assigned to NULL. The mmiotrace read() function dereferences the hiter->dev if hiter exists. Change the test of the read to not only check hiter being NULL, but also the hiter->dev before dereferencing it. The Linux kernel CVE team has assigned CVE-2026-68176 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.27 with commit f984b51e0779a6dd30feedc41404013ca54e5d05 and fixed in 6.6.148 with commit faaf95135184208ee3ac6f33175c8d1800669dfc Issue introduced in 2.6.27 with commit f984b51e0779a6dd30feedc41404013ca54e5d05 and fixed in 6.12.101 with commit 201a01102c529772168181190cb084471082cf5c Issue introduced in 2.6.27 with commit f984b51e0779a6dd30feedc41404013ca54e5d05 and fixed in 6.18.42 with commit 8464427e1c177809a9488a97dfa2807d9dcf323b Issue introduced in 2.6.27 with commit f984b51e0779a6dd30feedc41404013ca54e5d05 and fixed in 7.1.6 with commit 724cd84b0546c07806840fa658714488553d13a2 Issue introduced in 2.6.27 with commit f984b51e0779a6dd30feedc41404013ca54e5d05 and fixed in 7.2-rc5 with commit 144f29e85702234b23d2a62abf723e6a17eb5427 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-68176 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/faaf95135184208ee3ac6f33175c8d1800669dfc https://git.kernel.org/stable/c/201a01102c529772168181190cb084471082cf5c https://git.kernel.org/stable/c/8464427e1c177809a9488a97dfa2807d9dcf323b https://git.kernel.org/stable/c/724cd84b0546c07806840fa658714488553d13a2 https://git.kernel.org/stable/c/144f29e85702234b23d2a62abf723e6a17eb5427