CVE-2026-31427
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-libbpf | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.80-105.147.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.25-52.107.amzn2023 |
| bpftool | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| kernel6.12-libbpf-static | Amazon Linux | 1:6.12.80-105.147.amzn2023 |
| kernel-modules-extra | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| kernel-headers | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.80-105.147.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.25-52.107.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.25-52.107.amzn2023 |
| linux_kernel | linux | 6.19.11, 6.18.21, 6.12.80, 6.6.131, 6.1.168, 5.15.203, 5.10.253 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 4ab9e64e5e3c0516577818804aaf13a630d67bc9, 4ab9e64e5e3c0516577818804aaf13a630d67bc9, 4ab9e64e5e3c0516577818804aaf13a630d67bc9 |
| Linux | Linux | 2.6.26, 0, 5.10.253 |
| amazon:2023 | kernel-libbpf | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) | 3.1.7, 3.1.6, 3.1.5 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.7, 3.1.5, 3.1.6 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.5, 3.1.6, 3.1.7 |
| amazon:2023 | bpftool6.12 | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) | 3.1.5, 3.1.7, 3.1.6 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-livepatch-6.18.25-52.107 | 0 |
…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