# CVE-2026-31427: netfilter: nf\_conntrack\_sip: fix use of uninitialized rtp\_addr in process\_sdp

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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-908
- **Published:** 2026-04-13T13:40:30.280Z
- **Modified:** 2026-11-10T13:18:53.890Z

## Who should check

- Anyone running Linux \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< faa6ea32797a1847790514ff0da1be1d09771580; \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< 82baeb871e8f04906bc886273fdf0209e1754eb3; \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< 6e5e3c87b7e6212f1d8414fc2e4d158b01e12025; \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< fe463e76c9b4b0b43b5ee8961b4c500231f1a3f6; \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< 7edca70751b9bdb5b83eed53cde21eccf3c86147; \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< 01f34a80ac23ae90b1909b94b4ed05343a62f646; \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< 52fdda318ef2362fc5936385bcb8b3d0328ee629; \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< 6a2b724460cb67caed500c508c2ae5cf012e4db4
- Anyone running Linux 2.6.26

## Description

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.

## Affected and fixed versions

- Linux: \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< faa6ea32797a1847790514ff0da1be1d09771580; \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< 82baeb871e8f04906bc886273fdf0209e1754eb3; \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< 6e5e3c87b7e6212f1d8414fc2e4d158b01e12025; \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< fe463e76c9b4b0b43b5ee8961b4c500231f1a3f6; \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< 7edca70751b9bdb5b83eed53cde21eccf3c86147; \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< 01f34a80ac23ae90b1909b94b4ed05343a62f646; \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< 52fdda318ef2362fc5936385bcb8b3d0328ee629; \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< 6a2b724460cb67caed500c508c2ae5cf012e4db4 (cvelist)
- Linux: 2.6.26 (cvelist)

## Mitigation

- Upgrade Linux to 6a2b724460cb67caed500c508c2ae5cf012e4db4 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-31427. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31427.md
Affected: Linux >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < faa6ea32797a1847790514ff0da1be1d09771580; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 82baeb871e8f04906bc886273fdf0209e1754eb3; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 6e5e3c87b7e6212f1d8414fc2e4d158b01e12025; >= 4ab9e64e5e3c05165778188…
Fixed in: Linux 82baeb871e8f04906bc886273fdf0209e1754eb3, Linux 6e5e3c87b7e6212f1d8414fc2e4d158b01e12025, Linux 7edca70751b9bdb5b83eed53cde21eccf3c86147, Linux 01f34a80ac23ae90b1909b94b4ed05343a62f646, Linux 52fdda318ef2362fc5936385bcb8b3d0328ee629, Linux 6a2b724460cb67caed500c508c2ae5cf012e4db4

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-31427 being exploited?

There is no confirmed exploitation: CVE-2026-31427 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-31427?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< faa6ea32797a1847790514ff0da1be1d09771580; \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< 82baeb871e8f04906bc886273fdf0209e1754eb3; \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< 6e5e3c87b7e6212f1d8414fc2e4d158b01e12025; \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< fe463e76c9b4b0b43b5ee8961b4c500231f1a3f6; \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< 7edca70751b9bdb5b83eed53cde21eccf3c86147; \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< 01f34a80ac23ae90b1909b94b4ed05343a62f646; \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< 52fdda318ef2362fc5936385bcb8b3d0328ee629; \>= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, \< 6a2b724460cb67caed500c508c2ae5cf012e4db4; Linux 2.6.26.

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

Yes. Fixed in Linux 82baeb871e8f04906bc886273fdf0209e1754eb3, Linux 6e5e3c87b7e6212f1d8414fc2e4d158b01e12025, Linux 7edca70751b9bdb5b83eed53cde21eccf3c86147, Linux 01f34a80ac23ae90b1909b94b4ed05343a62f646, Linux 52fdda318ef2362fc5936385bcb8b3d0328ee629, Linux 6a2b724460cb67caed500c508c2ae5cf012e4db4. Upgrade Linux to 6a2b724460cb67caed500c508c2ae5cf012e4db4 or later.

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

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/faa6ea32797a1847790514ff0da1be1d09771580>
- patch: <https://git.kernel.org/stable/c/82baeb871e8f04906bc886273fdf0209e1754eb3>
- patch: <https://git.kernel.org/stable/c/6e5e3c87b7e6212f1d8414fc2e4d158b01e12025>
- patch: <https://git.kernel.org/stable/c/fe463e76c9b4b0b43b5ee8961b4c500231f1a3f6>
- patch: <https://git.kernel.org/stable/c/7edca70751b9bdb5b83eed53cde21eccf3c86147>
- patch: <https://git.kernel.org/stable/c/01f34a80ac23ae90b1909b94b4ed05343a62f646>
- patch: <https://git.kernel.org/stable/c/52fdda318ef2362fc5936385bcb8b3d0328ee629>
- patch: <https://git.kernel.org/stable/c/6a2b724460cb67caed500c508c2ae5cf012e4db4>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## 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-31427>

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