Skip to content
CVE PROGRAM SOURCE RECORD7.1 High

CVE-2026-74567

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • f771fde82051976a6fc0fd570f8b86de4a92124b to < 4c0c26f751e50d3027eacc4d7d0fabc31f1d7e6baffected
  • f771fde82051976a6fc0fd570f8b86de4a92124b to < 79916f40d4ab1b4ae694d8c024fd179454bfe46eaffected
  • f771fde82051976a6fc0fd570f8b86de4a92124b to < e5b01998cef8d7f613200230ccaadebe5de9135caffected
  • f771fde82051976a6fc0fd570f8b86de4a92124b to < d1933e03e8c74a018550c31a393b79c4d95bff40affected
  • f771fde82051976a6fc0fd570f8b86de4a92124b to < 3a744838453fb9309ce5a5526d3252e211d60152affected
  • f771fde82051976a6fc0fd570f8b86de4a92124b to < e9417d21a22ad2ec398e78fcf084b717ce92cf2faffected
  • f771fde82051976a6fc0fd570f8b86de4a92124b to < 8dba33c1e779d0fb9a2acb31e354cf0fc0229111affected
  • f771fde82051976a6fc0fd570f8b86de4a92124b to < 63918731f9ae25b5deb022f118e941e6dddfcef4affected

Linux Linux

Default version status: affected

  • 5.3affected
  • 0 to < 5.3unaffected
  • 5.10.265 to ≤ 5.10.*unaffected
  • 5.15.216 to ≤ 5.15.*unaffected
  • 6.1.183 to ≤ 6.1.*unaffected
  • 6.6.151 to ≤ 6.6.*unaffected
  • 6.12.103 to ≤ 6.12.*unaffected
  • 6.18.44 to ≤ 6.18.*unaffected
  • 7.1.8 to ≤ 7.1.*unaffected
  • 7.2 to ≤ *unaffected

References