Package name
Advisory ID
Affected versions
8.2 i586 , 8.2 i586 , MNF8.2 i586

Problem description

A bug in the kernel module loader code could allow a local user to gain root privileges. This is done by a local user using ptrace and attaching to a modprobe process that is spawned if the user triggers the loading of a kernel module. A temporary workaround can be used to defend against this flaw. It is possible to temporarily disable the kmod kernel module loading subsystem in the kernel after all of the required kernel modules have been loaded. Be sure that you do not need to load additional kernel modules after implementing this workaround. To use it, as root execute: echo /no/such/file >/proc/sys/kernel/modprobe To automate this, you may wish to add it as the last line of the /etc/rc.d/rc.local file. You can revert this change by replacing the content "/sbin/modprobe" in the /proc/sys/kernel/modprobe file. The root user can still manually load kernel modules with this workaround in place. This update applies a patch to correct the problem. All users should upgrade. Please note that the Mandrake Linux 9.1 kernel already has this patch, and an updated kernel for Mandrake Linux 8.2 will be available shortly. For instructions on how to upgrade your kernel in Mandrake Linux, please refer to: Update: Kernels are now available for Mandrake Linux 8.2, 8.2/PPC, and Multi- Network Firewall 8.2. As well, the previously noted instructions for temporarily working around the vulnerability are not completely accurate as they only defend against a certain type of attack making use of this problem. Users should upgrade to the update kernels, however if you are unable to upgrade you may wish to look into the self-compiled no-ptrace-module.c[1] that is loaded into a running kernel.

Updated packages

8.2 i586

 8ac23ce91ece4c7bb60b8edbc7a30626  ppc/8.2/RPMS/kernel-
8177bc95cd70c270b78a91645bdbe79d  ppc/8.2/RPMS/kernel-enterprise-
106ecdf8f15868509ba43277288b68de  ppc/8.2/RPMS/kernel-smp-
107730358e5caa627d23360bb0fb2a02  ppc/8.2/RPMS/kernel-source-2.4.19-34mdk.ppc.rpm
22373c1175b8092fce59e0a87d072fa8  ppc/8.2/SRPMS/kernel-

8.2 i586

 3fec7895b79c0dfc7dd917208d7b693a  8.2/RPMS/kernel-
e21014df3187220340d5bdc0131462a5  8.2/RPMS/kernel-BOOT-
c63b60b445cf0f13fefd5ac749f93f4d  8.2/RPMS/kernel-enterprise-
73c237088825424cdd319130a11096aa  8.2/RPMS/kernel-secure-
d102e5a774d0cea467df99f07705ddf2  8.2/RPMS/kernel-smp-
0c577d4ad312131885bc5dccf1d02b59  8.2/RPMS/kernel-source-2.4.19-33mdk.i586.rpm
7dd71eff7ce5b75204f0b69af354ea40  8.2/SRPMS/kernel-

MNF8.2 i586

 73c237088825424cdd319130a11096aa  mnf8.2/RPMS/kernel-secure-
7dd71eff7ce5b75204f0b69af354ea40  mnf8.2/SRPMS/kernel-