--- linux-2.4.22-CVS-orig/kernel/fork.c Thu Feb 5 10:51:30 2004 +++ linux-2.4.22-CVS-mod/kernel/fork.c Tue May 18 20:35:23 2004 @@ -974,6 +974,8 @@ exit_namespace(p); bad_fork_cleanup_mm: exit_mm(p); + if (p->active_mm) + mmdrop(p->active_mm); bad_fork_cleanup_sighand: exit_sighand(p); bad_fork_cleanup_fs: