cvelo
P4 · InfoEPSS 0.2%

KEYS: Fix key_reject_and_link() race with keyring restriction

  • CVE-2026-99245
  • GHSA-g5g7-wfj6-x845
  • EUVD-2026-115775

Description

In the Linux kernel, the following vulnerability has been resolved: KEYS: Fix key_reject_and_link() race with keyring restriction The restrict_link check in key_reject_and_link() is done before taking the keyring semaphore, racing with a concurrent keyring_restrict() that installs the restriction while holding the semaphore in write mode. Move the check to after __key_link_lock(), so it is done under the semaphore, matching the pattern used in __key_create_or_update().

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    4.7none stated
    before 4.7: not affectednone stated
    from 5.10.273 up to 5.10.*: not affectednone stated
    from 5.15.224 up to 5.15.*: not affectednone stated
    from 6.1.191 up to 6.1.*: not affectednone stated
    from 6.6.161 up to 6.6.*: not affectednone stated
    from 6.12.115 up to 6.12.*: not affectednone stated
    from 6.18.60 up to 6.18.*: not affectednone stated

    and 3 more

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.