public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* reiserfs one user DoS?
@ 2003-10-04 12:06 Max A. Krasilnikov
  2003-10-04 16:08 ` Hans Reiser
  2003-10-06 19:29 ` Oleg Drokin
  0 siblings, 2 replies; 7+ messages in thread
From: Max A. Krasilnikov @ 2003-10-04 12:06 UTC (permalink / raw)
  To: linux-kernel

Hi!
I have found such strange thing:

pseudo@avalon at 14:04:00  ~> dd if=/dev/zero of=file bs=1 count=0 seek=1000000000000

After that my Intel Celeron 800 MHz/384M RAM 60G/Seagate U6 under
Linux-2.4.22-grsec on reiserfs was utilized 100% for more than 2 hours.
dd process can't be killed.

Is this my flow or real bug?

-- 
WBR, Max A. Krasilnikov
"Colocall" Internet Data Center


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

* Re: reiserfs one user DoS?
  2003-10-04 12:06 reiserfs one user DoS? Max A. Krasilnikov
@ 2003-10-04 16:08 ` Hans Reiser
  2003-10-05 16:09   ` Christian Kujau
  2003-10-06 19:29 ` Oleg Drokin
  1 sibling, 1 reply; 7+ messages in thread
From: Hans Reiser @ 2003-10-04 16:08 UTC (permalink / raw)
  To: Max A. Krasilnikov; +Cc: linux-kernel

Max A. Krasilnikov wrote:

>Hi!
>I have found such strange thing:
>
>pseudo@avalon at 14:04:00  ~> dd if=/dev/zero of=file bs=1 count=0 seek=1000000000000
>
>After that my Intel Celeron 800 MHz/384M RAM 60G/Seagate U6 under
>Linux-2.4.22-grsec on reiserfs was utilized 100% for more than 2 hours.
>dd process can't be killed.
>
>Is this my flow or real bug?
>
>  
>
it is fixed in reiser4.  linux has a lot of DOS vulerabilities to logged 
in users, mostly due to the ability to consume all of some resource or 
another.  forgive me for not discussing them publicly.;-)

-- 
Hans



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

* Re: reiserfs one user DoS?
  2003-10-04 16:08 ` Hans Reiser
@ 2003-10-05 16:09   ` Christian Kujau
  2003-10-05 23:51     ` Erik Tews
  0 siblings, 1 reply; 7+ messages in thread
From: Christian Kujau @ 2003-10-05 16:09 UTC (permalink / raw)
  To: linux-kernel

Hans Reiser schrieb:
> Max A. Krasilnikov wrote:
> 
>> Hi!
>> I have found such strange thing:
>>
>> pseudo@avalon at 14:04:00  ~> dd if=/dev/zero of=file bs=1 count=0 
>> seek=1000000000000
>>
>> After that my Intel Celeron 800 MHz/384M RAM 60G/Seagate U6 under
>> Linux-2.4.22-grsec on reiserfs was utilized 100% for more than 2 hours.
>> dd process can't be killed.
>>
>> Is this my flow or real bug?
>>
>>  
>>
> it is fixed in reiser4.  linux has a lot of DOS vulerabilities to logged 
> in users, mostly due to the ability to consume all of some resource or 
> another.  forgive me for not discussing them publicly.;-)

perhaps "ulimit" could help here.

man bash-builtins, search for "ulimit" then.

Christian.
-- 
BOFH excuse #153:

Big to little endian conversion error


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

* Re: reiserfs one user DoS?
  2003-10-05 16:09   ` Christian Kujau
@ 2003-10-05 23:51     ` Erik Tews
  2003-10-06  2:03       ` Mike Fedyk
  0 siblings, 1 reply; 7+ messages in thread
From: Erik Tews @ 2003-10-05 23:51 UTC (permalink / raw)
  To: Christian Kujau; +Cc: linux-kernel

On Sun, Oct 05, 2003 at 06:09:24PM +0200, Christian Kujau wrote:
> Hans Reiser schrieb:
> >>I have found such strange thing:
> >>
> >>pseudo@avalon at 14:04:00  ~> dd if=/dev/zero of=file bs=1 count=0 
> >>seek=1000000000000
> >>
> >>After that my Intel Celeron 800 MHz/384M RAM 60G/Seagate U6 under
> >>Linux-2.4.22-grsec on reiserfs was utilized 100% for more than 2 hours.
> >>dd process can't be killed.
> >>
> >>Is this my flow or real bug?
> >>
> >it is fixed in reiser4.  linux has a lot of DOS vulerabilities to logged 
> >in users, mostly due to the ability to consume all of some resource or 
> >another.  forgive me for not discussing them publicly.;-)
> 
> perhaps "ulimit" could help here.

Really? If I got a process which is unkillable, how can the kernel kill
this process if it runs out of cpu-time?

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

* Re: reiserfs one user DoS?
  2003-10-05 23:51     ` Erik Tews
