7.1high
keys: fix out-of-bounds read in keyring_get_key_chunk()
- Severity
- 7.1high CVSS:3.1 by Linux
- Exploit likelihood
- 0.12% (higher than 1% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from f771fde82051976a6fc0fd570f8b86de4a92124b before 4c0c26f751e50d3027eacc4d7d0fabc31f1d7e6b, from f771fde82051976a6fc0fd570f8b86de4a92124b before 79916f40d4ab1b4ae694d8c024fd179454bfe46e, from f771fde82051976a6fc0fd570f8b86de4a92124b before e5b01998cef8d7f613200230ccaadebe5de9135c, from f771fde82051976a6fc0fd570f8b86de4a92124b before d1933e03e8c74a018550c31a393b79c4d95bff40, from f771fde82051976a6fc0fd570f8b86de4a92124b before 3a744838453fb9309ce5a5526d3252e211d60152, from f771fde82051976a6fc0fd570f8b86de4a92124b before e9417d21a22ad2ec398e78fcf084b717ce92cf2f, from f771fde82051976a6fc0fd570f8b86de4a92124b before 8dba33c1e779d0fb9a2acb31e354cf0fc0229111, from f771fde82051976a6fc0fd570f8b86de4a92124b before 63918731f9ae25b5deb022f118e941e6dddfcef4 and 1 more Not affected: before 5.3, from 5.10.265 up to 5.10.*, from 5.15.216 up to 5.15.*, from 6.1.183 up to 6.1.*, from 6.6.151 up to 6.6.*, from 6.12.103 up to 6.12.* | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74567 changed 2026-10-16 | CVE Terms of Use |
| NVD | CVE-2026-74567 changed 2026-10-16 | Public domain |