CVE-2026-143182

Source
https://cve.org/CVERecord?id=CVE-2026-143182
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143182.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143182
Downstream
Published
2026-12-03T09:20:14Z
Modified
2026-12-03T11:01:35Z
Summary
KEYS: Verify the key identity in __key_unlink_begin
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143182.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b2a4df200d570b2c33a57e1ebfa5896e4bc81b69
Fixed
c6d79090251f527cc98a18810bf4d31980054f3f
Fixed
7c75c2813d74b4250c5b7bd89a151bee5dca35d9
Fixed
c8079f8e39360057798c1a569027d5cf15c66162
Fixed
3a7532a40fd25163a63f0bb3257118aaba6190b1
Fixed
f880f9e8f65a1df621dbf43eb552e37bf2ee27e1
Show 1 more event Show fewer events
Fixed
7a7f70ff7b26519c98b339a3e0cd9ee3c8d17f77

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143182.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.13.0
Fixed
5.10.276
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.227
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143182.json"