A setuid root program is unable to access /proc/self/fd after it lowers its privileges to a normal user

Solution Verified - Updated -

Issue

  • A setuid root program is unable to access /proc/self/fd after it lowers its privileges to a normal user
  • An open or stat system call on any file descriptor in it results in an EACCES (Permission denied)

Environment

  • Red Hat Enterprise Linux 5
  • kernel version smaller than kernel-2.6.18-238.el5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content