# CVE-2025-39962: rxrpc: Fix untrusted unsigned subtract

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-10-09T12:13:22.684Z
- Modified: 2026-10-19T21:10:00.160Z
- Weaknesses: CWE-787
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 9d1d2b59341f58126a69b51f9f5f8ccb9f12e54a before 71571e187106631a8127f2dde780f35caa358d33; from 9d1d2b59341f58126a69b51f9f5f8ccb9f12e54a before 2429a197648178cd4dc930a9d87c13c547460564; 6.16 (not affected: before 6.16; from 6.16.9 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 6.16 before 6.16.9; 6.17

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/71571e187106631a8127f2dde780f35caa358d33> (patch)
- <https://git.kernel.org/stable/c/2429a197648178cd4dc930a9d87c13c547460564> (patch)

## Sources

- CVE List: [CVE-2025-39962](https://www.cve.org/CVERecord?id=CVE-2025-39962), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-39962](https://nvd.nist.gov/vuln/detail/CVE-2025-39962), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-39962 · Whole record: https://cve.day/CVE-2025-39962.json · Rebuilt by cve.day 2026-11-25T22:59:05.698Z
