{"id":"CVE-2025-39962","aliases":["CVE-2025-39962"],"related":[],"kind":"vulnerability","state":"published","title":"rxrpc: Fix untrusted unsigned subtract","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nrxrpc: Fix untrusted unsigned subtract\n\nFix the following Smatch static checker warning:\n\n   net/rxrpc/rxgk_app.c:65 rxgk_yfs_decode_ticket()\n   warn: untrusted unsigned subtract. 'ticket_len - 10 * 4'\n\nby prechecking the length of what we're trying to extract in two places in\nthe token and decoding for a response packet.\n\nAlso use sizeof() on the struct we're extracting rather specifying the size\nnumerically to be consistent with the other related statements.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nrxrpc: Fix untrusted unsigned subtract\n\nFix the following Smatch static checker warning:\n\n   net/rxrpc/rxgk_app.c:65 rxgk_yfs_decode_ticket()\n   warn: untrusted unsigned subtract. 'ticket_len - 10 * 4'\n\nby prechecking the length of what we're trying to extract in two places in\nthe token and decoding for a response packet.\n\nAlso use sizeof() on the struct we're extracting rather specifying the size\nnumerically to be consistent with the other related statements.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nrxrpc: Corrección de resta sin signo no confiable\n\nCorregir la siguiente advertencia del verificador estático Smatch:\n\n   net/rxrpc/rxgk_app.c:65 rxgk_yfs_decode_ticket()\n   advertencia: resta sin signo no confiable. 'ticket_len - 10 * 4'\n\nmediante 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.\n\nTambié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.","source":"nvd"}],"published":"2025-10-09T12:13:22.684Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"git","introduced":"9d1d2b59341f58126a69b51f9f5f8ccb9f12e54a","fixed":"71571e187106631a8127f2dde780f35caa358d33","status":"affected"},{"type":"git","introduced":"9d1d2b59341f58126a69b51f9f5f8ccb9f12e54a","fixed":"2429a197648178cd4dc930a9d87c13c547460564","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.16","status":"unaffected"},{"type":"semver","introduced":"6.16.9","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.16","fixed":"6.16.9"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/71571e187106631a8127f2dde780f35caa358d33","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2429a197648178cd4dc930a9d87c13c547460564","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39962","url":"https://www.cve.org/CVERecord?id=CVE-2025-39962","licence":"CVE Terms of Use","modified":"2026-08-05T12:06:31.023Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39962","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39962","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:05.698Z","epss":{"score":0.00252,"percentile":0.17781,"date":"2026-12-01T12:00:22.000Z"}}