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 DEBE23839B9 for ; Sat, 15 Aug 2026 06:36:04 +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=1786775766; cv=none; b=sLqyYHOtcNoW3L51NlhZvITZeYhep84aPK62zTFErkQBerVAo5BeTLnD1GGZVLOJfssL6vJ6qeb6LQxnIKpo7G5b4MD6SLe/WdrHHC1XYLtMWgECNcth1cWtaPeOJWqcZvg7dIf+BW8/zzB5DdxXRVpMwDKWV6MXfAoslaxN/kk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775766; c=relaxed/simple; bh=Lc58jIq+6gOAS9DXqMQkpVBMhphhIet6pdv9D5uqF6c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RZs7IwoPY9Jl1xcsAXmxl5cUiYsjaUCno00tIWI37A4XdkgdoiL3dUzAuIxM4kQe0exEhIfr95I4OoOGIQ8nZWBWTKr+o5bKlkNh4DqhrpesiMOYoRtZNzTSaPPiZId+sf3n0TDrpI4YQ4qwhoCJZES7hEvhFKEdNCjYILoAfFo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rgBp6eWZ; 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="rgBp6eWZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 38F121F000E9; Sat, 15 Aug 2026 06:36:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775764; bh=0t319RD8AG7J2mPtWbylYkZ0BVjh+5V/saO9UIS9SDQ=; h=From:To:Cc:Subject:Date:Reply-To; b=rgBp6eWZ4TqITHtnW06AoFCqhkJZzJ7m1Xxg1gwmTRvzQXMM0RJ6ppI8MeJ5prqPk Q1t3zrcRUddkZ1JMyPrSVAe/Ahql3RuEUZRMcP5gW+Tiot1kZwZln1xz5OdKYMzKJ1 0A1Cmlbxr/k0ewVCM72iPxa1OTbbxNWNaXQCsKfc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74347: netfilter: cttimeout: detach dataplane timeout policy and repurpose refcount Date: Sat, 15 Aug 2026 15:11:14 +0900 Message-ID: <2026081558-CVE-2026-74347-4205@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=3329; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5DBXowpLVV/SNpLtLxXfhsL1s6YcMv+oloqL4BmVHjg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNjEKWKfKpYmcOaB+Pfr5z+21WvY2ivm77X9uJ/bteO sGvder8jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIpvcM87MMr+yUT/Z+WjjD Mutm9Ua+kiPVkxgWTPtZ6eHykmHBW1H3c5tFfa9ExEw8AwA= 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: netfilter: cttimeout: detach dataplane timeout policy and repurpose refcount Add a refcount for struct nf_ct_timeout which is used by ct extension to set the custom ct timeout policy, this tells us that the ct timeout is being used by a conntrack entry. When the last conntrack entry drops the refcount on the ct timeout, the ct timeout is released. Remove the refcount for control plane which controls if the ruleset refers to the timeout policy. After this update, it is possible to remove the ct timeout policy from nfnetlink_cttimeout immediately. This is for simplicity not to handle two refcounts on a single object. Remove nf_queue_nf_hook_drop(): a packet sitting in nfqueue will just hold a reference to the nf_ct_timeout object until packet is reinjected, since this is part of the ct extension, this will be released by the time the conntrack is freed. nf_ct_untimeout() is still called to clean up in a best effort basis: the ct timeout on existing entries gets removed when the ct timeout goes away, but as long as the iptables ruleset still refers to the ct timeout through a template, new conntracks may keep attaching it and extend its lifetime until the rule is removed. nf_ct_untimeout() is not called anymore from module removal path, this is unlikely to find timeouts give module refcount is bumped, and the new refcount already tracks the ct timeout policy use so it is released when unused. The Linux kernel CVE team has assigned CVE-2026-74347 to this issue. Affected and fixed versions =========================== Issue introduced in 3.4 with commit 50978462300f74dc48aea4a38471cb69bdf741a5 and fixed in 7.1.5 with commit 9aeb0dcfeb460d33d61d434148b51103ab1d2013 Issue introduced in 3.4 with commit 50978462300f74dc48aea4a38471cb69bdf741a5 and fixed in 7.2-rc1 with commit 7d6a9cdb8d3a51d9cfe546a09a518ab3d2671549 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-74347 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: include/net/netfilter/nf_conntrack_timeout.h net/netfilter/nf_conntrack_core.c net/netfilter/nf_conntrack_timeout.c net/netfilter/nfnetlink_cttimeout.c net/netfilter/nft_ct.c net/netfilter/xt_CT.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/9aeb0dcfeb460d33d61d434148b51103ab1d2013 https://git.kernel.org/stable/c/7d6a9cdb8d3a51d9cfe546a09a518ab3d2671549