another RHL9 kernel patch.

Dave Jones davej at codemonkey.org.uk
Thu Jun 17 11:03:45 UTC 2004


There's a nasty memory leak fixed in FC1 which should have been
backported to RHL9, as its user exploitable, and can be considered
a local DoS.  This was CAN-2004-0427

I'm fairly certain this hasn't been picked up yet, so patch below.

		Dave

--- linux-2.4.20/kernel/fork.c~	2004-06-17 11:49:24.767644168 +0100
+++ linux-2.4.20/kernel/fork.c	2004-06-17 11:49:57.011742320 +0100
@@ -971,6 +971,8 @@
 	exit_namespace(p);
 bad_fork_cleanup_mm:
 	exit_mm(p);
+	if (p->active_mm)
+		mmdrop(p->active_mm);
 bad_fork_cleanup_signal:
 	exit_signal(p);
 bad_fork_cleanup_sighand:





More information about the fedora-legacy-list mailing list