Linux Kernel RxRPC Heap Buffer Overflow Vulnerability in RxGK Token Processing

Vulnerability

A heap buffer overflow vulnerability has been identified in the Linux kernel's RxRPC implementation, specifically within the processing of RxGK tokens. This issue arises because the function responsible for parsing the tokens does not properly validate the raw key and ticket lengths before using them. When these lengths exceed a certain threshold, the rounding function wraps the values, leading to a situation where the memory allocation is based on an incorrect length. Consequently, approximately 4 GiB of data is copied into a buffer, creating a vulnerability that can be exploited by an unprivileged user through the add_key() function.

Impact

Exploitation of this vulnerability leads to a heap buffer overflow, which can potentially be used to execute arbitrary code or cause a denial-of-service condition.

Reproduction

The vulnerability can be reproduced by sending an XDR token that includes a raw key length or ticket length exceeding the maximum allowed value. The rxrpc_preparse_xdr_yfs_rxgk() function will then misinterpret these lengths, causing the vulnerability to manifest.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed.

Added: Apr 24, 2026, 4:39 PM
Updated: Apr 24, 2026, 4:39 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
7.5
exploitability
3.7
remediation
7.7
relevance
6.5
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.