CVE-2026-43026

netfilter: ctnetlink: zero expect NAT fields when CTA_EXPECT_NAT absent

State
Published
Severity
Not scored
Published
May 1, 2026
Updated
Oct 15, 2026
Reserved
May 1, 2026

Read the record on cve.org

Description

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

netfilter: ctnetlink: zero expect NAT fields when CTA_EXPECT_NAT absent

ctnetlink_alloc_expect() allocates expectations from a non-zeroing slab cache via nf_ct_expect_alloc(). When CTA_EXPECT_NAT is not present in the netlink message, saved_addr and saved_proto are never initialized. Stale data from a previous slab occupant can then be dumped to userspace by ctnetlink_exp_dump_expect(), which checks these fields to decide whether to emit CTA_EXPECT_NAT.

The safe sibling nf_ct_expect_init(), used by the packet path, explicitly zeroes these fields.

Zero saved_addr, saved_proto and dir in the else branch, guarded by IS_ENABLED(CONFIG_NF_NAT) since these fields only exist when NAT is enabled.

Confirmed by priming the expect slab with NAT-bearing expectations, freeing them, creating a new expectation without CTA_EXPECT_NAT, and observing that the ctnetlink dump emits a spurious CTA_EXPECT_NAT containing stale data from the prior allocation.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 076a0ca02644657b13e4af363f487ced2942e9cb to before a5a89db6981a1ddf2314bf50cb49db5a3146185fAffected
  • 076a0ca02644657b13e4af363f487ced2942e9cb to before 1c2ebdeff8d088a2e47ae25d7b38447249adace2Affected
  • 076a0ca02644657b13e4af363f487ced2942e9cb to before a64b7bf84b4d5ea54218c5d374ec87fff9000f43Affected
  • 076a0ca02644657b13e4af363f487ced2942e9cb to before 2898080c054ea4d6ddfaaf21bbedbc229a9a8376Affected
  • 076a0ca02644657b13e4af363f487ced2942e9cb to before fd002ff2ea030cbfb0188a11b3c60ce7f84485f4Affected
  • 076a0ca02644657b13e4af363f487ced2942e9cb to before 929f7a9a7aad9404a5867216c3f8738232355b38Affected
  • 076a0ca02644657b13e4af363f487ced2942e9cb to before bff0f4f06f12d6d9bc565a3e1378abd4f6f5ce36Affected
  • 076a0ca02644657b13e4af363f487ced2942e9cb to before 35177c6877134a21315f37d57a5577846225623eAffected
LinuxLinux
  • 3.4Affected
  • before 3.4Not affected
  • 5.10.253 through 5.10.*Not affected
  • 5.15.203 through 5.15.*Not affected
  • 6.1.168 through 6.1.*Not affected
  • 6.6.134 through 6.6.*Not affected
  • 6.12.81 through 6.12.*Not affected
  • 6.18.22 through 6.18.*Not affected
  • 6.19.12 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.