Race Condition in Linux Kernel Keyring Restriction Handling
CVE-2026-99245
What is CVE-2026-99245?
The Linux kernel contains a vulnerability in the handling of keyring restrictions. The issue arises within the key_reject_and_link() function, where a check for keyring restrictions occurs prior to acquiring the keyring semaphore. This can lead to a race condition with concurrent operations that modify the keyring, potentially allowing unauthorized access to sensitive keyring operations. The fix involves reordering the check to occur after acquiring the semaphore, ensuring that it operates safely within the expected locking protocol.
Affected Version(s)
Linux 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c
Linux 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c < 2c3d907dd15f4e30d4c35b9f7a7a5078de6a1b1f
Linux 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c < 72f367417a6aee56821d0b0114cfd2b080008b63