@ 2003-10-06  2:03       ` Mike Fedyk
  2003-10-06  2:14         ` viro
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Fedyk @ 2003-10-06  2:03 UTC (permalink / raw)
  To: Erik Tews; +Cc: Christian Kujau, linux-kernel

On Mon, Oct 06, 2003 at 01:51:49AM +0200, Erik Tews wrote:
> On Sun, Oct 05, 2003 at 06:09:24PM +0200, Christian Kujau wrote:
> > Hans Reiser schrieb:
> > >>I have found such strange thing:
> > >>
> > >>pseudo@avalon at 14:04:00  ~> dd if=/dev/zero of=file bs=1 count=0 
> > >>seek=1000000000000
> > >>
> > >>After that my Intel Celeron 800 MHz/384M RAM 60G/Seagate U6 under
> > >>Linux-2.4.22-grsec on reiserfs was utilized 100% for more than 2 hours.
> > >>dd process can't be killed.
> > >>
> > >>Is this my flow or real bug?
> > >>
> > >it is fixed in reiser4.  linux has a lot of DOS vulerabilities to logged 
> > >in users, mostly due to the ability to consume all of some resource or 
> > >another.  forgive me for not discussing them publicly.;-)
> > 
> > perhaps "ulimit" could help here.
> 
> Really? If I got a process which is unkillable, how can the kernel kill
> this process if it runs out of cpu-time?

If it is unkillable, you're either talking about kernel bugs or NFS, and
root should be able to kill a user process that has run out of ulimit
resources.

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

* Re: reiserfs one user DoS?
  2003-10-06  2:03       ` Mike Fedyk
@ 2003-10-06  2:14         ` viro
  0 siblings, 0 replies; 7+ messages in thread
From: viro @ 2003-10-06  2:14 UTC (permalink / raw)
  To: Erik Tews, Christian Kujau, linux-kernel

On Sun, Oct 05, 2003 at 07:03:42PM -0700, Mike Fedyk wrote:
> On Mon, Oct 06, 2003 at 01:51:49AM +0200, Erik Tews wrote:
> > On Sun, Oct 05, 2003 at 06:09:24PM +0200, Christian Kujau wrote:
> > > Hans Reiser schrieb:
> > > >>I have found such strange thing:
> > > >>
> > > >>pseudo@avalon at 14:04:00  ~> dd if=/dev/zero of=file bs=1 count=0 
> > > >>seek=1000000000000
> > > >>
> > > >>After that my Intel Celeron 800 MHz/384M RAM 60G/Seagate U6 under
> > > >>Linux-2.4.22-grsec on reiserfs was utilized 100% for more than 2 hours.
> > > >>dd process can't be killed.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> > Really? If I got a process which is unkillable, how can the kernel kill
> > this process if it runs out of cpu-time?
> 
> If it is unkillable, you're either talking about kernel bugs or NFS, and
> root should be able to kill a user process that has run out of ulimit
> resources.

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

* Re: reiserfs one user DoS?
  2003-10-04 12:06 reiserfs one user DoS? Max A. Krasilnikov
  2003-10-04 16:08 ` Hans Reiser
@ 2003-10-06 19:29 ` Oleg Drokin
  1 sibling, 0 replies; 7+ messages in thread
From: Oleg Drokin @ 2003-10-06 19:29 UTC (permalink / raw)
  To: Max A. Krasilnikov; +Cc: linux-kernel

Hello!

On Sat, Oct 04, 2003 at 03:06:25PM +0300, Max A. Krasilnikov wrote:
> I have found such strange thing:
> pseudo@avalon at 14:04:00  ~> dd if=/dev/zero of=file bs=1 count=0 seek=1000000000000
> After that my Intel Celeron 800 MHz/384M RAM 60G/Seagate U6 under
> Linux-2.4.22-grsec on reiserfs was utilized 100% for more than 2 hours.
> dd process can't be killed.
> Is this my flow or real bug?

This particular problem is fixed in current 2.4 bk tree (and the fix
will be in 2.4.23). Also this problem does not exist in 2.6 for some time now.

Bye,
    Oleg

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

end of thread, other threads:[~2003-10-06 19:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-04 12:06 reiserfs one user DoS? Max A. Krasilnikov
2003-10-04 16:08 ` Hans Reiser
2003-10-05 16:09   ` Christian Kujau
2003-10-05 23:51     ` Erik Tews
2003-10-06  2:03       ` Mike Fedyk
2003-10-06  2:14         ` viro
2003-10-06 19:29 ` Oleg Drokin

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