Skip to contentSkip to conversation

CVE-2026-43028: netfilter: x_tables: ensure names are nul-terminated

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 1

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

netfilter: x_tables: ensure names are nul-terminated

Reject names that lack a \0 character before feeding them to functions that expect c-strings.

Fixes tag is the most recent commit that needs this change.

The Linux kernel CVE team has assigned CVE-2026-43028 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 4.5 with commit c38c4597e4bf3e99860eac98211748e1ecb0e139 and fixed in 5.10.253 with commit bcac50ea0a29d430eedc5ac87b215393b567baa9
	Issue introduced in 4.5 with commit c38c4597e4bf3e99860eac98211748e1ecb0e139 and fixed in 5.15.203 with commit ea01c1b219f5a11c66918abaa6f052e5a74041d6
	Issue introduced in 4.5 with commit c38c4597e4bf3e99860eac98211748e1ecb0e139 and fixed in 6.1.168 with commit aa6cd4a8863391e0a64f62d8922cb0af732a2cf2
	Issue introduced in 4.5 with commit c38c4597e4bf3e99860eac98211748e1ecb0e139 and fixed in 6.6.134 with commit c2d4a3abb15ca14716c6d8b9ffcbcd7c63626af4
	Issue introduced in 4.5 with commit c38c4597e4bf3e99860eac98211748e1ecb0e139 and fixed in 6.12.81 with commit 673bbd36cba21d10a10f0932f479df7468e26fbb
	Issue introduced in 4.5 with commit c38c4597e4bf3e99860eac98211748e1ecb0e139 and fixed in 6.18.22 with commit f419bdc205894750f4d3ec042bc87a1b9cde1351
	Issue introduced in 4.5 with commit c38c4597e4bf3e99860eac98211748e1ecb0e139 and fixed in 6.19.12 with commit 73124608172890306b85f2206d8b3cac20e324f1
	Issue introduced in 4.5 with commit c38c4597e4bf3e99860eac98211748e1ecb0e139 and fixed in 7.0 with commit a958a4f90ddd7de0800b33ca9d7b886b7d40f74e

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-43028

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/xt_cgroup.c
net/netfilter/xt_rateest.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/bcac50ea0a29d430eedc5ac87b215393b567baa9
	https://git.kernel.org/stable/c/ea01c1b219f5a11c66918abaa6f052e5a74041d6
	https://git.kernel.org/stable/c/aa6cd4a8863391e0a64f62d8922cb0af732a2cf2
	https://git.kernel.org/stable/c/c2d4a3abb15ca14716c6d8b9ffcbcd7c63626af4
	https://git.kernel.org/stable/c/673bbd36cba21d10a10f0932f479df7468e26fbb
	https://git.kernel.org/stable/c/f419bdc205894750f4d3ec042bc87a1b9cde1351
	https://git.kernel.org/stable/c/73124608172890306b85f2206d8b3cac20e324f1
	https://git.kernel.org/stable/c/a958a4f90ddd7de0800b33ca9d7b886b7d40f74e