CVE-2026-74567

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

State
Published
Severity
7.1 High
Published
Aug 15, 2026
Updated
Oct 16, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f771fde82051976a6fc0fd570f8b86de4a92124b to before 4c0c26f751e50d3027eacc4d7d0fabc31f1d7e6bAffected
  • f771fde82051976a6fc0fd570f8b86de4a92124b to before 79916f40d4ab1b4ae694d8c024fd179454bfe46eAffected
  • f771fde82051976a6fc0fd570f8b86de4a92124b to before e5b01998cef8d7f613200230ccaadebe5de9135cAffected
  • f771fde82051976a6fc0fd570f8b86de4a92124b to before d1933e03e8c74a018550c31a393b79c4d95bff40Affected
  • f771fde82051976a6fc0fd570f8b86de4a92124b to before 3a744838453fb9309ce5a5526d3252e211d60152Affected
  • f771fde82051976a6fc0fd570f8b86de4a92124b to before e9417d21a22ad2ec398e78fcf084b717ce92cf2fAffected
  • f771fde82051976a6fc0fd570f8b86de4a92124b to before 8dba33c1e779d0fb9a2acb31e354cf0fc0229111Affected
  • f771fde82051976a6fc0fd570f8b86de4a92124b to before 63918731f9ae25b5deb022f118e941e6dddfcef4Affected
LinuxLinux
  • 5.3Affected
  • before 5.3Not affected
  • 5.10.265 through 5.10.*Not affected
  • 5.15.216 through 5.15.*Not affected
  • 6.1.183 through 6.1.*Not affected
  • 6.6.151 through 6.6.*Not affected
  • 6.12.103 through 6.12.*Not affected
  • 6.18.44 through 6.18.*Not affected
  • 7.1.8 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.