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 08EDF3CD8A8 for ; Wed, 6 May 2026 07:43:09 +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=1778053390; cv=none; b=fa03pRFI6bF83DOevk7DwmR5uFohkCV2EXVS0zSnZ8IDXZXti01OGmMpuvl9FCTuuqk8VfR27IazReCV2MDvaNJJnX+sLL+AUno0UYCm6eFkCG9D/qQ5k704imdHl07Goytnz6ZmZ2T+/aXWNcd209qe6sqHmodLv67Ivk8sRZI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778053390; c=relaxed/simple; bh=GF5T0NNQOd7Yvn0d+0aG0h2eApYnWl/hDUqLdR/Y/9A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PxOPwD/q+C7OLvVNrV9jLRThrycU8iuQNp1DyeGULxAHKN+PMEhFslzyi8QMeuUKwQS8+ucoUTkvz8rPZv96YJu559okyrRaj1exQTbGChakJIt5S+zkVK9xYhxHQuAl2YJghUHE2ibh42zyZrv8bmiHB78P3lwRxyoy8FakffQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EjXvP3V6; 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="EjXvP3V6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 481FDC2BCB8; Wed, 6 May 2026 07:43:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778053389; bh=GF5T0NNQOd7Yvn0d+0aG0h2eApYnWl/hDUqLdR/Y/9A=; h=From:To:Cc:Subject:Date:Reply-To:From; b=EjXvP3V6Q/GdzOGVcNazGKdHvDCxeVzTeq83cP+r25GswzeVip2GLjJBgWy2Lidjw aySBanPZ8Bu4OqzuBh3R/76+b3EMzbW6AvqrkOWMubobWRMghONBoK0bLIKo+ySlyK t8r+0OQ8m6ybDnt6IEkkrOJbLiOkrnDPBl6rp5Vw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43106: cachefiles: fix incorrect dentry refcount in cachefiles_cull() Date: Wed, 6 May 2026 09:41:40 +0200 Message-ID: <2026050623-CVE-2026-43106-df89@gregkh> X-Mailer: git-send-email 2.54.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=2482; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=kLd+ER2117SDkN2AOhc2HFnuQBm4N3+BuEi626Q9Bdo=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/PiwOPcG2JkvCb8VMplWnD6Ws33hg2uEzCtderuF4s uvamQW+Qh2xLAyCTAyyYoosX7bxHN1fcUjRy9D2NMwcViaQIQxcnAIwkUdhDPPD7+exF32LLYi/ NP2T8ywhtkX2LLMYFrTPjpojM/nwfvF5VYzzK/UCLIQ39gAA 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: cachefiles: fix incorrect dentry refcount in cachefiles_cull() The patch mentioned below changed cachefiles_bury_object() to expect 2 references to the 'rep' dentry. Three of the callers were changed to use start_removing_dentry() which takes an extra reference so in those cases the call gets the expected references. However there is another call to cachefiles_bury_object() in cachefiles_cull() which did not need to be changed to use start_removing_dentry() and so was not properly considered. It still passed the dentry with just one reference so the net result is that a reference is lost. To meet the expectations of cachefiles_bury_object(), cachefiles_cull() must take an extra reference before the call. It will be dropped by cachefiles_bury_object(). The Linux kernel CVE team has assigned CVE-2026-43106 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 7bb1eb45e43c4730cbc5a48b9e9295049fccdacb and fixed in 6.19.14 with commit 6577df7dc7a7de128442b6192c7a32195c923480 Issue introduced in 6.19 with commit 7bb1eb45e43c4730cbc5a48b9e9295049fccdacb and fixed in 7.0 with commit 1635c2acdde86c4f555b627aec873c8677c421ed 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-43106 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/cachefiles/namei.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/6577df7dc7a7de128442b6192c7a32195c923480 https://git.kernel.org/stable/c/1635c2acdde86c4f555b627aec873c8677c421ed