Debian Security Advisory DSA 466-1                     security@debian.org 
Debian -- Security Information                              Martin Schulze
March 18th, 2004                         Debian -- Debian security FAQ 
- --------------------------------------------------------------------------

Package        : kernel-source-2.2.10, kernel-image-2.2.10-powerpc-apus
Vulnerability  : failing function and TLB flush
Problem-Type   : local
Debian-specific: no
CVE ID         : CAN-2004-0077
CERT advisory  : VU#981222

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.

For the stable distribution (woody) this problem has been fixed in
version 2.2.10-13woody1 of 2.2 kernel images for the powerpc/apus
architecture and in version 2.2.10-2 of Linux 2.2.10 source.

For the unstable distribution (sid) this problem will be fixed soon
with the 2.4.20 kernel-image package for powerpc/apus.  The old 2.2.10
kernel image will be removed from Debian unstable.

You are strongly advised to switch to the fixed 2.4.17 kernel-image
package for powerpc/apus from woody until the 2.4.20 kernel-image
package is fixed in the unstable distribution.

We recommend that you upgrade your Linux kernel package.


Upgrade Instructions
- --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 3.0 alias woody
- --------------------------------

  Source archives:

      
      Size/MD5 checksum:      602 c30270ed0bb5a9b99775aefaff4b5037
      
      Size/MD5 checksum:    13862 b0dec7f7611601b2aab69d2117298641
      
      Size/MD5 checksum: 13902979 e3e865f9103dfcea4a3715d66d89dad1

      
      Size/MD5 checksum:      614 f6f2c6563e5eed7ff97d19551a1117fb
      
      Size/MD5 checksum:   453378 865a8125d959621697b045edc210e200

  Architecture independent components:

      
      Size/MD5 checksum:   866978 74d85ee7a1f5855710b3201b907967dd
      
      Size/MD5 checksum: 11302672 7a66220ced59920d2cc50eff7003108f

  PowerPC architecture:

      
      Size/MD5 checksum:  1575772 03558d9d86b2c08194088cf5cece6811
      
      Size/MD5 checksum:  1303764 2a3c5a6a45c3978ae45c4572ddc0547b


  These files will probably be moved into the stable distribution on
  its next revision.

- ---------------------------------------------------------------------------------
For apt-get: deb  Debian -- Security Information  stable/updates main
For dpkg-ftp:    dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show ' and  http://packages.debian.org/

Debian: kernel 2.2.x Privilege escalation vulnerability

March 18, 2004
This patch corrects a root exploit specifically for the 2.2.x kernel on the PowerPC platform.

Summary

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.

For the stable distribution (woody) this problem has been fixed in
version 2.2.10-13woody1 of 2.2 kernel images for the powerpc/apus
architecture and in version 2.2.10-2 of Linux 2.2.10 source.

For the unstable distribution (sid) this problem will be fixed soon
with the 2.4.20 kernel-image package for powerpc/apus. The old 2.2.10
kernel image will be removed from Debian unstable.

You are strongly advised to switch to the fixed 2.4.17 kernel-image
package for powerpc/apus from woody until the 2.4.20 kernel-image
package is fixed in the unstable distribution.

We recommend that you upgrade your Linux kernel package.


Upgrade Instructions
- --------------------

wget url
will fetch the file for you
dpkg -i file.deb
will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
will update the internal database
apt-get upgrade
will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 3.0 alias woody

Source archives:


Size/MD5 checksum: 602 c30270ed0bb5a9b99775aefaff4b5037

Size/MD5 checksum: 13862 b0dec7f7611601b2aab69d2117298641

Size/MD5 checksum: 13902979 e3e865f9103dfcea4a3715d66d89dad1


Size/MD5 checksum: 614 f6f2c6563e5eed7ff97d19551a1117fb

Size/MD5 checksum: 453378 865a8125d959621697b045edc210e200

Architecture independent components:


Size/MD5 checksum: 866978 74d85ee7a1f5855710b3201b907967dd

Size/MD5 checksum: 11302672 7a66220ced59920d2cc50eff7003108f

PowerPC architecture:


Size/MD5 checksum: 1575772 03558d9d86b2c08194088cf5cece6811

Size/MD5 checksum: 1303764 2a3c5a6a45c3978ae45c4572ddc0547b


These files will probably be moved into the stable distribution on
its next revision.

For apt-get: deb Debian -- Security Information stable/updates main
For dpkg-ftp: dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show ' and http://packages.debian.org/



Severity
Package : kernel-source-2.2.10, kernel-image-2.2.10-powerpc-apus
Vulnerability : failing function and TLB flush
Problem-Type : local
Debian-specific: no
CVE ID : CAN-2004-0077
CERT advisory : VU#981222

Related News