bash command forks unlimited number of childs with user rights
Bug #127897 reported by
Andreas Schmidt
This bug report is a duplicate of:
Bug #14505: Consider setting more restrictive default resource limits.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pam (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bash
As the normal working user on my Kubuntu 7.04 I started the bash and entered the following command:
:(){ :|:& };:
This is a recursive call for 2 childs of the current process, and it will freeze your system in a couple of seconds.
I tried this on several systems (Notebook and Desktop, both with 7.04) and each time it crashes.
For example, I tried this with a Knoppix Live CD, and the system did not crash, cause the max. number of childs you can fork is limited for a standart user.
I think this should be added to the standart Kernel configuration of Kubuntu too.
To post a comment you must log in.
My actual Kernel is 2.6.20-16 on a 32Bit Architecture