Back

MEDIUM

kernel: O_EXCL creates on NFSv4 are broken

Published Sep 22, 2009

Description

NFSv4 in the Linux kernel 2.6.18, and possibly other versions, does not properly clean up an inode when an O_EXCL create fails, which causes files to be created with insecure settings such as setuid bits, and possibly allows local users to gain privileges, related to the execution of the do_open_permission function even when a create fails.

Affected products

Remediation

Red Hat statement

This issue did not affect the versions of Linux kernel as shipped with Red Hat Enterprise Linux 3, 4, and Red Hat Enterprise MRG.

Metrics

Weaknesses (1)

References (16)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Sep 22, 2009
Updated Aug 7, 2024
Reserved Sep 22, 2009
NVD
Status Modified
Modified Jun 16, 2026
Red Hat
Severity Important
Public date Sep 9, 2009