Debian DSA-456-1 : linux-kernel-2.2.19-arm - failing function and TLB flush

high Nessus Plugin ID 15293

Synopsis

The remote Debian host is missing a security-related update.

Description

Paul Starzetz and Wojciech Purczynski of isec.pl discovered a critical security vulnerability in the memory management code of Linux inside the mremap(2) system call. Due to flushing the TLB (Translation Lookaside Buffer, an address cache) too early it is possible for an attacker to trigger a local root exploit.

The attack vectors for 2.4.x and 2.2.x kernels are exclusive for the respective kernel series, though. We formerly believed that the exploitable vulnerability in 2.4.x does not exist in 2.2.x which is still true. However, it turned out that a second (sort of) vulnerability is indeed exploitable in 2.2.x, but not in 2.4.x, with a different exploit, of course.

Solution

Upgrade the Linux kernel package.

For the stable distribution (woody) this problem has been fixed in version 20040303 of 2.2 kernel images for the arm architecture.

Vulnerability matrix for CAN-2004-0077

See Also

http://isec.pl/vulnerabilities/isec-0014-mremap-unmap.txt

http://www.debian.org/security/2004/dsa-456

Plugin Details

Severity: High

ID: 15293

File Name: debian_DSA-456.nasl

Version: 1.27

Type: local

Agent: unix

Published: 9/29/2004

Updated: 1/4/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: High

Score: 8.9

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 6.3

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:kernel-image-2.2.19-netwinder, p-cpe:/a:debian:debian_linux:kernel-image-2.2.19-riscpc, p-cpe:/a:debian:debian_linux:kernel-patch-2.2.19-arm, p-cpe:/a:debian:debian_linux:kernel-source-2.2.19, cpe:/o:debian:debian_linux:3.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/6/2004

Reference Information

CVE: CVE-2004-0077

BID: 9686

CERT: 981222

DSA: 456