Re: [PATCH] cpuset: make ntasks to be a monotonic increasing value

From: Lai Jiangshan
Date: Thu Jul 31 2008 - 03:47:55 EST



Er, I can't. But this attack is existence theoretically indeed.
And IMO a monotonic increasing value is very helpful for this loop.


Li Zefan wrote:
> Lai Jiangshan wrote:
>> ntasks is not a monotonic increasing value,
>> So maybe fudge+1 processes are created when kmalloc and killed
>> when kfree in every loop. And the loop will not end or
>> repetition a long time.
>>
>> This patch prevent this kind of attack.
>>
>
> Could you demonstrate how to manage to do this so-called attack in
> real-life?
>
>
>
>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/