Mandrake Linux Security Advisory : kernel (MDKSA-2001:037)

High Nessus Plugin ID 61910


The remote Mandrake Linux host is missing one or more security updates.


A number of security problems have been found in the Linux kernels prior to the latest 2.2.19 kernel. Following is a list of problems based on the 2.2.19 release notes as found on

- binfmt_misc used user pages directly

- the CPIA driver had an off-by-one error in the buffer code which made it possible for users to write into kernel memory

- the CPUID and MSR drivers had a problem in the module unloading code which could cause a system a crash if they were set to automatically load and unload

- there was a possible hang in the classifier code

- the getsockopt and setsockopt system calls did not handle sign bits correctly which made a local DoS and other attacks possible

- the sysctl system call did not handle sign bits correctly which allowed a user to write in kernel memory

- ptrace/exec races that could give a local user extra privileges

- possible abuse of a boundary case in the sockfilter code

- SYSV shared memory code could overwrite recently freed memory which might cause problems

- the packet lengh checks in the masquerading code were a bit lax (probably not exploitable)

- some x86 assembly bugs caused the wrong number of bytes to be copied

- a local user could deadlock the kernel due to bugs in the UDP port allocation.

All of these problems are corrected in the 2.2.19 kernel and it is highly recommended that all Linux-Mandrake users upgrade their systems to this kernel.

It is also recommended that you download the necessary RPMs and upgrade manually by following these steps :

- type: rpm -ivh kernel-2.2.19-4.1mdk.i586.rpm

- type: mv kernel-2.2.19-4.1mdk.i586.rpm /tmp

- type: rpm -Fvh *.rpm

- type: mkinitrd -f --ifneeded /boot/initrd-2.2.19-4.1mdk 2.2.19-4.1mdk

- type: ln -sf /boot/initrd-2.2.19-4.1mdk /boot/initrd.img

- edit /etc/lilo.conf and double-check the options

- type: /sbin/lilo -v

Replace the kernel revision noted in the above instructions with those from the packages you downloaded. You will then be able to reboot and use the new kernel and remove the older kernel when you are comfortable using the upgraded one.


Update the affected packages.

Plugin Details

Severity: High

ID: 61910

File Name: mandrake_MDKSA-2001-037.nasl

Version: $Revision: 1.3 $

Type: local

Published: 2012/09/06

Modified: 2013/05/31

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:mandriva:linux:alsa, p-cpe:/a:mandriva:linux:alsa-source, p-cpe:/a:mandriva:linux:kernel, p-cpe:/a:mandriva:linux:kernel-doc, p-cpe:/a:mandriva:linux:kernel-headers, p-cpe:/a:mandriva:linux:kernel-linus, p-cpe:/a:mandriva:linux:kernel-pcmcia-cs, p-cpe:/a:mandriva:linux:kernel-secure, p-cpe:/a:mandriva:linux:kernel-smp, p-cpe:/a:mandriva:linux:kernel-source, p-cpe:/a:mandriva:linux:kernel-utils, p-cpe:/a:mandriva:linux:reiserfs-utils, cpe:/o:mandrakesoft:mandrake_linux:6.0, cpe:/o:mandrakesoft:mandrake_linux:6.1, cpe:/o:mandrakesoft:mandrake_linux:7.0, cpe:/o:mandrakesoft:mandrake_linux:7.1, cpe:/o:mandrakesoft:mandrake_linux:7.2

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/Mandrake/release, Host/Mandrake/rpm-list

Patch Publication Date: 2001/04/17

Reference Information

CVE: CVE-2001-0316, CVE-2001-1390, CVE-2001-1391, CVE-2001-1392, CVE-2001-1393, CVE-2001-1394, CVE-2001-1395, CVE-2001-1396, CVE-2001-1397, CVE-2001-1398, CVE-2001-1399, CVE-2001-1400

MDKSA: 2001:037