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 8A7261E9906 for ; Mon, 13 Apr 2026 13:33:50 +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=1776087230; cv=none; b=FnjBaMAr9GBKGFcZFmWnjs7kS3Odl2wlpzG7ceAe4rnAfiaCz7uwcj4xGQLOa8BkPIOglH2wfAE61GBTxfFmxD/a/56lFTYF7c/iwOMiD3qT9aPrg8Eor/hEf19i0H4djVi+gWCkNXcv4IAHdTzHhWHqLs9nDO4BIv0JnbdxPVw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776087230; c=relaxed/simple; bh=zaFokmbAyU98WU3teZmJLVl0zHC6JV6ZkMHAS+iwyEI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hnrIWjhy/9uWRZBoEuPfK97uNr+0FEqXe8chqqYkDvKi4QrPlsxc+HplGH5aG7DWJdQMZidLE0YxKOT3HEiemvjyE/sMvJFsj+vx7V6ciWjcW7dGLYOl0nAcxjKf0yOQLppHEC4FRVwuw/m4s0ugmM2eETwd/6RaspIjFiiahjM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LMzGHlqt; 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="LMzGHlqt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C9258C2BCAF; Mon, 13 Apr 2026 13:33:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776087230; bh=zaFokmbAyU98WU3teZmJLVl0zHC6JV6ZkMHAS+iwyEI=; h=From:To:Cc:Subject:Date:Reply-To:From; b=LMzGHlqth+wJj7whKRLVH9FREUR1e/E/43C14V6wkWaL3WdEBRLH77Uuj7Roj/A3J nOQJj4oYc95oJvzV+rJTTyOaH668aorPywdZbHiA5tWseKinReCCGbLu5ukBXaep+5 xr/q3cXFjwI+oI+MlxJJCgIQhDQIGFql6mKzr9pg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31416: netfilter: nfnetlink_log: account for netlink header size Date: Mon, 13 Apr 2026 15:21:11 +0200 Message-ID: <2026041310-CVE-2026-31416-9c4a@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=3254; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fCnP/A8vLPCFYHnK/aQK7j1ZszIokuu0cNKB26J/P24=; b=owGbwMvMwCRo6H6F97bub03G02pJDJl33h7b90LNTHKPzEkLlcoz7L/qY+6+u3Vs6/05d3YYK 620S0yb1RHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQAT2WbHMN/PWknlcK/i2kMT 0mK1P5xPXv4nkpthnt3LXVJvN1afinU5bqPCIfMs+WaMPAA= 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: nfnetlink_log: account for netlink header size This is a followup to an old bug fix: NLMSG_DONE needs to account for the netlink header size, not just the attribute size. This can result in a WARN splat + drop of the netlink message, but other than this there are no ill effects. The Linux kernel CVE team has assigned CVE-2026-31416 to this issue. Affected and fixed versions =========================== Issue introduced in 3.18 with commit 9dfa1dfe4d5e5e66a991321ab08afe69759d797a and fixed in 6.1.168 with commit 761b45c661af48da6a065868d59ab1e1f64fd9b6 Issue introduced in 3.18 with commit 9dfa1dfe4d5e5e66a991321ab08afe69759d797a and fixed in 6.6.134 with commit 607245c4dbb86d9a10dd8388da0fb82170a99b61 Issue introduced in 3.18 with commit 9dfa1dfe4d5e5e66a991321ab08afe69759d797a and fixed in 6.12.81 with commit 6b419700e459fbf707ca1543b7c1b57a60fedb73 Issue introduced in 3.18 with commit 9dfa1dfe4d5e5e66a991321ab08afe69759d797a and fixed in 6.18.22 with commit 88a8f56e6276f616baad4274c6b8e4683e26e520 Issue introduced in 3.18 with commit 9dfa1dfe4d5e5e66a991321ab08afe69759d797a and fixed in 6.19.12 with commit f08ffa3e1c8e36b6131f69c5eb23700c28cbd262 Issue introduced in 3.18 with commit 9dfa1dfe4d5e5e66a991321ab08afe69759d797a and fixed in 7.0 with commit 6d52a4a0520a6696bdde51caa11f2d6821cd0c01 Issue introduced in 3.10.61 with commit 3a758a2b78da2f49f7165678faf999e946a0c4b5 Issue introduced in 3.12.34 with commit 131172845aa2c804ffa9423455aee585061ea35e Issue introduced in 3.14.25 with commit b1fef6b81871a396f3b8702077333e769673c87b Issue introduced in 3.17.4 with commit add9183d993c12fb61ce0a674a424341d5be5b36 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-31416 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/netfilter/nfnetlink_log.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/761b45c661af48da6a065868d59ab1e1f64fd9b6 https://git.kernel.org/stable/c/607245c4dbb86d9a10dd8388da0fb82170a99b61 https://git.kernel.org/stable/c/6b419700e459fbf707ca1543b7c1b57a60fedb73 https://git.kernel.org/stable/c/88a8f56e6276f616baad4274c6b8e4683e26e520 https://git.kernel.org/stable/c/f08ffa3e1c8e36b6131f69c5eb23700c28cbd262 https://git.kernel.org/stable/c/6d52a4a0520a6696bdde51caa11f2d6821cd0c01