Re: PROBLEM: /proc/$pid/ns/ access of zombies dies with null pointer

From: Eric W. Biederman
Date: Wed Jun 15 2011 - 17:45:16 EST


Ingo Saitz <Ingo.Saitz@xxxxxxxxxxxxxxxxxxxx> writes:

> [1.] One line summary of the problem:
>
> /proc/$pid/ns/ access of zombies dies with null pointer
>
>
> [2.] Full description of the problem/report:
>
> Linux 3.0 introduced /proc/$pid/ns/ directories. The contents of these
> produce a null pointer BUG if the $pid belongs to a zombie process.
>
> This bug can be triggered e.g. by doing a ls in /proc/$pid/ns/ from
> a zombie process.
>
> The kernel switches to a text console and prints the bug on it, and the
> keyboard is not working. But otherwise it seems to run fine, after a
> chvt from a remote login. Only the program accessing the file in proc (ls)
> was killed.

This fixes it for me. Can you confirm?