Back

MEDIUM

kernel: get_instantiation_keyring() should inc the keyring refcount in all cases

Published Nov 2, 2009

Description

The get_instantiation_keyring function in security/keys/keyctl.c in the KEYS subsystem in the Linux kernel before 2.6.32-rc5 does not properly maintain the reference count of a keyring, which allows local users to gain privileges or cause a denial of service (OOPS) via vectors involving calls to this function without specifying a keyring by ID, as demonstrated by a series of keyctl request2 and keyctl list commands.

Affected products

Remediation

Red Hat statement

Not vulnerable. This issue did not affect the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 3, 4, 5, or Red Hat Enterprise MRG. Those versions do not include the upstream patch that introduced this vulnerability.

Metrics

Weaknesses (1)

References (13)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner redhat
Published Nov 2, 2009
Updated Aug 7, 2024
Reserved Oct 9, 2009
NVD
Status Modified
Modified Jun 16, 2026
Red Hat
Severity Important
Public date Oct 15, 2009