CVE-2025-39962

Source
https://cve.org/CVERecord?id=CVE-2025-39962
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39962.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-39962
Downstream
Published
2025-10-09T12:13:22.684Z
Modified
2026-04-02T12:48:13.780018Z
Summary
rxrpc: Fix untrusted unsigned subtract
Details

In the Linux kernel, the following vulnerability has been resolved:

rxrpc: Fix untrusted unsigned subtract

Fix the following Smatch static checker warning:

net/rxrpc/rxgkapp.c:65 rxgkyfsdecodeticket() 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39962.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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"