GLSA-200408-24 : Linux Kernel: Multiple information leaks

Medium Nessus Plugin ID 14580


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-200408-24 (Linux Kernel: Multiple information leaks)

The Linux kernel allows a local attacker to obtain sensitive kernel information by gaining access to kernel memory via several leaks in the /proc interfaces. These vulnerabilities exist in various drivers which make up a working Linux kernel, some of which are present across all architectures and configurations.
CAN-2004-0415 deals with addressing invalid 32 to 64 bit conversions in the kernel, as well as insecure direct access to file offset pointers in kernel code which can be modified by the open(...), lseek(...) and other core system I/O functions by an attacker.
CAN-2004-0685 deals with certain USB drivers using uninitialized structures and then using the copy_to_user(...) kernel call to copy these structures. This may leak uninitialized kernel memory, which can contain sensitive information from user applications.
Finally, a race condition with the /proc/.../cmdline node was found, allowing environment variables to be read while the process was still spawning. If the race is won, environment variables of the process, which might not be owned by the attacker, can be read.
Impact :

These vulnerabilities allow a local unprivileged attacker to access segments of kernel memory or environment variables which may contain sensitive information. Kernel memory may contain passwords, data transferred between processes and any memory which applications did not clear upon exiting as well as the kernel cache and kernel buffers.
This information may be used to read sensitive data, open other attack vectors for further exploitation or cause a Denial of Service if the attacker can gain superuser access via the leaked information.
Workaround :

There is no temporary workaround for any of these information leaks other than totally disabling /proc support - otherwise, a kernel upgrade is required. A list of unaffected kernels is provided along with this announcement.


Users are encouraged to upgrade to the latest available sources for their system:
# emerge sync # emerge -pv your-favorite-sources # emerge your-favorite-sources # # Follow usual procedure for compiling and installing a kernel.
# # If you use genkernel, run genkernel as you would normally.

See Also

Plugin Details

Severity: Medium

ID: 14580

File Name: gentoo_GLSA-200408-24.nasl

Version: $Revision: 1.16 $

Type: local

Published: 2004/08/30

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 4.6

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:aa-sources, p-cpe:/a:gentoo:linux:alpha-sources, p-cpe:/a:gentoo:linux:ck-sources, p-cpe:/a:gentoo:linux:development-sources, p-cpe:/a:gentoo:linux:gentoo-dev-sources, p-cpe:/a:gentoo:linux:gentoo-sources, p-cpe:/a:gentoo:linux:grsec-sources, p-cpe:/a:gentoo:linux:gs-sources, p-cpe:/a:gentoo:linux:hardened-dev-sources, p-cpe:/a:gentoo:linux:hardened-sources, p-cpe:/a:gentoo:linux:hppa-dev-sources, p-cpe:/a:gentoo:linux:hppa-sources, p-cpe:/a:gentoo:linux:ia64-sources, p-cpe:/a:gentoo:linux:mips-sources, p-cpe:/a:gentoo:linux:mm-sources, p-cpe:/a:gentoo:linux:openmosix-sources, p-cpe:/a:gentoo:linux:pac-sources, p-cpe:/a:gentoo:linux:pegasos-dev-sources, p-cpe:/a:gentoo:linux:rsbac-dev-sources, p-cpe:/a:gentoo:linux:rsbac-sources, p-cpe:/a:gentoo:linux:selinux-sources, p-cpe:/a:gentoo:linux:sparc-sources, p-cpe:/a:gentoo:linux:uclinux-sources, p-cpe:/a:gentoo:linux:usermode-sources, p-cpe:/a:gentoo:linux:vanilla-sources, p-cpe:/a:gentoo:linux:vserver-sources, p-cpe:/a:gentoo:linux:win4lin-sources, p-cpe:/a:gentoo:linux:wolk-sources, p-cpe:/a:gentoo:linux:xbox-sources, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2004/08/25

Vulnerability Publication Date: 2004/08/04

Reference Information

CVE: CVE-2004-0415, CVE-2004-0685, CVE-2004-1058

OSVDB: 8302, 9273

GLSA: 200408-24