Bug 2402721 (CVE-2025-39962) - CVE-2025-39962 kernel: rxrpc: Fix untrusted unsigned subtract
Summary: CVE-2025-39962 kernel: rxrpc: Fix untrusted unsigned subtract
Keywords:
Status: NEW
Alias: CVE-2025-39962
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-09 13:01 UTC by OSIDB Bzimport
Modified: 2026-06-29 18:03 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-09 13:01:51 UTC
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.

Comment 1 Jon Moroney 2025-10-09 16:42:25 UTC Comment hidden (spam)

Note You need to log in before you can comment on or make changes to this bug.