CVE-2025-39962
published high CVSS 3.1 · 7.5rxrpc: Fix untrusted unsigned subtract
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux9d1d2b59341f58126a69b51f9f5f8ccb9f12e54a to < 71571e187106631a8127f2dde780f35caa358d33 · 9d1d2b59341f58126a69b51f9f5f8ccb9f12e54a to < 2429a197648178cd4dc930a9d87c13c547460564 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 6.16.9 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: AV:N - The vulnerable code parses RxGK RESPONSE packets received over UDP by an rxrpc server connection; the AFS cache manager (present on every kafs client) exposes this path to remote peers on the network. AC:L - A single crafted RESPONSE packet with a small token_len and oversized ticket_len reliably bypasses the check and triggers the crash; the required server key exists by default on the CM and kvno/enctype are standard, with no attacker-uncontrolled conditions. PR:N - The malformed length is processed during the challenge/response handshake (CONN_SERVICE_CHALLENGING), before any credential is verified, so no authentication or privileges are required. UI:N - Exploitation is fully driven by attacker-sent network packets; no action by any local user is needed. S:U - The impact is confined to the kernel that processes the packet; no crossing of a security/authority boundary such as VM or IOMMU escape occurs. C:N - The reliably reachable path is a BUG_ON crash with no data returned to the attacker; the OOB-read variant requires server-key knowledge to control decrypted content and its data is stored in a no-leak key, so there is no defensible information disclosure. I:N - The reachable outcome is a kernel panic in skb_to_sgvec; the length-check bypass does not yield an attacker-controlled write primitive (the payload allocation scales with the corrupted length), so no data modification results. A:H - The oversized attacker-controlled length reaches skb_to_sgvec and triggers BUG_ON(len), causing a kernel panic — a remote, unauthenticated denial of service.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 9d1d2b59341f58126a69b51f9f5f8ccb9f12e54a to < 71571e187106631a8127f2dde780f35caa358d33 (affected · git)9d1d2b59341f58126a69b51f9f5f8ccb9f12e54a to < 2429a197648178cd4dc930a9d87c13c547460564 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.16 (affected)0 to < 6.16 (unaffected · semver)6.16.9 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
rxrpc: Fix untrusted unsigned subtract
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6ed4427e6a50394522360c9b4a762c413f6ec59f317c6d2b9e5aaacf7772b862
- Ingested
- 23 Sep 2026, 08:47:25 UTC
- Source record
- Official CVE record