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

high Nessus Plugin ID 14136

Synopsis

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

Description

A vulnerability was found in the framebuffer driver of the 2.6 kernel.
This is due to incorrect use of the fb_copy_cmap function.
(CVE-2004-0229)

A vulnerability has been found in the Linux kernel in the ip_setsockopt() function code. There is an exploitable integer overflow inside the code handling the MCAST_MSFILTER socket option in the IP_MSFILTER_SIZE macro calculation. This issue is present in both 2.4 (2.4.25) and 2.6 kernels. (CVE-2004-0424)

There is a minor issue with the static buffer in 2.4 kernel's panic() function. Although it's a possibly buffer overflow, it most like not exploitable due to the nature of panic(). (CVE-2004-0394)

In do_fork(), if an error occurs after the mm_struct for the child has been allocated, it is never freed. The exit_mm() meant to free it increments the mm_count and this count is never decremented. (For a running process that is exitting, schedule() takes care this; however, the child process being cleaned up is not running.) In the CLONE_VM case, the parent's mm_struct will get an extra mm_count and so it will never be freed. This issue is present in both 2.4 and 2.6 kernels.
(CVE-2004-0427)

The provided packages are patched to fix these vulnerabilities. All users are encouraged to upgrade to these updated kernels.

To update your kernel, please follow the directions located at :

http://www.mandrakesecure.net/en/kernelupdate.php

Solution

Update the affected packages.

Plugin Details

Severity: High

ID: 14136

File Name: mandrake_MDKSA-2004-037.nasl

Version: 1.20

Type: local

Published: 7/31/2004

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.2

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

Vulnerability Information

CPE: p-cpe:/a:mandriva:linux:kernel-2.4.21.0.30mdk, p-cpe:/a:mandriva:linux:kernel-2.4.22.30mdk, p-cpe:/a:mandriva:linux:kernel-2.4.25.4mdk, p-cpe:/a:mandriva:linux:kernel-2.6.3.9mdk, p-cpe:/a:mandriva:linux:kernel-enterprise-2.4.21.0.30mdk, p-cpe:/a:mandriva:linux:kernel-enterprise-2.4.22.30mdk, p-cpe:/a:mandriva:linux:kernel-enterprise-2.4.25.4mdk, p-cpe:/a:mandriva:linux:kernel-enterprise-2.6.3.9mdk, p-cpe:/a:mandriva:linux:kernel-i686-up-4gb-2.4.22.30mdk, p-cpe:/a:mandriva:linux:kernel-i686-up-4gb-2.4.25.4mdk, p-cpe:/a:mandriva:linux:kernel-i686-up-4gb-2.6.3.9mdk, p-cpe:/a:mandriva:linux:kernel-p3-smp-64gb-2.4.22.30mdk, p-cpe:/a:mandriva:linux:kernel-p3-smp-64gb-2.4.25.4mdk, p-cpe:/a:mandriva:linux:kernel-p3-smp-64gb-2.6.3.9mdk, p-cpe:/a:mandriva:linux:kernel-secure-2.4.21.0.30mdk, p-cpe:/a:mandriva:linux:kernel-secure-2.4.22.30mdk, p-cpe:/a:mandriva:linux:kernel-secure-2.6.3.9mdk, p-cpe:/a:mandriva:linux:kernel-smp-2.4.21.0.30mdk, p-cpe:/a:mandriva:linux:kernel-smp-2.4.22.30mdk, p-cpe:/a:mandriva:linux:kernel-smp-2.4.25.4mdk, p-cpe:/a:mandriva:linux:kernel-smp-2.6.3.9mdk, p-cpe:/a:mandriva:linux:kernel-source, p-cpe:/a:mandriva:linux:kernel-source-stripped, cpe:/o:mandrakesoft:mandrake_linux:10.0, cpe:/o:mandrakesoft:mandrake_linux:9.1, cpe:/o:mandrakesoft:mandrake_linux:9.2

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

Patch Publication Date: 4/27/2004

Reference Information

CVE: CVE-2004-0229, CVE-2004-0394, CVE-2004-0424, CVE-2004-0427

MDKSA: 2004:037