CVE-2026-143263

Not scored yetLast modified Dec 3, 2026

Description

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

netfilter: nat: zero newrange before filling it in

nf_nat_masquerade_ipv4(), nf_nat_masquerade_ipv6(), netmap_tg4() and netmap_tg6() each build a stack-local struct nf_nat_range2 from the caller-supplied range, inheriting range->flags unmodified. Two of them only memset() the min_addr/max_addr members, the other two don't memset() anything at all, so newrange.base_proto is left as stack garbage.

If the inherited flags include NF_NAT_RANGE_PROTO_OFFSET, nf_nat_l4proto_unique_tuple() reads range->base_proto.all to compute the NAT port offset. Neither the NETMAP nor the MASQUERADE targets mask the flags field in their checkentry callback, so this uninitialized stack value can end up feeding the NAT port selection.

The per-member memset()s are not enough: they have to enumerate every field that must be cleared, and base_proto was missed when NF_NAT_RANGE_PROTO_OFFSET/base_proto was added to the struct. memset() the whole struct instead, so every member is covered regardless of which ones get explicitly assigned afterwards.

There are other places that miss this, but those hardcode .flags so nat core won't read from the uninitialized fields.

C99 initializers would be preferrable, but this is a more intrusive change. Lets followup in nf-next and convert others as well.

This is an LLM finding.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143264In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: fix memleak when rule deletion fails with hardwarCVE-2026-143265In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack_sip: fix OOB read in ct_sip_parse_transport() CVE-2026-143266In the Linux kernel, the following vulnerability has been resolved: netfilter: x_tables: check target name before accessing verdict Non-stCVE-2026-143267In the Linux kernel, the following vulnerability has been resolved: netfilter: bridge: use DEBUG_NET_WARN_ON_ONCE in nf_ct_bridge_refrag() CVE-2026-143268In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_set_rbtree: check catchall_sync return before queue_doneCVE-2026-143269In the Linux kernel, the following vulnerability has been resolved: tcp: initialize send sequence numbers before deferring TFO TCP_FASTOPECVE-2026-143277.5The AR for WordPress plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 8.40 via the 'file' parCVE-2026-143270In the Linux kernel, the following vulnerability has been resolved: net: bridge: disable MRP ports before the FDB flush in del_nbp() del_nCVE-2026-143271In the Linux kernel, the following vulnerability has been resolved: bonding: fix missing down path on speed/duplex failure after FAIL->UP CVE-2026-143272In the Linux kernel, the following vulnerability has been resolved: ip6mr: Serialize multicast router socket ownership MRT6_TABLE checks wCVE-2026-143273In the Linux kernel, the following vulnerability has been resolved: net: 8139cp: keep Rx masked while NAPI is scheduled cp_rx_poll() callsCVE-2026-143274In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Clear request identifiers on incoming LE connections
CVE-2026-143263: Unscored | Vulnix