linux: In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix RxGK token loading to check bounds r...
CVE-2026-31641 is fixed in 76 products on 1 platform, first by RHSA-2026:27288, released May 6, 2026. It is not reported as exploited. Patch Radar priority: High.
In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix RxGK token loading to check bounds rxrpc_preparse_xdr_yfs_rxgk() reads the raw key length and ticket length from the XDR token as u32 values and passes each through round_up(x, 4) before using the rounded value for validation and allocation. When the raw length is >= 0xfffffffd, round_up() wraps to 0, so the bounds check and kzalloc both use 0 while the subsequent memcpy still copies the original ~4 GiB value, producing a heap buffer overflow reachable from an unprivileged add_key() call. Fix this by: (1) Rejecting raw key lengths above AFSTOKEN_GK_KEY_MAX and raw ticket lengths above AFSTOKEN_GK_TOKEN_MAX before rounding, consistent with the caps that the RxKAD path already enforces via AFSTOKEN_RK_TIX_MAX. (2) Sizing the flexible-array allocation from the validated raw key length via struct_size_t() instead of the rounded value. (3) Caching the raw lengths so that the later field assignments and memcpy calls do not re-read from the token, eliminating a class of TOCTOU re-parse. The control path (valid token with lengths within bounds) is unaffected.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| kernel · RHEL 10 | 6.12.0-211.26.1.el10_2 | RHSA-2026:27288 | May 6, 2026 |
| kernel · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel · rocky 10 | 0:6.12.0-211.26.1.el10_2 | RLSA-2026:27288 | Jun 22, 2026 |
| kernel-64k · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-64k-core · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-64k-debug · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-64k-debug-core · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-64k-debug-devel · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-64k-debug-devel-matched · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-64k-debug-modules · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-64k-debug-modules-core · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-64k-debug-modules-extra · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-64k-devel · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-64k-devel-matched · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-64k-modules · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-64k-modules-core · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-64k-modules-extra · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-abi-stablelists · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-abi-stablelists · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-core · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-core · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-cross-headers · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-cross-headers · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-debug · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-debug · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-debug-core · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-debug-core · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-debug-devel · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-debug-devel · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-debug-devel-matched · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-debug-devel-matched · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-debug-modules · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-debug-modules · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-debug-modules-core · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-debug-modules-core · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-debug-modules-extra · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-debug-modules-extra · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-debug-uki-virt · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-debug-uki-virt · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-devel · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-devel · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-devel-matched · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-devel-matched · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-doc · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-doc · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-headers · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-headers · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-modules · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-modules · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-modules-core · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-modules-core · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-modules-extra · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-modules-extra · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-modules-extra-matched · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-modules-extra-matched · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-rt · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-rt-64k · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-rt-64k-core · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-rt-64k-debug · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-rt-64k-debug-core · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-rt-64k-debug-devel · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-rt-64k-debug-modules · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-rt-64k-debug-modules-core · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-rt-64k-debug-modules-extra · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-rt-64k-devel · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-rt-64k-modules · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-rt-64k-modules-core · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-rt-64k-modules-extra · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-rt-core · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-rt-debug · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-rt-debug-core · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-rt-debug-devel · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-rt-debug-modules · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-rt-debug-modules-core · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-rt-debug-modules-extra · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-rt-devel · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-rt-modules · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-rt-modules-core · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-rt-modules-extra · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-tools · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-tools · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-tools-libs · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-tools-libs · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-tools-libs-devel · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-tools-libs-devel · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-uki-virt · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-uki-virt · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-uki-virt-addons · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-uki-virt-addons · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| kernel-zfcpdump · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-zfcpdump-core · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-zfcpdump-devel · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-zfcpdump-devel-matched · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-zfcpdump-modules · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-zfcpdump-modules-core · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| kernel-zfcpdump-modules-extra · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| libperf · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| libperf · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| linux · Debian 14 | 6.19.13-1 | DEBIAN-CVE-2026-31641 | May 15, 2026 |
| perf · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| perf · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| python3-perf · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| python3-perf · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| rtla · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| rtla · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
| rv · almalinux 10 | 6.12.0-211.26.1.el10_2 | ALSA-2026:27288 | Jun 19, 2026 |
| rv · ol 10 | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-27288 | Aug 5, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.