CVE-2026-31630·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: rxrpc: proc: size address buffers for %pISpc output The AF_RXRPC procfs helpers format local and remote socket addresses into fixed 50-byte stack buffers with "%pISpc". That is too small for the longest current-tree IPv6-with-port form the formatter can produce. In lib/vsprintf.c, the compressed IPv6 path uses a dotted-quad tail not only for v4mapped addresses, but also for ISATAP addresses via ipv6_addr_is_isatap(). As a result, a case such as [ffff:ffff:ffff:ffff:0:5efe:255.255.255.255]:65535 is possible with the current formatter. That is 50 visible characters, so 51 bytes including the trailing NUL, which does not fit in the existing char[50] buffers used by net/rxrpc/proc.c. Size the buffers from the formatter's maximum textual form and switch the call sites to scnprintf(). Changes since v1: - correct the changelog to cite the actual maximum current-tree case explicitly - frame the proof around the ISATAP formatting path instead of the earlier mapped-v4 example
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.19.13
- 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.18% — higher than 7% 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.
Read the two together. CVE-2026-31630 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.18%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 6.19.13
Fixed in: 6.19.13
How to fix this CVE
Update your Linux kernel to version 6.19.13 or later to address a buffer overflow vulnerability in the rxrpc procfs interface that could allow local privilege escalation. The vulnerability stems from insufficient buffer allocation when formatting IPv6 socket addresses with port information, which can exceed the previously allocated 50-byte stack buffers. Apply the kernel update through your distribution's package manager and reboot your system to activate the patched kernel.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to check your current kernel version; if it is 6.19.0 through 6.19.12, your system is vulnerable
- Check if rxrpc networking is in use by running 'grep -i rxrpc /proc/net/protocols' or 'lsmod | grep rxrpc'
- Monitor /var/log/kern.log or dmesg for stack overflow warnings related to vsprintf or address formatting: 'sudo dmesg | grep -i overflow'
- After patching, verify the kernel version with 'uname -r' returns 6.19.13 or later, and confirm with 'cat /proc/version'
FAQ
What is CVE-2026-31630?
CVE-2026-31630 is a buffer overflow vulnerability in the Linux kernel's rxrpc procfs implementation. When formatting socket addresses with specific IPv6 and ISATAP patterns, the kernel can write beyond a 50-byte stack buffer, potentially leading to local privilege escalation.
Is CVE-2026-31630 being actively exploited?
No, this vulnerability is not currently listed in CISA's Known Exploited Vulnerabilities catalog, and no public exploits are available. However, the high CVSS score of 7.8 warrants prompt patching.
What versions of Kernel are affected by CVE-2026-31630?
Linux kernel versions 6.19.0 through 6.19.12 are affected. The fix was released in version 6.19.13 and later stable branches.
How do I check if my server is vulnerable to CVE-2026-31630?
Run 'uname -r' to retrieve your kernel version. If the output is 6.19.0 through 6.19.12, your system is vulnerable and requires immediate patching.
Does Defensia detect CVE-2026-31630?
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-31630 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/10ebed83f9f6414af4e85bc85ffaeda7effdd874
- https://git.kernel.org/stable/c/235b2115de892eab2e107a42efa7a4347baaa80b
- https://git.kernel.org/stable/c/386c86412608d3449006a318a662cbcd6ca1f668
- https://git.kernel.org/stable/c/625af53a1564e31bb2df9adc3739df46137f46c1
- https://git.kernel.org/stable/c/808a34cdbe8ce336c202d8ea6d5e48496764dc37
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-31630. Free for 1 server.
Get started free