keys: make keyring key-chunk byte order agree with keyring_diff_objects()
Summary
| CVE | CVE-2026-74566 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-15 13:18:02 UTC |
| Updated | 2026-08-15 13:18:02 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
keys: make keyring key-chunk byte order agree with keyring_diff_objects()
keyring_get_key_chunk() loads description bytes into the index chunk low
address first, while keyring_diff_objects() numbers the first differing
bit from the low end and folds the absolute byte index into the level
without removing the inline-prefix offset the level already carries.
The two disagree on byte order and bit position, so the array can be
told two keys first differ at a bit that does not differ in the chunk
the walker uses, letting crafted descriptions collide into one node.
Load the chunk in the order keyring_diff_objects() assumes and drop the
inline-prefix length when folding the byte index into the level. This
only changes the in-memory ordering used to place keys within a keyring;
add, search and read of non-colliding keys are unaffected. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected f771fde82051976a6fc0fd570f8b86de4a92124b bd0f976ef89dce6db458bf75bc2cf51127becc41 git |
Not specified |
| CNA |
Linux |
Linux |
affected f771fde82051976a6fc0fd570f8b86de4a92124b 7269df3e7fcfa308e6a456305162f7788747bdbd git |
Not specified |
| CNA |
Linux |
Linux |
affected f771fde82051976a6fc0fd570f8b86de4a92124b 3d9f16c0b643ceac305526b2e2fe25c2c6166926 git |
Not specified |
| CNA |
Linux |
Linux |
affected f771fde82051976a6fc0fd570f8b86de4a92124b 7e5397a3fed0dee7779bd084bec3c0584db3c930 git |
Not specified |
| CNA |
Linux |
Linux |
affected f771fde82051976a6fc0fd570f8b86de4a92124b 58565eef0f8d861aae92abfb7658458d661cee17 git |
Not specified |
| CNA |
Linux |
Linux |
affected 5.3 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.3 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.151 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.103 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.44 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.1.8 7.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.2-rc6 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/58565eef0f8d861aae92abfb7658458d661cee17 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/7269df3e7fcfa308e6a456305162f7788747bdbd |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/7e5397a3fed0dee7779bd084bec3c0584db3c930 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/3d9f16c0b643ceac305526b2e2fe25c2c6166926 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/bd0f976ef89dce6db458bf75bc2cf51127becc41 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.