CVE-2026-74567
Beschrijving NL
In de Linux kernel is de volgende kwetsbaarheid verholpen:
keys: fix out-of-bounds gelezen in keyring_get_key_chunk()
Voor chunks op beschrijvingsniveau gaat keyring_get_key_chunk() verder met lezen
aanwijzer op niveau * grootte van (lang) voorbij het inline-voorvoegsel, maar alleen
grenzen-checkt het voorvoegsel, dus een lang genoeg sleutelbeschrijving wordt voorbij gelezen
de toewijzing van kmemdup (DESC, DESC_len + 1). Bereken de volledige byte
offset en grenzen - controleer de beschrijving voordat u deze leest. De wandeling bereikt alleen een stuk op beschrijvingsniveau wanneer twee sleutels botsen
via de hash, x, type en domain_tag chunks, dus dit wordt bereikt vanaf
een onbevoorrechte add_key(2) met een vervaardigd paar sleutels van hetzelfde type waarvan
index hashes botsen; KASAN meldt een slab-out-of-bounds gelezen.
Origineel (Engels) tonen
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.