VDB

CVE-2026-31427

CVE-2026-31427 PUBLISHED

netfilter: nf_conntrack_sip: fix use of uninitialized rtp_addr in process_sdp

Reported by linux · Published April 13, 2026

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack_sip: fix use of uninitialized rtp_addr in process_sdp process_sdp() declares union nf_inet_addr rtp_addr on the stack and passes it to the nf_nat_sip sdp_session hook after walking the SDP media descriptions. However rtp_addr is only initialized inside the media loop when a recognized media type with a non-zero port is found. If the SDP body contains no m= lines, only inactive media sections (m=audio 0 ...) or only unrecognized media types, rtp_addr is never assigned. Despite that, the function still calls hooks->sdp_session() with &rtp_addr, causing nf_nat_sdp_session() to format the stale stack value as an IP address and rewrite the SDP session owner and connection lines with it. With CONFIG_INIT_STACK_ALL_ZERO (default on most distributions) this results in the session-level o= and c= addresses being rewritten to 0.0.0.0 for inactive SDP sessions. Without stack auto-init the rewritten address is whatever happened to be on the stack. Fix this by pre-initializing rtp_addr from the session-level connection address (caddr) when available, and tracking via a have_rtp_addr flag whether any valid address was established. Skip the sdp_session hook entirely when no valid address exists.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-libbpfAmazon Linux1:6.1.168-202.320.amzn2023
bpftool6.12Amazon Linux1:6.12.80-105.147.amzn2023
perf6.18Amazon Linux1:6.18.25-52.107.amzn2023
bpftoolAmazon Linux1:6.1.168-202.320.amzn2023
kernel6.12-libbpf-staticAmazon Linux1:6.12.80-105.147.amzn2023
kernel-modules-extraAmazon Linux1:6.1.168-202.320.amzn2023
kernel-headersAmazon Linux1:6.1.168-202.320.amzn2023
kernel6.12-develAmazon Linux1:6.12.80-105.147.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.25-52.107.amzn2023
kernel-libbpf-staticAmazon Linux1:6.1.168-202.320.amzn2023
python3-perf6.18Amazon Linux1:6.18.25-52.107.amzn2023
linux_kernellinux6.19.11, 6.18.21, 6.12.80, 6.6.131, 6.1.168, 5.15.203, 5.10.253

Affected products

VendorProductVersions
LinuxLinux4ab9e64e5e3c0516577818804aaf13a630d67bc9, 4ab9e64e5e3c0516577818804aaf13a630d67bc9, 4ab9e64e5e3c0516577818804aaf13a630d67bc9
LinuxLinux2.6.26, 0, 5.10.253
amazon:2023kernel-libbpf0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)3.1.7, 3.1.6, 3.1.5
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.7, 3.1.5, 3.1.6
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.5, 3.1.6, 3.1.7
amazon:2023bpftool6.120
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)3.1.5, 3.1.7, 3.1.6
amazon:2023perf6.180
amazon:2023bpftool0
amazon:2023kernel6.12-libbpf-static0
amazon:2023kernel-modules-extra0
amazon:2023kernel-headers0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel-libbpf-static0
amazon:2023python3-perf6.180
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel-tools0
amazon:2023kernel-livepatch-6.18.25-52.1070

…and 31 more

Timeline

  • Apr 13, 2026 CVE Published
  • Apr 13, 2026 Security Advisory (78 in total, the first dated here)
  • May 18, 2026 EPSS Score (25 in total, the first dated here)
  • Jun 30, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (75 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-31427
vulnetix vdb fixes CVE-2026-31427

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-31427/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›