Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 33C66346FBC for ; Wed, 25 Mar 2026 10:28:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434503; cv=none; b=glEMoZLQhMzvzq/Mq03QnZ4/i0B2n96vHTbnL5WK06lhDDkiTu0CNGN7e9mE7jHqQ6LkBwd2vnC3czr2Su9w+oMZanY0sXOR6Uu0QUDaPncM4f8bzp2USauVhQ+guwoCxliCndlPqSJYNCaC890YQsKh7BKtChnEUFxM8SxY8XE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434503; c=relaxed/simple; bh=Yby8KgxTW9Ot+1qDX+csrg/m+h6RYX473PXjrLKHvOc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bW7ZqFTTwzQYtRQFqRe+zR4gbv57LVFKh18RC8wvCTZgXdsI1wMqDIpDHjc8UWhlnS7tkCQ4QUFGVHsdcBq+EmXvlc5OIBASstYEIayz8JBZ5tl5JlROFpLA968oVBeqoBBGV6QrPaHca9VDmxyjoLz+cJ3AQgt3c/sHsh4VmZY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UvvLeBvD; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="UvvLeBvD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB5D1C4CEF7; Wed, 25 Mar 2026 10:28:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434503; bh=Yby8KgxTW9Ot+1qDX+csrg/m+h6RYX473PXjrLKHvOc=; h=From:To:Cc:Subject:Date:Reply-To:From; b=UvvLeBvDiWZfVdQGgDmwFVZ96GvzAAO/wWkpIzDI1eCo3V6LcWW5Uyk5AnQiaFX0V Ku+zwQLl/DMSFwvm2tFyIOGK6ktBCIOK7e8optC6vrRo2ZY0h6ndNTAMLlXuhEKnnX DyFvRbF9kWlZRZ6nIZ3IvZ8/7BuKQQSYbBjXCY4g= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23309: tracing: Add NULL pointer check to trigger_data_free() Date: Wed, 25 Mar 2026 11:26:53 +0100 Message-ID: <2026032528-CVE-2026-23309-4243@gregkh> X-Mailer: git-send-email 2.53.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=3202; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=gArHOXjUeCxFzxw4LBH+XyRoTXy8NXQuW1pGXosQUz4=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmHd4Q8+7R4Z9es9YsFiqKlBPgmKb19KjVR9O88GdnTf 6qk3R6f6IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJzLJimO8t4FVcd265upGo +qw1Fke1ni7/ncaw4ExiRuKHJwldu1KWmJfptGVdffXpGAA= 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: Add NULL pointer check to trigger_data_free() If trigger_data_alloc() fails and returns NULL, event_hist_trigger_parse() jumps to the out_free error path. While kfree() safely handles a NULL pointer, trigger_data_free() does not. This causes a NULL pointer dereference in trigger_data_free() when evaluating data->cmd_ops->set_filter. Fix the problem by adding a NULL pointer check to trigger_data_free(). The problem was found by an experimental code review agent based on gemini-3.1-pro while reviewing backports into v6.18.y. The Linux kernel CVE team has assigned CVE-2026-23309 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1.165 with commit c10f0efe57728508d796ae4ba7abe4c14ec3d8ef and fixed in 6.1.167 with commit 13dcd9269e225e4c4ceabdaeebe2ce4661b54c6e Issue introduced in 6.6.128 with commit 7e6556e9329bc484e9dcdab6e346d959267c0636 and fixed in 6.6.130 with commit 59c15b9cc453b74beb9f04c6c398717e73612dc3 Issue introduced in 6.12.75 with commit 9b0513905e0598b9f8cfccab8e47497aed5d935d and fixed in 6.12.77 with commit 42b380f97d65e76e7b310facd525f730272daf57 Issue introduced in 6.18.14 with commit 335dfe4bc6368e70e8c15419375cf609c4f85558 and fixed in 6.18.17 with commit 2ce8ece5a78da67834db7728edc801889a64f643 Issue introduced in 6.19.4 with commit e42efbe9754da78eafe11f6bd3ca9c8a094a752a and fixed in 6.19.7 with commit 477469223b2b840f436ce204333de87cb17e5d93 Issue introduced in 7.0-rc1 with commit 0550069cc25f513ce1f109c88f7c1f01d63297db and fixed in 7.0-rc3 with commit 457965c13f0837a289c9164b842d0860133f6274 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-23309 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/13dcd9269e225e4c4ceabdaeebe2ce4661b54c6e https://git.kernel.org/stable/c/59c15b9cc453b74beb9f04c6c398717e73612dc3 https://git.kernel.org/stable/c/42b380f97d65e76e7b310facd525f730272daf57 https://git.kernel.org/stable/c/2ce8ece5a78da67834db7728edc801889a64f643 https://git.kernel.org/stable/c/477469223b2b840f436ce204333de87cb17e5d93 https://git.kernel.org/stable/c/457965c13f0837a289c9164b842d0860133f6274