keys: make keyring key-chunk byte order agree with keyring_diff_objects() (Linux Linux)

CVE-2026-74566
Not available

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 6 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected f771fde82051976a6fc0fd570f8b86de4a92124b < 414bcf37d81ce9b3823aabc06b04c97fdcbe489b ; affected f771fde82051976a6fc0fd570f8b86de4a92124b < abe43c661efb753d5ee35ad8ace4bbb16fa9afd0 ; affected f771fde82051976a6fc0fd570f8b86de4a92124b < f81920917074e3c4ad4fba06fe8c56738d010606 ; affected f771fde82051976a6fc0fd570f8b86de4a92124b < bd0f976ef89dce6db458bf75bc2cf51127becc41 ; affected f771fde82051976a6fc0fd570f8b86de4a92124b < 7269df3e7fcfa308e6a456305162f7788747bdbd ; affected f771fde82051976a6fc0fd570f8b86de4a92124b < 3d9f16c0b643ceac305526b2e2fe25c2c6166926
Linux · Linuxaffected 5.3 ; unaffected 0 < 5.3 ; unaffected 5.10.265 ≤ 5.10.* ; unaffected 5.15.216 ≤ 5.15.* ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.151 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD