CVE-2025-39962
JSON

7.5high

rxrpc: Fix untrusted unsigned subtract

Severity
7.5high CVSS:3.1 by Linux
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix untrusted unsigned subtract Fix the following Smatch static checker warning: net/rxrpc/rxgk_app.c:65 rxgk_yfs_decode_ticket() warn: untrusted unsigned subtract. 'ticket_len - 10 * 4' by prechecking the length of what we're trying to extract in two places in the token and decoding for a response packet. Also use sizeof() on the struct we're extracting rather specifying the size numerically to be consistent with the other related statements.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 9d1d2b59341f58126a69b51f9f5f8ccb9f12e54a before 71571e187106631a8127f2dde780f35caa358d33, from 9d1d2b59341f58126a69b51f9f5f8ccb9f12e54a before 2429a197648178cd4dc930a9d87c13c547460564, 6.16
Not affected: before 6.16, from 6.16.9 up to 6.16.*, from 6.17 up to *
CVE List
linux linux_kernelfrom 6.16 before 6.16.9, 6.17NVD

All scores

Linux7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix untrusted unsigned subtract Fix the following Smatch static checker warning: net/rxrpc/rxgk_app.c:65 rxgk_yfs_decode_ticket() warn: untrusted unsigned subtract. 'ticket_len - 10 * 4' by prechecking the length of what we're trying to extract in two places in the token and decoding for a response packet. Also use sizeof() on the struct we're extracting rather specifying the size numerically to be consistent with the other related statements.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: rxrpc: Corrección de resta sin signo no confiable Corregir la siguiente advertencia del verificador estático Smatch: net/rxrpc/rxgk_app.c:65 rxgk_yfs_decode_ticket() advertencia: resta sin signo no confiable. 'ticket_len - 10 * 4' mediante la verificación previa de la longitud de lo que estamos intentando extraer en dos lugares en el token y la decodificación para un paquete de respuesta. También usar sizeof() en la estructura que estamos extrayendo en lugar de especificar el tamaño numéricamente para ser consistente con las otras declaraciones relacionadas.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-39962 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-39962 changed 2026-10-19Public domain