CVE-2025-39962: rxrpc: Fix untrusted unsigned subtract
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. 'ticketlen - 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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-39962?
CVE-2025-39962 has been classified with a moderate severity level due to its potential impact on the Linux kernel's functionality.
How do I fix CVE-2025-39962?
To fix CVE-2025-39962, update your Linux kernel to the latest version that includes the patch addressing this vulnerability.
What systems are affected by CVE-2025-39962?
CVE-2025-39962 affects versions of the Linux kernel that utilize the rxrpc protocol.
What are the risks of CVE-2025-39962?
The primary risk of CVE-2025-39962 includes potential data corruption or unexpected behavior in applications using the Linux kernel's networking features.
Is there a workaround for CVE-2025-39962?
Currently, there are no recommended workarounds for CVE-2025-39962; applying the appropriate kernel update is the best course of action.