Ksh (ksh93) Can Lead to a Fork Bomb and Make the System Unresponsive

(Doc ID 1986326.1)

Last updated on AUGUST 01, 2016

Applies to:

Solaris Operating System - Version 11.1 and later
Information in this document applies to any platform.

Symptoms

A system running Solaris 11.x can be affected by this. Should it happen, it behaves with a typical fork bomb exposure:

 

A kernel crash dump can be created in that situation by sending a break signal. The crash dump will then show that a ksh shell has one ksh child, and that child has one ksh child and so on:

Note that this tree has many more entries with exactly one ksh child on each level of that sub tree.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms