bash command forks unlimited number of childs with user rights

Bug #127897 reported by Andreas Schmidt
4
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.

Revision history for this message
Andreas Schmidt (aschmidt1982) wrote :

My actual Kernel is 2.6.20-16 on a 32Bit Architecture

Changed in bash:
assignee: nobody → kernel-bugs
Revision history for this message
Kees Cook (kees) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. This bug has already been reported, and is being worked on.

Changed in bash:
assignee: kernel-bugs → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.