CVE-2026-31427·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.19.11
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.17% — higher than 6% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 6.19.11
Fixed in: 6.19.11
How to fix this CVE
Update your Linux kernel to version 6.19.11 or later to resolve this netfilter SDP processing vulnerability. The fix ensures that uninitialized stack memory is no longer passed to SDP session hooks, preventing malformed address rewriting in network packet filtering operations. Apply this update promptly to prevent potential SDP session corruption in environments running netfilter-based network address translation.
sudo dnf check-update kernel && sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check kernel version with: uname -r — ensure it is 6.19.11 or later
- Step 2: Verify netfilter SIP connection tracking is enabled: grep -i CONFIG_NF_CONNTRACK_SIP /boot/config-$(uname -r)
- Step 3: Monitor netfilter logs for SDP rewriting anomalies: journalctl -u systemd-logind | grep -i 'nf_conntrack\|sip\|sdp'
- Step 4: Confirm the fix by comparing kernel build timestamp: grep 'Linux version' /proc/version against the 6.19.11 release date
FAQ
What is CVE-2026-31427?
This vulnerability occurs in the Linux kernel's netfilter SIP connection tracking module, where uninitialized stack memory containing an RTP address is passed to SDP session rewriting hooks when processing SDP bodies with no valid media descriptions. This causes incorrect IP addresses (such as 0.0.0.0) to be written into SDP session headers.
Is CVE-2026-31427 being actively exploited?
No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities catalog and no public exploits are currently available. However, it should still be patched to prevent potential denial-of-service or network misconfiguration scenarios.
What versions of Kernel are affected by CVE-2026-31427?
Linux kernel versions 6.19 through 6.19.10 are affected. The vulnerability is resolved in kernel version 6.19.11 and later.
How do I check if my server is vulnerable to CVE-2026-31427?
Run: uname -r — if the output shows kernel version 6.19.0 through 6.19.10, your system is vulnerable. Additionally, confirm netfilter SIP tracking is active with: lsmod | grep nf_conntrack_sip
Does Defensia detect CVE-2026-31427?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-31427 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/01f34a80ac23ae90b1909b94b4ed05343a62f646
- https://git.kernel.org/stable/c/52fdda318ef2362fc5936385bcb8b3d0328ee629
- https://git.kernel.org/stable/c/6a2b724460cb67caed500c508c2ae5cf012e4db4
- https://git.kernel.org/stable/c/6e5e3c87b7e6212f1d8414fc2e4d158b01e12025
- https://git.kernel.org/stable/c/7edca70751b9bdb5b83eed53cde21eccf3c86147
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-31427. Free for 1 server.
Get started free