CVE-2026-31630
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
24/04/2026
Última modificación:
24/04/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
rxrpc: proc: size address buffers for %pISpc output<br />
<br />
The AF_RXRPC procfs helpers format local and remote socket addresses into<br />
fixed 50-byte stack buffers with "%pISpc".<br />
<br />
That is too small for the longest current-tree IPv6-with-port form the<br />
formatter can produce. In lib/vsprintf.c, the compressed IPv6 path uses a<br />
dotted-quad tail not only for v4mapped addresses, but also for ISATAP<br />
addresses via ipv6_addr_is_isatap().<br />
<br />
As a result, a case such as<br />
<br />
[ffff:ffff:ffff:ffff:0:5efe:255.255.255.255]:65535<br />
<br />
is possible with the current formatter. That is 50 visible characters, so<br />
51 bytes including the trailing NUL, which does not fit in the existing<br />
char[50] buffers used by net/rxrpc/proc.c.<br />
<br />
Size the buffers from the formatter&#39;s maximum textual form and switch the<br />
call sites to scnprintf().<br />
<br />
Changes since v1:<br />
- correct the changelog to cite the actual maximum current-tree case<br />
explicitly<br />
- frame the proof around the ISATAP formatting path instead of the earlier<br />
mapped-v4 example



