public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: PROBLEM: task->tty->driver problem/oops in proc_pid_sta
@ 2004-03-10 13:32 Petr Vandrovec
  2004-03-10 14:44 ` William Lee Irwin III
  0 siblings, 1 reply; 3+ messages in thread
From: Petr Vandrovec @ 2004-03-10 13:32 UTC (permalink / raw)
  To: Brice Figureau; +Cc: linux-kernel, akpm, wli

On 10 Mar 04 at 11:54, Brice Figureau wrote:

> I've digged a little deeper into the following oops that occurs every
> night on my servers (see my previous mail):

Or you could dig LKML archives - I reported it in jan & feb three times.

> Something interesting: the oops occurs always in a thread (either mysql
> or java), not in a principal process (verified by finding the only task
> that is locked by doing some cat in /proc/<pid>/task/).

wli has a patch, unfortunately for some reason it did not hit
main kernel yet. I've put it (without Wli's permission) at 
http://platan.vc.cvut.cz/ftp/pub/linux/pidstat.patch.
For unknown reason patch did not find its way to Linus's kernel yet,
although it renders 2.6.x unusable in any multiuser environment.

> Then I tried to reproduce it exactly and found the following:
> 1) log in with ssh on the server (this allocates a tty: /dev/pts/0)
> 2) launch a java application using some threads, the application in
> question uses /dev/pts/0 as tty
> 3) log-out, this releases /dev/pts/0
> 4) log in again (this session uses /dev/pts/1)
> 5) run chkrootkit or a 'ps mauxgww' -> the previous oops is reported.

I have simple C program which you run under normal account on any
2.6.x kernel and it will turn box into dead piece of metal if SMP
kernel is used, or at least all 'ps' services stop (on UP kernel).
Not useful as exploit, but quite sufficient as a DoS.
                                                            Petr Vandrovec
                                                            


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PROBLEM: task->tty->driver problem/oops in proc_pid_sta
  2004-03-10 13:32 PROBLEM: task->tty->driver problem/oops in proc_pid_sta Petr Vandrovec
@ 2004-03-10 14:44 ` William Lee Irwin III
  2004-03-10 14:59   ` William Lee Irwin III
  0 siblings, 1 reply; 3+ messages in thread
From: William Lee Irwin III @ 2004-03-10 14:44 UTC (permalink / raw)
  To: Petr Vandrovec; +Cc: Brice Figureau, linux-kernel, akpm

On Wed, Mar 10, 2004 at 03:32:00PM +0200, Petr Vandrovec wrote:
> wli has a patch, unfortunately for some reason it did not hit
> main kernel yet. I've put it (without Wli's permission) at 
> http://platan.vc.cvut.cz/ftp/pub/linux/pidstat.patch.
> For unknown reason patch did not find its way to Linus's kernel yet,
> although it renders 2.6.x unusable in any multiuser environment.

That's unfortunate; I was hoping it would fix the bug. Thanks for
testing.


-- wli

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PROBLEM: task->tty->driver problem/oops in proc_pid_sta
  2004-03-10 14:44 ` William Lee Irwin III
@ 2004-03-10 14:59   ` William Lee Irwin III
  0 siblings, 0 replies; 3+ messages in thread
From: William Lee Irwin III @ 2004-03-10 14:59 UTC (permalink / raw)
  To: Petr Vandrovec, Brice Figureau, linux-kernel, akpm

On Wed, Mar 10, 2004 at 03:32:00PM +0200, Petr Vandrovec wrote:
>> wli has a patch, unfortunately for some reason it did not hit
>> main kernel yet. I've put it (without Wli's permission) at 
>> http://platan.vc.cvut.cz/ftp/pub/linux/pidstat.patch.
>> For unknown reason patch did not find its way to Linus's kernel yet,
>> although it renders 2.6.x unusable in any multiuser environment.

On Wed, Mar 10, 2004 at 06:44:02AM -0800, William Lee Irwin III wrote:
> That's unfortunate; I was hoping it would fix the bug. Thanks for
> testing.

Sorry about the misunderstanding. It's good to hear this fixed the bug.
akpm, please apply.


-- wli

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-03-10 14:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-10 13:32 PROBLEM: task->tty->driver problem/oops in proc_pid_sta Petr Vandrovec
2004-03-10 14:44 ` William Lee Irwin III
2004-03-10 14:59   ` William Lee Irwin III

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox