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 E0F783B775A for ; Wed, 6 May 2026 07:41:52 +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=1778053313; cv=none; b=kHqh+aOEAeYxYXw/0faeIatuSjE4fNQ60ZV3uy+OaofIAcW78zB8pHj4S7WfYqW4SHX9vf85bY+slL55u70ZYBpoVO5rUb4eOV/1E1V/Kal0Y9Vaf9/X6KO7yv4FI8Ujno/R8R6stdUpKlYD+VPY//DWVvov/Uf+LgzXYfAl8uA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778053313; c=relaxed/simple; bh=l8vICXs0sZY+Av/p+s8SIdY1bWRvC300j5+Mru2ezSs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=J0jz2ZAm12OPrzbEtWCa95wKOxi/cxJwB9CRWC7JMCGDiR7EEglBQwHP18UJHeD8X16N6rQjZHMOKedOYkd0ZFt3x1drTVbUEnsF5vRVDSpUovan1+YB37ZsI91jQQ183dzV0kWeKr3pG8L94wWkoFxaswUYBll9N11QXkDXt4w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=RpldJK1o; 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="RpldJK1o" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2762DC2BCB8; Wed, 6 May 2026 07:41:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778053312; bh=l8vICXs0sZY+Av/p+s8SIdY1bWRvC300j5+Mru2ezSs=; h=From:To:Cc:Subject:Date:Reply-To:From; b=RpldJK1otuMReRlHCs2Rr9sJCzdeVRpDJqjWcFY2bfQq/w1VncKRQT/IVdii5zCsO U15ZjQWwFyvacVHPljRz0YDire/nKcKuxmtxaLnwFOCXEJjn9m9CXTX0D2ubM0Ndg9 Af3OnOuwpW3epFglXVP6qB4LsFvkTe0nfuMjjAmg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43090: xfrm: fix refcount leak in xfrm_migrate_policy_find Date: Wed, 6 May 2026 09:41:24 +0200 Message-ID: <2026050617-CVE-2026-43090-dec5@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=2819; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=AARWrWc7G3ktjxIvNnlqewLputkB2cYSPBlTWi44p4E=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/PsytMc1w3PRTLF0ySNRVKeHz9gqmuXUS8367rDglI nljQcuejlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIwCOGBTPvPDmbrafyZr/s z5iSd1/maJVXijLMj5v396t/VYfI1S+Xqref8LXTlN3nBQA= 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: xfrm: fix refcount leak in xfrm_migrate_policy_find syzkaller reported a memory leak in xfrm_policy_alloc: BUG: memory leak unreferenced object 0xffff888114d79000 (size 1024): comm "syz.1.17", pid 931 ... xfrm_policy_alloc+0xb3/0x4b0 net/xfrm/xfrm_policy.c:432 The root cause is a double call to xfrm_pol_hold_rcu() in xfrm_migrate_policy_find(). The lookup function already returns a policy with held reference, making the second call redundant. Remove the redundant xfrm_pol_hold_rcu() call to fix the refcount imbalance and prevent the memory leak. Found by Linux Verification Center (linuxtesting.org) with Syzkaller. The Linux kernel CVE team has assigned CVE-2026-43090 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit 563d5ca93e883b9dcb4b7dc8967ac569fd91820d and fixed in 6.12.83 with commit 21e235a36cfb6d145cefb10728f12f5dc5412f54 Issue introduced in 6.12 with commit 563d5ca93e883b9dcb4b7dc8967ac569fd91820d and fixed in 6.18.24 with commit 836ee1b0426ea3db31531e9581cc32f513d24e32 Issue introduced in 6.12 with commit 563d5ca93e883b9dcb4b7dc8967ac569fd91820d and fixed in 6.19.14 with commit 70c2a89a3bc207c3bfbf6f21bb439809e0a4a27a Issue introduced in 6.12 with commit 563d5ca93e883b9dcb4b7dc8967ac569fd91820d and fixed in 7.0 with commit 83317cce60a032c49480dcdabe146435bd689d03 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-43090 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: net/xfrm/xfrm_policy.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/21e235a36cfb6d145cefb10728f12f5dc5412f54 https://git.kernel.org/stable/c/836ee1b0426ea3db31531e9581cc32f513d24e32 https://git.kernel.org/stable/c/70c2a89a3bc207c3bfbf6f21bb439809e0a4a27a https://git.kernel.org/stable/c/83317cce60a032c49480dcdabe146435bd689d03