PT-2026-167040

CVE-2026-143182

·

Published

2026-12-03

·

Updated

2026-12-03

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

In the Linux kernel, the following vulnerability has been resolved:
KEYS: Verify the key identity in key unlink begin
When two keys have identical type and description, linking the second key replaces the first in a keyring. However, attempting to unlink the first key (no longer in the keyring) unlinks the second key.
This happens because key unlink begin() calls assoc array delete() with &key->index key, matching only on type and description rather than the key's identity.
Example:
keyctl new session >/dev/null keyctl newring ring a @s keyctl newring ring b @s A=$(keyctl add user A ss %:ring a) B=$(keyctl add user A qq %:ring b) keyctl newring R @s keyctl link $A %:R keyctl link $B %:R keyctl unlink $A %:R keyctl show
Verify the key identity before unlinking, and return -ENOENT on mismatch, instead of unlinking the key with the wrong identity.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