Bug 2517024 (CVE-2026-74566) - CVE-2026-74566 kernel: keys: make keyring key-chunk byte order agree with keyring_diff_objects()
Summary: CVE-2026-74566 kernel: keys: make keyring key-chunk byte order agree with key...
Keywords:
Status: NEW
Alias: CVE-2026-74566
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-15 12:45 UTC by OSIDB Bzimport
Modified: 2026-08-21 07:49 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-15 12:45:09 UTC
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.

Comment 1 Mauro Matteo Cascella 2026-08-21 07:46:00 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026081553-CVE-2026-74566-8e78@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.