# CVE-2026-53267: netfilter: nft\_ct: bail out on template ct in get eval

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-674, CWE-121
- **Published:** 2026-06-25T08:39:53.852Z
- **Modified:** 2026-10-30T13:19:14.973Z

## Who should check

- Anyone running Linux \>= 45d9bcda21f4c13be75e3571b0f0ef39e77934b5, \< 15bf8091f424f97ed8bfd2385f9fca3203f27be2; \>= 45d9bcda21f4c13be75e3571b0f0ef39e77934b5, \< af80f78ce984649e1698b841cd33f4fa505ad828; \>= 45d9bcda21f4c13be75e3571b0f0ef39e77934b5, \< 8470f676eadeab99132708acb1a85915664d6115; \>= 45d9bcda21f4c13be75e3571b0f0ef39e77934b5, \< f071b0bf078146368d18e4eec386bf2ddc0ab7e0; \>= 45d9bcda21f4c13be75e3571b0f0ef39e77934b5, \< 2e154b5f53f1b0b490c7b8b02499f90feb86b1d5; \>= 45d9bcda21f4c13be75e3571b0f0ef39e77934b5, \< 3027ecbdb5fdf9200251c21d4818e4c447ef78e1
- Anyone running Linux 4.1

## Description

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

netfilter: nft\_ct: bail out on template ct in get eval

I noticed this issue while looking at a historic syzbot report \[1\].

A rule like the one below is enough to trigger the bug:

    table ip t {
        chain pre {
            type filter hook prerouting priority raw;
            ct zone set 1
            ct original saddr 1.2.3.4 accept
        }
    }

The first expression attaches a per-cpu template ct via
nft\_ct\_set\_zone\_eval() (nf\_ct\_tmpl\_alloc -\> kzalloc, tuple is all
zero, nf\_ct\_l3num(ct) == 0). The next expression then calls
nft\_ct\_get\_eval() on the same skb, treats the template as a real ct
and hits the 16-byte memcpy path. With dreg at NFT\_REG32\_15 this
overflows past struct nft\_regs on the kernel stack; with smaller
dreg values it silently clobbers adjacent registers.

Reject template ct at the eval entry and in nft\_ct\_get\_fast\_eval(),
mirroring the check nft\_ct\_set\_eval() already has. Additionally,
bound the address copy in NFT\_CT\_SRC / NFT\_CT\_DST by priv-\>len
instead of by nf\_ct\_l3num(ct): nf\_ct\_get\_tuple() zeroes the tuple
before pkt\_to\_tuple() fills in only the protocol-relevant leading
bytes, so the trailing bytes of tuple-\>{src,dst}.u3.all are
well-defined zero. priv-\>len is validated at rule load, so the
copy size is now bounded by the destination register rather than
by an untrusted field on the conntrack.

\[1\]: https://syzkaller.appspot.com/bug?id=389cf09cb72926114fce90dc85a2c3231dcb647c

## Affected and fixed versions

- Linux: \>= 45d9bcda21f4c13be75e3571b0f0ef39e77934b5, \< 15bf8091f424f97ed8bfd2385f9fca3203f27be2; \>= 45d9bcda21f4c13be75e3571b0f0ef39e77934b5, \< af80f78ce984649e1698b841cd33f4fa505ad828; \>= 45d9bcda21f4c13be75e3571b0f0ef39e77934b5, \< 8470f676eadeab99132708acb1a85915664d6115; \>= 45d9bcda21f4c13be75e3571b0f0ef39e77934b5, \< f071b0bf078146368d18e4eec386bf2ddc0ab7e0; \>= 45d9bcda21f4c13be75e3571b0f0ef39e77934b5, \< 2e154b5f53f1b0b490c7b8b02499f90feb86b1d5; \>= 45d9bcda21f4c13be75e3571b0f0ef39e77934b5, \< 3027ecbdb5fdf9200251c21d4818e4c447ef78e1 (cvelist)
- Linux: 4.1 (cvelist)

## Mitigation

- Upgrade Linux to 3027ecbdb5fdf9200251c21d4818e4c447ef78e1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-53267. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53267.md
Affected: Linux >= 45d9bcda21f4c13be75e3571b0f0ef39e77934b5, < 15bf8091f424f97ed8bfd2385f9fca3203f27be2; >= 45d9bcda21f4c13be75e3571b0f0ef39e77934b5, < af80f78ce984649e1698b841cd33f4fa505ad828; >= 45d9bcda21f4c13be75e3571b0f0ef39e77934b5, < 8470f676eadeab99132708acb1a85915664d6115; >= 45d9bcda21f4c13be75e357…
Fixed in: Linux 15bf8091f424f97ed8bfd2385f9fca3203f27be2, Linux 8470f676eadeab99132708acb1a85915664d6115, Linux 2e154b5f53f1b0b490c7b8b02499f90feb86b1d5, Linux 3027ecbdb5fdf9200251c21d4818e4c447ef78e1

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-53267 being exploited?

There is no confirmed exploitation: CVE-2026-53267 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-53267?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-53267?

Linux \>= 45d9bcda21f4c13be75e3571b0f0ef39e77934b5, \< 15bf8091f424f97ed8bfd2385f9fca3203f27be2; \>= 45d9bcda21f4c13be75e3571b0f0ef39e77934b5, \< af80f78ce984649e1698b841cd33f4fa505ad828; \>= 45d9bcda21f4c13be75e3571b0f0ef39e77934b5, \< 8470f676eadeab99132708acb1a85915664d6115; \>= 45d9bcda21f4c13be75e3571b0f0ef39e77934b5, \< f071b0bf078146368d18e4eec386bf2ddc0ab7e0; \>= 45d9bcda21f4c13be75e3571b0f0ef39e77934b5, \< 2e154b5f53f1b0b490c7b8b02499f90feb86b1d5; \>= 45d9bcda21f4c13be75e3571b0f0ef39e77934b5, \< 3027ecbdb5fdf9200251c21d4818e4c447ef78e1; Linux 4.1.

### Is there a fix for CVE-2026-53267?

Yes. Fixed in Linux 15bf8091f424f97ed8bfd2385f9fca3203f27be2, Linux 8470f676eadeab99132708acb1a85915664d6115, Linux 2e154b5f53f1b0b490c7b8b02499f90feb86b1d5, Linux 3027ecbdb5fdf9200251c21d4818e4c447ef78e1. Upgrade Linux to 3027ecbdb5fdf9200251c21d4818e4c447ef78e1 or later.

### How do I check if I'm affected by CVE-2026-53267?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/af80f78ce984649e1698b841cd33f4fa505ad828>
- patch: <https://git.kernel.org/stable/c/8470f676eadeab99132708acb1a85915664d6115>
- patch: <https://git.kernel.org/stable/c/f071b0bf078146368d18e4eec386bf2ddc0ab7e0>
- patch: <https://git.kernel.org/stable/c/2e154b5f53f1b0b490c7b8b02499f90feb86b1d5>
- patch: <https://git.kernel.org/stable/c/3027ecbdb5fdf9200251c21d4818e4c447ef78e1>
- other: <https://git.kernel.org/stable/c/15bf8091f424f97ed8bfd2385f9fca3203f27be2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-53267>

HTML: <https://flawdb.com/CVE-2026-53267> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-53267>
