{"id":"CVE-2026-74567","state":"PUBLISHED","title":"keys: fix out-of-bounds read in keyring_get_key_chunk()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nkeys: fix out-of-bounds read in keyring_get_key_chunk()\n\nFor description-level chunks keyring_get_key_chunk() advances the read\npointer by level * sizeof(long) past the inline prefix but only\nbounds-checks the prefix, so a long enough key description is read past\nits kmemdup(desc, desc_len + 1) allocation.  Compute the full byte\noffset and bounds-check the description against it before reading.\n\nThe walk only reaches a description-level chunk when two keys collide\nthrough the hash, x, type and domain_tag chunks, so this is reached from\nan unprivileged add_key(2) with a crafted pair of same-type keys whose\nindex hashes collide; KASAN reports a slab-out-of-bounds read.","publishedAt":"2026-08-15T12:28:08.240Z","updatedAt":"2026-10-16T19:05:56.377Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f771fde82051976a6fc0fd570f8b86de4a92124b","status":"affected","lessThan":"4c0c26f751e50d3027eacc4d7d0fabc31f1d7e6b","versionType":"git"},{"version":"f771fde82051976a6fc0fd570f8b86de4a92124b","status":"affected","lessThan":"79916f40d4ab1b4ae694d8c024fd179454bfe46e","versionType":"git"},{"version":"f771fde82051976a6fc0fd570f8b86de4a92124b","status":"affected","lessThan":"e5b01998cef8d7f613200230ccaadebe5de9135c","versionType":"git"},{"version":"f771fde82051976a6fc0fd570f8b86de4a92124b","status":"affected","lessThan":"d1933e03e8c74a018550c31a393b79c4d95bff40","versionType":"git"},{"version":"f771fde82051976a6fc0fd570f8b86de4a92124b","status":"affected","lessThan":"3a744838453fb9309ce5a5526d3252e211d60152","versionType":"git"},{"version":"f771fde82051976a6fc0fd570f8b86de4a92124b","status":"affected","lessThan":"e9417d21a22ad2ec398e78fcf084b717ce92cf2f","versionType":"git"},{"version":"f771fde82051976a6fc0fd570f8b86de4a92124b","status":"affected","lessThan":"8dba33c1e779d0fb9a2acb31e354cf0fc0229111","versionType":"git"},{"version":"f771fde82051976a6fc0fd570f8b86de4a92124b","status":"affected","lessThan":"63918731f9ae25b5deb022f118e941e6dddfcef4","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["security/keys/keyring.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.3","versionType":"semver"},{"version":"5.10.265","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.216","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.183","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.151","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.103","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.44","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.8","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["security/keys/keyring.c"]}],"references":["https://git.kernel.org/stable/c/4c0c26f751e50d3027eacc4d7d0fabc31f1d7e6b","https://git.kernel.org/stable/c/79916f40d4ab1b4ae694d8c024fd179454bfe46e","https://git.kernel.org/stable/c/e5b01998cef8d7f613200230ccaadebe5de9135c","https://git.kernel.org/stable/c/d1933e03e8c74a018550c31a393b79c4d95bff40","https://git.kernel.org/stable/c/3a744838453fb9309ce5a5526d3252e211d60152","https://git.kernel.org/stable/c/e9417d21a22ad2ec398e78fcf084b717ce92cf2f","https://git.kernel.org/stable/c/8dba33c1e779d0fb9a2acb31e354cf0fc0229111","https://git.kernel.org/stable/c/63918731f9ae25b5deb022f118e941e6dddfcef4"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/74xxx/CVE-2026-74567.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-74567","state":"PUBLISHED","datePublished":"2026-08-15T12:28:08.240Z","dateUpdated":"2026-10-16T19:05:56.377Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-15T05:44:03.917Z"},"containers":{"cna":{"title":"keys: fix out-of-bounds read in keyring_get_key_chunk()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nkeys: fix out-of-bounds read in keyring_get_key_chunk()\n\nFor description-level chunks keyring_get_key_chunk() advances the read\npointer by level * sizeof(long) past the inline prefix but only\nbounds-checks the prefix, so a long enough key description is read past\nits kmemdup(desc, desc_len + 1) allocation.  Compute the full byte\noffset and bounds-check the description against it before reading.\n\nThe walk only reaches a description-level chunk when two keys collide\nthrough the hash, x, type and domain_tag chunks, so this is reached from\nan unprivileged add_key(2) with a crafted pair of same-type keys whose\nindex hashes collide; KASAN reports a slab-out-of-bounds read."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f771fde82051976a6fc0fd570f8b86de4a92124b","status":"affected","lessThan":"4c0c26f751e50d3027eacc4d7d0fabc31f1d7e6b","versionType":"git"},{"version":"f771fde82051976a6fc0fd570f8b86de4a92124b","status":"affected","lessThan":"79916f40d4ab1b4ae694d8c024fd179454bfe46e","versionType":"git"},{"version":"f771fde82051976a6fc0fd570f8b86de4a92124b","status":"affected","lessThan":"e5b01998cef8d7f613200230ccaadebe5de9135c","versionType":"git"},{"version":"f771fde82051976a6fc0fd570f8b86de4a92124b","status":"affected","lessThan":"d1933e03e8c74a018550c31a393b79c4d95bff40","versionType":"git"},{"version":"f771fde82051976a6fc0fd570f8b86de4a92124b","status":"affected","lessThan":"3a744838453fb9309ce5a5526d3252e211d60152","versionType":"git"},{"version":"f771fde82051976a6fc0fd570f8b86de4a92124b","status":"affected","lessThan":"e9417d21a22ad2ec398e78fcf084b717ce92cf2f","versionType":"git"},{"version":"f771fde82051976a6fc0fd570f8b86de4a92124b","status":"affected","lessThan":"8dba33c1e779d0fb9a2acb31e354cf0fc0229111","versionType":"git"},{"version":"f771fde82051976a6fc0fd570f8b86de4a92124b","status":"affected","lessThan":"63918731f9ae25b5deb022f118e941e6dddfcef4","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["security/keys/keyring.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.3","versionType":"semver"},{"version":"5.10.265","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.216","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.183","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.151","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.103","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.44","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.8","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["security/keys/keyring.c"]}],"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"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The flaw is reached only through local key-management syscalls (add_key, keyctl link/search) that walk the keyring assoc_array in security/keys/keyring.c; the keys subsystem has no network-facing handler or remote packet path.\nAC:L - An attacker fully controls both key descriptions and can offline-compute a same-type pair whose index collides through hash, x, type and domain_tag yet differs later, deterministically forcing description-level chunks without races or uncontrollable layout.\nPR:L - The fix commit and add_key path confirm any unprivileged local user can add crafted keys to their own session/user keyring (lookup_user_key with KEY_NEED_WRITE); no real-root capability or init-namespace privilege is required.\nUI:N - Exploitation is self-contained: the attacker issues add_key twice with crafted colliding descriptions into a writable keyring they own; no action by another user or administrator is required.\nS:U - The out-of-bounds slab read and any disclosed data remain within the host kernel's security authority; this is standard local kernel memory access, not a VM escape, IOMMU bypass, or sandbox boundary crossing.\nC:H - keyring_get_key_chunk() reads up to a word past the kmemdup(desc,desc_len+1) allocation when the offset includes level*sizeof(long), yielding an adjacent-heap read primitive that can disclose kernel pointers and other sensitive slab contents.\nI:N - This is a read-only out-of-bounds access with no kernel memory write, type confusion, or control-flow hijack; the bug discloses data but does not directly modify kernel or victim integrity.\nA:H - KASAN reports slab-out-of-bounds on trigger, and reading beyond the description allocation can fault at slab/page boundaries; the add_key insertion path is trivially repeatable for denial-of-service."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-19T16:39:09.169Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"5.10.265"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"5.15.216"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"6.1.183"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"6.6.151"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"6.12.103"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"6.18.44"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"7.1.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-74567","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-10-16T19:00:22.634859Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T19:05:56.377Z"}}]}}}