netfilter: xt_cluster: reject template conntracks in hash match
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 0269ea4937343536ec7e85649932bc8c9686ea78 · < 07f9ddbf5e799c24a3a52ec9bd7b729a6f6d69d5| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
netfilter: xt_cluster: reject template conntracks in hash match
xt_cluster_mt() treats any non-NULL nf_ct_get() result as a fully initialized conntrack and passes it to xt_cluster_hash().
This causes a state confusion bug when the raw table CT target attaches a template conntrack to skb->_nfct before normal conntrack processing. Templates carry IPS_TEMPLATE status but do not have a valid tuple for hashing yet, so xt_cluster_hash() can hit its WARN_ON() path on the zeroed l3num field.
Reject template conntracks before hashing them. This matches existing netfilter handling for template objects and avoids hashing incomplete conntrack state.
From the CVE record · Linux
The xt_cluster hash match can treat a template conntrack as fully initialized and try to hash it. When the raw table CT target attaches a template before normal conntrack processing, this can trigger a kernel warning. The input does not specify attacker access or user-interaction requirements.
Engineers running the Linux kernel with the netfilter xt_cluster hash match should check their systems; affected versions are not specified.