{"id":"CVE-2026-31630","published":"2026-04-24T14:44:46Z","modified":"2026-10-21T12:39:36Z","title":"rxrpc: proc: size address buffers for %pISpc output","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nrxrpc: proc: size address buffers for %pISpc output\n\nThe AF_RXRPC procfs helpers format local and remote socket addresses into\nfixed 50-byte stack buffers with \"%pISpc\".\n\nThat is too small for the longest current-tree IPv6-with-port form the\nformatter can produce. In lib/vsprintf.c, the compressed IPv6 path uses a\ndotted-quad tail not only for v4mapped addresses, but also for ISATAP\naddresses via ipv6_addr_is_isatap().\n\nAs a result, a case such as\n\n  [ffff:ffff:ffff:ffff:0:5efe:255.255.255.255]:65535\n\nis possible with the current formatter. That is 50 visible characters, so\n51 bytes including the trailing NUL, which does not fit in the existing\nchar[50] buffers used by net/rxrpc/proc.c.\n\nSize the buffers from the formatter's maximum textual form and switch the\ncall sites to scnprintf().\n\nChanges since v1:\n- correct the changelog to cite the actual maximum current-tree case\n  explicitly\n- frame the proof around the ISATAP formatting path instead of the earlier\n  mapped-v4 example","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00191,"percentile":0.0504,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"references":[{"url":"https://git.kernel.org/stable/c/386c86412608d3449006a318a662cbcd6ca1f668","tags":[]},{"url":"https://git.kernel.org/stable/c/235b2115de892eab2e107a42efa7a4347baaa80b","tags":[]},{"url":"https://git.kernel.org/stable/c/625af53a1564e31bb2df9adc3739df46137f46c1","tags":[]},{"url":"https://git.kernel.org/stable/c/808a34cdbe8ce336c202d8ea6d5e48496764dc37","tags":[]},{"url":"https://git.kernel.org/stable/c/a6042b8066b24dbcc7945616a157d4d43e463668","tags":[]},{"url":"https://git.kernel.org/stable/c/db297c78ce537c9ac96f0eda9b25ad72c8caefa9","tags":[]},{"url":"https://git.kernel.org/stable/c/10ebed83f9f6414af4e85bc85ffaeda7effdd874","tags":[]},{"url":"https://git.kernel.org/stable/c/a44ce6aa2efb61fe44f2cfab72bb01544bbca272","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":1.01},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 75b54cb57ca34cbe7a87c6ac757c55360a624590, < 386c86412608d3449006a318a662cbcd6ca1f668",">= 75b54cb57ca34cbe7a87c6ac757c55360a624590, < 235b2115de892eab2e107a42efa7a4347baaa80b",">= 75b54cb57ca34cbe7a87c6ac757c55360a624590, < 625af53a1564e31bb2df9adc3739df46137f46c1",">= 75b54cb57ca34cbe7a87c6ac757c55360a624590, < 808a34cdbe8ce336c202d8ea6d5e48496764dc37",">= 75b54cb57ca34cbe7a87c6ac757c55360a624590, < a6042b8066b24dbcc7945616a157d4d43e463668",">= 75b54cb57ca34cbe7a87c6ac757c55360a624590, < db297c78ce537c9ac96f0eda9b25ad72c8caefa9",">= 75b54cb57ca34cbe7a87c6ac757c55360a624590, < 10ebed83f9f6414af4e85bc85ffaeda7effdd874",">= 75b54cb57ca34cbe7a87c6ac757c55360a624590, < a44ce6aa2efb61fe44f2cfab72bb01544bbca272"]},{"vendor":"Linux","product":"Linux","versions":["4.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T15:11:18.108954Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-25523","exploited":false,"provenance":"source"}}