---
id: CVE-2026-74567
title: 'keys: fix out-of-bounds read in keyring_get_key_chunk()'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  keys: fix out-of-bounds read in keyring_get_key_chunk()

  For description-level chunks keyring_get_key_chunk() advances the read
  pointer by level * sizeof(long) past the…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= f771fde82051976a6fc0fd570f8b86de4a92124b <
    4c0c26f751e50d3027eacc4d7d0fabc31f1d7e6b
  - >-
    Linux >= f771fde82051976a6fc0fd570f8b86de4a92124b <
    79916f40d4ab1b4ae694d8c024fd179454bfe46e
  - >-
    Linux >= f771fde82051976a6fc0fd570f8b86de4a92124b <
    e5b01998cef8d7f613200230ccaadebe5de9135c
  - >-
    Linux >= f771fde82051976a6fc0fd570f8b86de4a92124b <
    d1933e03e8c74a018550c31a393b79c4d95bff40
  - >-
    Linux >= f771fde82051976a6fc0fd570f8b86de4a92124b <
    3a744838453fb9309ce5a5526d3252e211d60152
  - >-
    Linux >= f771fde82051976a6fc0fd570f8b86de4a92124b <
    e9417d21a22ad2ec398e78fcf084b717ce92cf2f
  - >-
    Linux >= f771fde82051976a6fc0fd570f8b86de4a92124b <
    8dba33c1e779d0fb9a2acb31e354cf0fc0229111
  - >-
    Linux >= f771fde82051976a6fc0fd570f8b86de4a92124b <
    63918731f9ae25b5deb022f118e941e6dddfcef4
  - Linux 5.3
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-16T19:00:22.634859Z'
published: '2026-08-15'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T19:05:56.377Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-74567'
references:
  - url: 'https://git.kernel.org/stable/c/4c0c26f751e50d3027eacc4d7d0fabc31f1d7e6b'
  - url: 'https://git.kernel.org/stable/c/79916f40d4ab1b4ae694d8c024fd179454bfe46e'
  - url: 'https://git.kernel.org/stable/c/e5b01998cef8d7f613200230ccaadebe5de9135c'
  - url: 'https://git.kernel.org/stable/c/d1933e03e8c74a018550c31a393b79c4d95bff40'
  - url: 'https://git.kernel.org/stable/c/3a744838453fb9309ce5a5526d3252e211d60152'
  - url: 'https://git.kernel.org/stable/c/e9417d21a22ad2ec398e78fcf084b717ce92cf2f'
  - url: 'https://git.kernel.org/stable/c/8dba33c1e779d0fb9a2acb31e354cf0fc0229111'
  - url: 'https://git.kernel.org/stable/c/63918731f9ae25b5deb022f118e941e6dddfcef4'
tags:
  - cve.org
epss: 0.00117
epssPercentile: 0.01552
ingestedAt: '2026-10-16T19:46:24.343Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

keys: fix out-of-bounds read in keyring_get_key_chunk()

For description-level chunks keyring_get_key_chunk() advances the read
pointer by level * sizeof(long) past the inline prefix but only
bounds-checks the prefix, so a long enough key description is read past
its kmemdup(desc, desc_len + 1) allocation.  Compute the full byte
offset and bounds-check the description against it before reading.

The walk only reaches a description-level chunk when two keys collide
through the hash, x, type and domain_tag chunks, so this is reached from
an unprivileged add_key(2) with a crafted pair of same-type keys whose
index hashes collide; KASAN reports a slab-out-of-bounds read.

## Affected

- `Linux >= f771fde82051976a6fc0fd570f8b86de4a92124b < 4c0c26f751e50d3027eacc4d7d0fabc31f1d7e6b`
- `Linux >= f771fde82051976a6fc0fd570f8b86de4a92124b < 79916f40d4ab1b4ae694d8c024fd179454bfe46e`
- `Linux >= f771fde82051976a6fc0fd570f8b86de4a92124b < e5b01998cef8d7f613200230ccaadebe5de9135c`
- `Linux >= f771fde82051976a6fc0fd570f8b86de4a92124b < d1933e03e8c74a018550c31a393b79c4d95bff40`
- `Linux >= f771fde82051976a6fc0fd570f8b86de4a92124b < 3a744838453fb9309ce5a5526d3252e211d60152`
- `Linux >= f771fde82051976a6fc0fd570f8b86de4a92124b < e9417d21a22ad2ec398e78fcf084b717ce92cf2f`
- `Linux >= f771fde82051976a6fc0fd570f8b86de4a92124b < 8dba33c1e779d0fb9a2acb31e354cf0fc0229111`
- `Linux >= f771fde82051976a6fc0fd570f8b86de4a92124b < 63918731f9ae25b5deb022f118e941e6dddfcef4`
- `Linux 5.3`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
