# CVE-2026-31630: rxrpc: proc: size address buffers for %pISpc output

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.19% (percentile 5, 2026-11-28)
- **CWE:** CWE-121
- **Published:** 2026-04-24T14:44:46.606Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Anyone running Linux \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< 386c86412608d3449006a318a662cbcd6ca1f668; \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< 235b2115de892eab2e107a42efa7a4347baaa80b; \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< 625af53a1564e31bb2df9adc3739df46137f46c1; \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< 808a34cdbe8ce336c202d8ea6d5e48496764dc37; \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< a6042b8066b24dbcc7945616a157d4d43e463668; \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< db297c78ce537c9ac96f0eda9b25ad72c8caefa9; \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< 10ebed83f9f6414af4e85bc85ffaeda7effdd874; \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< a44ce6aa2efb61fe44f2cfab72bb01544bbca272
- Anyone running Linux 4.9

## Description

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

## Affected and fixed versions

- Linux: \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< 386c86412608d3449006a318a662cbcd6ca1f668; \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< 235b2115de892eab2e107a42efa7a4347baaa80b; \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< 625af53a1564e31bb2df9adc3739df46137f46c1; \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< 808a34cdbe8ce336c202d8ea6d5e48496764dc37; \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< a6042b8066b24dbcc7945616a157d4d43e463668; \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< db297c78ce537c9ac96f0eda9b25ad72c8caefa9; \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< 10ebed83f9f6414af4e85bc85ffaeda7effdd874; \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< a44ce6aa2efb61fe44f2cfab72bb01544bbca272 (cvelist)
- Linux: 4.9 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-31630. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31630.md
Affected: Linux >= 75b54cb57ca34cbe7a87c6ac757c55360a624590, < 386c86412608d3449006a318a662cbcd6ca1f668; >= 75b54cb57ca34cbe7a87c6ac757c55360a624590, < 235b2115de892eab2e107a42efa7a4347baaa80b; >= 75b54cb57ca34cbe7a87c6ac757c55360a624590, < 625af53a1564e31bb2df9adc3739df46137f46c1; >= 75b54cb57ca34cbe7a87c6a…
Fixed in: Linux 386c86412608d3449006a318a662cbcd6ca1f668, Linux 235b2115de892eab2e107a42efa7a4347baaa80b, Linux 625af53a1564e31bb2df9adc3739df46137f46c1, Linux 808a34cdbe8ce336c202d8ea6d5e48496764dc37, Linux 10ebed83f9f6414af4e85bc85ffaeda7effdd874

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

There is no confirmed exploitation: CVE-2026-31630 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-31630?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< 386c86412608d3449006a318a662cbcd6ca1f668; \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< 235b2115de892eab2e107a42efa7a4347baaa80b; \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< 625af53a1564e31bb2df9adc3739df46137f46c1; \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< 808a34cdbe8ce336c202d8ea6d5e48496764dc37; \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< a6042b8066b24dbcc7945616a157d4d43e463668; \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< db297c78ce537c9ac96f0eda9b25ad72c8caefa9; \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< 10ebed83f9f6414af4e85bc85ffaeda7effdd874; \>= 75b54cb57ca34cbe7a87c6ac757c55360a624590, \< a44ce6aa2efb61fe44f2cfab72bb01544bbca272; Linux 4.9.

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

Yes. Fixed in Linux 386c86412608d3449006a318a662cbcd6ca1f668, Linux 235b2115de892eab2e107a42efa7a4347baaa80b, Linux 625af53a1564e31bb2df9adc3739df46137f46c1, Linux 808a34cdbe8ce336c202d8ea6d5e48496764dc37, Linux 10ebed83f9f6414af4e85bc85ffaeda7effdd874. No fix listed yet: follow the vendor advisory.

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

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/db297c78ce537c9ac96f0eda9b25ad72c8caefa9>
- patch: <https://git.kernel.org/stable/c/10ebed83f9f6414af4e85bc85ffaeda7effdd874>
- patch: <https://git.kernel.org/stable/c/a44ce6aa2efb61fe44f2cfab72bb01544bbca272>
- other: <https://git.kernel.org/stable/c/386c86412608d3449006a318a662cbcd6ca1f668>
- other: <https://git.kernel.org/stable/c/235b2115de892eab2e107a42efa7a4347baaa80b>
- other: <https://git.kernel.org/stable/c/625af53a1564e31bb2df9adc3739df46137f46c1>
- other: <https://git.kernel.org/stable/c/808a34cdbe8ce336c202d8ea6d5e48496764dc37>
- other: <https://git.kernel.org/stable/c/a6042b8066b24dbcc7945616a157d4d43e463668>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.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-31630>

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