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 C57813DE440 for ; Tue, 6 Oct 2026 10:25:08 +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=1791282309; cv=none; b=ilqxS3AwXrV7jsy/angxphNfQ3HfvhM7GvWX/1YQjGGTj2q4jWpGuJq4zB1YeZQtSZm9SQChjVZgdynlfwJMtTCawNZqXDqb8a+z2q7lNYqZSSAYvUrXDrpIpnKCQgFOngWdnzY7dTIY/mucYURk/sgzQb+yBEHqCmZKSlQS084= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282309; c=relaxed/simple; bh=ayo725MMdd4bXbkGsHIy/HIWAzMhPqo2U5cQ8VccAU4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Zj0cmYfHa5kdbwvoOp5pA4QcV8+Gg1gZgxrdTNydemkmemMqf2XEqhPLc5UHKNoxkhEQ0S/y32W5A5ltjiaFZ0hjOxxar5VFlpmXcx9hN0V5qHWemP1xaNVgnjKW+EEp74wl0tybduM69l+nM0J4qixUZt+1+GyYE4D+D51HHfg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NpdHQoZz; 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="NpdHQoZz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30B2A1F000FF; Tue, 6 Oct 2026 10:25:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282308; bh=H3pbrkmi2bo73tMDnmWBj9eLlHuTPuYSaSM+503NsCQ=; h=From:To:Cc:Subject:Date:Reply-To; b=NpdHQoZzSodZ1uCT16ah4nGVCFQbfMMlkCpYUnkdVBnbSzLm2rQ/kUcEQIyruQ8gd /0My02rFEfl8i2wecPiwv7RMw7zP3zFwe9+nhWr6Qv73nzvov8t5OUP6J/jrMF+tdq 8m+rmW61kleKFILeWBrRjmliZNTVL+gRog6Rl7y8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98268: perf: Fix null pointer access in is_include_guest_event() Date: Tue, 6 Oct 2026 10:46:09 +0200 Message-ID: <2026100601-CVE-2026-98268-cf2c@gregkh> X-Mailer: git-send-email 2.56.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=2700; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=18XS3FHfTaNRwSAZkt54TaOVI07f6lUKqPX7qCUXxYA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtvL6TjT7I/ti25m5dtfLnmz18eh91DWzWuvkooXq/ G3h33o+dsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEZuUxLGh/MOublkaJ/HWZ 73M6rMM1mp0TIhnmaa5w36qUaXfJwiGiOOexRy7jpRp5AA== 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: perf: Fix null pointer access in is_include_guest_event() A typical module unload occurring event when there is an active perf connection leads to freeing of the pmu pointer. The call log is something like: .. __pmu_detach_event pmu_detach_event pmu_detach_events perf_pmu_unregister .. __pmu_detach_event() sets event->pmu to null. When the perf connection finally is closed, the following stack trace is observed: Oops: general protection fault, kernel NULL pointer dereference ... RIP: 0010:_free_event+0x3e/0x370 ... Call Trace: ... perf_event_release_kernel+0x260/0x2d0 perf_release+0x12/0x20 A call to mediated_pmu_unaccount_event() inside _free_event() is the root cause of this crash. Adding a check inside is_include_guest_event() ensures we don't accidentally access a null pmu ptr. In addition to this, we will now call mediated_pmu_unaccount_event() before clearing the pmu ptr so that nr_include_guest_events counts are maintained correctly. The Linux kernel CVE team has assigned CVE-2026-98268 to this issue. Affected and fixed versions =========================== Issue introduced in 7.0 with commit eff95e170275d9e80b968f335cd03d0ac250d2d1 and fixed in 7.2.8 with commit 7fa9a465ae8f07c0e4685db6edb6a6f984dbd784 Issue introduced in 7.0 with commit eff95e170275d9e80b968f335cd03d0ac250d2d1 and fixed in 7.3-rc4 with commit 88aed0422f39b22406f35f1e758cea25e7bbcfb5 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-98268 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/events/core.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/7fa9a465ae8f07c0e4685db6edb6a6f984dbd784 https://git.kernel.org/stable/c/88aed0422f39b22406f35f1e758cea25e7bbcfb5