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 B8B043C277C for ; Wed, 6 May 2026 07:41:39 +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=1778053299; cv=none; b=VsYel5sVH6hEzdGruC71BNesrhAQGk9K3krJqoYYZPzeEf964UxXaVDimiqDq0/5083sAshcr2lNOJjMRwP9+9qzsOylHro2KHVc3TAmGHfBjIWY8/GFBPxQX6WOtpFlDBw/+FVgX6JJr/FoPKjtzGWL8EkTygmowTxIdNLvnkc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778053299; c=relaxed/simple; bh=6h4j1BPpJJUNa1LZhKpCsFxn/JokszTqTN5Y6ZAuj8c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WM1X67vOy78aeovWuBHecY7esc8m417r3x4gqH+DXiPKukNvwtbBrcWvIKATczAQdRQVFWBgwEz42Cb+I1ZousOxlb68l8zJOobiiLZVzALygpq/0yq4HNcVyLGXDXr+a2kOwUuHvGEC8Q+QXAu0oT4RMzoWgWRRh39SdJuk56A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2HmdU+zD; 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="2HmdU+zD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3C402C2BCB8; Wed, 6 May 2026 07:41:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778053299; bh=6h4j1BPpJJUNa1LZhKpCsFxn/JokszTqTN5Y6ZAuj8c=; h=From:To:Cc:Subject:Date:Reply-To:From; b=2HmdU+zDHw7KTt8+GfEKjAl/K4+TDat+Mq1xo/rOi+Tjo7WNlo1jqkaUcPSZ7PdYY EHiv3XaJu9+IeWMRwfKbDNZNrdQN7dVfDFIDjzpb4ujY+Xz2Rblsf4wX7YF2a6l4v3 Pyq64FDAv/OeSjKz3//KuFlab9jwfzFPM6tHzQjQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43085: netfilter: nfnetlink_log: initialize nfgenmsg in NLMSG_DONE terminator Date: Wed, 6 May 2026 09:41:19 +0200 Message-ID: <2026050615-CVE-2026-43085-83b5@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=3088; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=zVuAf+ZOcPAmdmXP6Gxko241xHdG9mPX8cbAtIWde6M=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/PswuXXrQubbkzUex+EJdlQOdVW35JnM+a8Vtylouf F9zgapxRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEw4Jhvge3p6dyWdDvSb6M J98GantdqXNmY1gwe13Ov+KJwbwTr064rdXJ73118dNJAA== 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: initialize nfgenmsg in NLMSG_DONE terminator When batching multiple NFLOG messages (inst->qlen > 1), __nfulnl_send() appends an NLMSG_DONE terminator with sizeof(struct nfgenmsg) payload via nlmsg_put(), but never initializes the nfgenmsg bytes. The nlmsg_put() helper only zeroes alignment padding after the payload, not the payload itself, so four bytes of stale kernel heap data are leaked to userspace in the NLMSG_DONE message body. Use nfnl_msg_put() to build the NLMSG_DONE terminator, which initializes the nfgenmsg payload via nfnl_fill_hdr(), consistent with how __build_packet_message() already constructs NFULNL_MSG_PACKET headers. The Linux kernel CVE team has assigned CVE-2026-43085 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.23 with commit 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 and fixed in 6.6.136 with commit 368c22aea490f6f50df831b4f9e3623787686c5b Issue introduced in 2.6.23 with commit 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 and fixed in 6.12.83 with commit d1399632ba255d2e02c757af5d9f5d9279ce168c Issue introduced in 2.6.23 with commit 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 and fixed in 6.18.24 with commit d552bcfca323d175664d7444989b04f55666978a Issue introduced in 2.6.23 with commit 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 and fixed in 6.19.14 with commit 15d209bccf9273b4a8b4e579ba0e92d065b6ec8c Issue introduced in 2.6.23 with commit 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 and fixed in 7.0 with commit 1f3083aec8836213da441270cdb1ab612dd82cf4 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-43085 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/368c22aea490f6f50df831b4f9e3623787686c5b https://git.kernel.org/stable/c/d1399632ba255d2e02c757af5d9f5d9279ce168c https://git.kernel.org/stable/c/d552bcfca323d175664d7444989b04f55666978a https://git.kernel.org/stable/c/15d209bccf9273b4a8b4e579ba0e92d065b6ec8c https://git.kernel.org/stable/c/1f3083aec8836213da441270cdb1ab612dd82cf4