Skip to main content

Linux Kernel CVE-2025-39962

HIGH
Out-of-bounds Write (CWE-787)
2025-10-09 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Position as malicious RxGK/AFS server or MITM
  2. Delivery
    Victim kernel initiates RxGK authentication
  3. Exploit
    Send crafted response with undersized ticket length
  4. Execution
    Unsigned subtract underflows in decode
  5. Persist
    Out-of-bounds access corrupts kernel memory
  6. Impact
    Kernel crash or memory-corruption impact

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target Linux system to be running the AF_RXRPC subsystem with the RxGK (Rx GSS) security class active - in practice an in-kernel AFS (kAFS) client - and to process an attacker-controlled RxGK authentication response packet through rxgk_yfs_decode_ticket(). The specific trigger is a malformed YFS ticket whose length field is smaller than the fixed header size, causing the 'ticket_len - 10 * 4' unsigned subtraction to underflow. Limiting factors: only Linux 6.17 release-candidate kernels (rc1-rc6) are listed as affected, so stable production kernels are not exposed; the vulnerable code is a niche, non-default subsystem that must be compiled in and in use; and the attacker must be the peer server or a man-in-the-middle in an RxGK exchange rather than an arbitrary remote party. Note the assigned CVSS marks this AV:L (local), which conflicts with the network-sourced nature of the packet data - verify the trigger path against the deployment.

Impact

Signals are mixed and worth reconciling. The assigned CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N, C:H/I:H/A:H, score 7.8) models a local, low-privilege attacker - the default framing for many kernel bugs. However, the untrusted data originates from an rxrpc response packet, which is network-sourced; this suggests the practical trigger is a malicious or compromised RxGK/AFS server (or a man-in-the-middle) rather than a local user, so the network-versus-local vector should be verified against the actual data path. Mitigating the raw 7.8: EPSS is only 0.13% (3rd percentile), there is no KEV listing and no public exploit identified, and - critically - only 6.17 release-candidate kernels are listed as affected, meaning the bug was caught and fixed pre-release and is unlikely to be present in production stable kernels. Exploitation also requires the niche kAFS/RxGK code path to be compiled and in active use. Net assessment: a genuine memory-corruption defect worth patching for anyone tracking mainline/rc kernels, but low real-world priority given the pre-release-only exposure, niche subsystem, and absence of exploitation evidence.

Exploit ScenarioDerived

An attacker operating a malicious RxGK/AFS server, or positioned to tamper with rxrpc traffic, waits for a vulnerable Linux client to initiate authentication and returns a crafted response packet with an undersized ticket length field. The unsigned subtraction underflows, causing the kernel to read/write past the intended buffer during ticket decode, corrupting kernel memory and at minimum crashing the host. No public exploit is identified at time of analysis; the difficulty is compounded by the requirement that the target run a vulnerable rc kernel with RxGK/AFS in use.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 30, 2026

Kernel-level memory corruption in the Linux kernel's rxrpc/RxGK subsystem allows an out-of-bounds access when the rxgk_yfs_decode_ticket() function parses an authentication response packet. The flaw stems from an unchecked unsigned subtraction ('ticket_len - 10 * 4') on attacker-influenced length data, which can underflow and drive an out-of-bounds write (CWE-787). It affects Linux 6.17 release-candidate kernels (rc1 through rc6); there is no public exploit identified at time of analysis, and EPSS exploitation probability is very low at 0.13% (3rd percentile).

RemediationAI

Upstream fix available (commits, not a tagged stable release); a released patched version is not independently confirmed from the input. Apply the mainline fix by updating to a 6.17 build that includes commits 2429a197648178cd4dc930a9d87c13c547460564 and 71571e187106631a8127f2dde780f35caa358d33 (https://git.kernel.org/stable/c/2429a197648178cd4dc930a9d87c13c547460564 and https://git.kernel.org/stable/c/71571e187106631a8127f2dde780f35caa358d33), or move off the 6.17-rc series to a fixed release once tagged. As a compensating control until patched, avoid running 6.17 release-candidate kernels in production; if kAFS/RxGK is not needed, build or load the kernel without the AF_RXRPC/rxgk functionality (do not load the rxrpc/kafs modules), which removes the vulnerable code path at the cost of losing AFS client support. Where AFS is required, restrict clients to trusted, authenticated AFS servers and constrain network paths to reduce the chance of processing a malicious response packet, accepting that this does not fully eliminate a compromised-server or MITM risk.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected code lives in net/rxrpc/rxgk_app.c, part of the kernel's AF_RXRPC implementation used by the in-kernel AFS filesystem client (kAFS) and the RxGK (Rx GSS/Kerberos) security class. During the RxGK authentication handshake, the kernel decodes a YFS ticket embedded in a response packet. The Smatch static analyzer flagged an 'untrusted unsigned subtract' where a length field taken from the packet is decremented by a fixed header size before being used; because the value is unsigned, a too-small ticket_len wraps to a huge number instead of going negative, defeating subsequent bounds logic. The CWE-787 (Out-of-bounds Write) classification and the vendor's 'Buffer Overflow / Memory Corruption' tags indicate the miscomputed length can drive access past the intended buffer. The fix prechecks the extractable length in two places and switches from hardcoded byte sizes to sizeof() on the extracted struct for consistency.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

Untrusted data arrives in a network response packet (AV:N), but requires the non-default RxGK/AFS path and a malicious peer server (AC:H); no local privileges needed (PR:N), with kernel memory-corruption impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionNVD

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.

Executive ViewAI

Why It Matters

A memory corruption vulnerability in Linux 6.17 pre-release kernel versions could allow system-level compromise for organizations running these kernels, though limited rc kernel adoption significantly reduces exposure across most production environments. Patch availability and very low public exploitation likelihood allow for standard remediation timelines without requiring emergency procedures.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Low
only 6.17 release-candidate kernels affected; niche kAFS/RxGK subsystem, not in production
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Affected Products (CPE)NVD

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc6:*:*:*:*:*:*

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy