{"id":"CVE-2025-39962","summary":"rxrpc: Fix untrusted unsigned subtract","details":"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.","modified":"2026-04-02T12:48:13.780018Z","published":"2025-10-09T12:13:22.684Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39962.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2429a197648178cd4dc930a9d87c13c547460564"},{"type":"WEB","url":"https://git.kernel.org/stable/c/71571e187106631a8127f2dde780f35caa358d33"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39962.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39962"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9d1d2b59341f58126a69b51f9f5f8ccb9f12e54a"},{"fixed":"71571e187106631a8127f2dde780f35caa358d33"},{"fixed":"2429a197648178cd4dc930a9d87c13c547460564"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39962.json"}}],"schema_version":"1.7.5"}