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

high Nessus Plugin ID 61910

Synopsis

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

Description

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 http://www.linux.org.uk/

- 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.

Solution

Update the affected packages.

Plugin Details

Severity: High

ID: 61910

File Name: mandrake_MDKSA-2001-037.nasl

Version: 1.6

Type: local

Published: 9/6/2012

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

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: 4/17/2001

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