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 53A523CAA47 for ; Mon, 10 Aug 2026 12:04:34 +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=1786363475; cv=none; b=HHRGqpW9h6sXxDmOrTtwX4W7IxEmzy2gT+d9WGl6BHHUzRXHgKRlSTrdE1gl2DpD/cCcRlUHnQGX6ONOsE7v727RDRfT+qUb7iOjO0+sbhypTfJXrBme56xNam9n9Yl2bc6OLWnjrR1VYLeHql69TTN4CNuT9LOQLo19TZzXuYA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363475; c=relaxed/simple; bh=vVBrVaeT0aodGuC/GDr7PcOoitfnVSa6SAU+L9fl8ZE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aAynCZ3jgZbOjEbP7jTSDr/fL7c8nsveMIEOo9xcYINSvChAaw3o3XqfedQbWOGiKBhQdhvMT09PT7PIoNCw/Qy3htylyOgtHI3ERWircRwdXG43tHctV4pjaXaHLFjJUcTiFu0VEA8pAKgZl3NA3usG2yO+AHjgPBB53MpNynE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CtLR7Bfs; 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="CtLR7Bfs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 862741F000E9; Mon, 10 Aug 2026 12:04:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363473; bh=vJcCtWh1+AFN4XVR/TTjGzO+tN7YtYVjGcxqsjKD2ss=; h=From:To:Cc:Subject:Date:Reply-To; b=CtLR7BfsJOQkYHKthOJLVNyGyTxMQxqNlnQ2XioNd2ZhXQJzNa+67JtmmAtPX5u2+ r6eYFrwVb7ad5+qE6vpfrCUycS2n9STfTnzC7Adc9KdSZ+PHd53gwceXJzPJR4lALQ 5yNvxK+g+Z4vFmji9U1JzPA/QS7ugH404IuQrusU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68177: tracing: Delay module ref count for "enable_event" trigger Date: Mon, 10 Aug 2026 13:58:14 +0200 Message-ID: <2026081007-CVE-2026-68177-f0ae@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=2405; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ueg2W7WlNnaxzF8NqP9l5esZNO/v7FkqBOC9LdapTVY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVeyYfXBox97akztQJmftU/sv+Cp89c+nHI1Juq6svh EddmF9+qyOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAm8rGeYcHE6Y3vs2fX6OS5 xKTb5tauEYn+uYZhwYm6Z1k+M8wvHjumEuaVVNFllTgrCgA= 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: Delay module ref count for "enable_event" trigger Triggers are now delayed from freeing, but can still be triggered until after the RCU grace period has ended. The freeing of the enable_event data is put into the private_data_free() callback, but the put of the module refcount is done immediately. It is possible that if a module is removed that has an event that would enable (or disable) it is still active, it can read the data of the module after it is removed causing a use-after-free bug. Move the trace_event_put_ref() that releases the module into the delayed callback so that the module can not be removed until any reference to its events are finished. The Linux kernel CVE team has assigned CVE-2026-68177 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 61d445af0a7c70018111919e47beaaee15653f2f and fixed in 7.1.6 with commit 159fdc3e01dca5fdbc412fcd8b239895733a270d Issue introduced in 6.19 with commit 61d445af0a7c70018111919e47beaaee15653f2f and fixed in 7.2-rc5 with commit e091351b38818ef620d27f44f4bfd625f13afbff 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-68177 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_events_trigger.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/159fdc3e01dca5fdbc412fcd8b239895733a270d https://git.kernel.org/stable/c/e091351b38818ef620d27f44f4bfd625f13afbff