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 25C2E311C15 for ; Sat, 22 Aug 2026 15:34:14 +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=1787412856; cv=none; b=XJ53e2AZXhGnHmT6bl6wzl1B4ZqMfcUxUN804kNMD5sxkJQ1syyYv/qDGlTbUPElK3uXfsOgtQmO40pnMPW10TZhj+jFX69RPj3ZeHeDJcSlt13Od+iTvvNgG8wVczmHb5uDtdwKL5t5YZoruKzvqeD+aH48oUrtHUrnP5Yg7Aw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787412856; c=relaxed/simple; bh=30R1M70Qbbq1jJpjuvC6ruhBq4Wgri3j92KyI3B9EJo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=eLFA/45bljVXT7CDGkl/YMJx1yCpmgru+wMv9fTQCS/BXs1A7XfiJ1yu5JFOAka/r+vflHjEqG135AM+h8qQDkvwH0kvBIgsCSAGfGRCTtEKzIZsuKHHW32M8KKtf8DHDcvpiCtVsDEfAbEVzJM4hKPILWPxYmXJ0hWUiRK9Iy0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mAb5vyBx; 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="mAb5vyBx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 419911F000E9; Sat, 22 Aug 2026 15:34:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787412854; bh=YFKLOU50L0afzIs7iSvl2N2Vs9x/LzAPRLpUao6G3hA=; h=From:To:Cc:Subject:Date:Reply-To; b=mAb5vyBxSstDb2DCEls1wxlVto33wiCo+Pl2cCnPO+C3McF9quxUe+BwaGTbBUszj EwJY8O+o6hVqWA47PVvy1XNRCMW1EDLQrm8a8mykjGX5oG33d4IIJdhLL6y0ULAR3O rOf+NvyF14TleHzMkphfCGyJRJp1Crddilk4jOUk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74606: eventfs: Fix use-after-free in eventfs_remove_rec() Date: Sat, 22 Aug 2026 17:31:30 +0200 Message-ID: <2026082216-CVE-2026-74606-f26d@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=3107; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=LjK1lV4WuwoWaYx5a9ku1+KiEe4L/UJr1u8LeawfhQ8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmdB474vmnlrhS6//+Gm5N58fn/vferT2Zzft16z1+3K Xjp9uKlHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCREgmGBWcFBHf1Pdh7ntmi bkKo3E5J9lVFnAzzY5nPbHW138af8FiwOap2wy3OyR8sAQ== 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: eventfs: Fix use-after-free in eventfs_remove_rec() eventfs_remove_rec() recursively removes the child at the current loop position. After the recursive call returns, list_for_each_entry() advances by reading list.next from the removed child. If free_ei() drops the final reference, release_ei() reuses the list/rcu union to queue an SRCU callback. The child may be freed before that read. The eventfs_mutex serializes list updates, but it does not keep the removed child alive or prevent the SRCU callback from running. Use list_for_each_entry_safe() to save the next sibling before recursively removing the current child. The Linux kernel CVE team has assigned CVE-2026-74606 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.18 with commit 5dfb04100326f70e3b2d2872c2476ed20b804837 and fixed in 6.6.152 with commit b77581b25e213e83b79ce11eb30024e55ceeb3e9 Issue introduced in 6.8 with commit 43aa6f97c2d03a52c1ddb86768575fc84344bdbb and fixed in 6.12.104 with commit f161d7861a0bfdf10af6b738b3b57636204661fb Issue introduced in 6.8 with commit 43aa6f97c2d03a52c1ddb86768575fc84344bdbb and fixed in 6.18.45 with commit 5635211b44969f4816e29ec4d5f8665fb39535d0 Issue introduced in 6.8 with commit 43aa6f97c2d03a52c1ddb86768575fc84344bdbb and fixed in 7.1.9 with commit 74bb1eaf72d185a78c879eb2678ea500f82f46a8 Issue introduced in 6.8 with commit 43aa6f97c2d03a52c1ddb86768575fc84344bdbb and fixed in 7.2 with commit fd73b691702170d37d66f4b0278530cea8ed419a Issue introduced in 6.7.6 with commit 5a43badefe0eccca0c26144c0a44b8d417ce8103 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-74606 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: fs/tracefs/event_inode.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/b77581b25e213e83b79ce11eb30024e55ceeb3e9 https://git.kernel.org/stable/c/f161d7861a0bfdf10af6b738b3b57636204661fb https://git.kernel.org/stable/c/5635211b44969f4816e29ec4d5f8665fb39535d0 https://git.kernel.org/stable/c/74bb1eaf72d185a78c879eb2678ea500f82f46a8 https://git.kernel.org/stable/c/fd73b691702170d37d66f4b0278530cea8ed419a