Debian Security Advisory DSA 454-1                     security@debian.org 
Debian -- Security Information                              Martin Schulze
March 2nd, 2004                          Debian -- Debian security FAQ 
- --------------------------------------------------------------------------

Package        : kernel-source-2.2.22, kernel-image-2.2.22-alpha
Vulnerability  : failing function and TLB flush
Problem-Type   : local
Debian-specific: no
CVE ID         : CAN-2004-0077

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
the following versions and architectures:

   kernel-source-2.2.22                source    2.2.22-1woody1
   kernel-image-2.2.22-alpha           alpha     2.2.22-2

For the unstable distribution (sid) this problem will be fixed soon
for the architectures that still ship a 2.2.x kernel package.

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:      661 2f5744d0e7d68932d8910d15583ed820
      
      Size/MD5 checksum:   146548 51478245f5608894bbb59223172f9cb3
      
      Size/MD5 checksum: 19313552 af9832dc10026cf03b2682f296ccd051

      
      Size/MD5 checksum:      870 ac538b47a782ae11686e2c5d0c3bb6f5
      
      Size/MD5 checksum:     7451 6107bb5e1e7ae0aa4e3f9417fced0717

  Architecture independent components:

      
      Size/MD5 checksum:  1162368 805cf7d09f69b14ebcb392038de5a6b1
      
      Size/MD5 checksum: 15759754 55d31894b93cb9633caaa6a0eddbf998

  Alpha architecture:

      
      Size/MD5 checksum:  1871248 c762109e412ef7d3e31bebb868e668ce
      
      Size/MD5 checksum:  2782898 99c876bdab97812cb5ebdfdb1c88d224
      
      Size/MD5 checksum:  2299174 ac17d87dbb6558c83b723fb97808f721
      
      Size/MD5 checksum:  2537032 9a3194224faccec6081ee06d9926be09
      
      Size/MD5 checksum:  2878172 6ad070e82c301504d845692688012fed


  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 (alpha) Privilege escalation vulnerability

March 3, 2004
This is the alpha-chip version of the kernel 2.2.x patch Debian released yesterday.

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
the following versions and architectures:

kernel-source-2.2.22 source 2.2.22-1woody1
kernel-image-2.2.22-alpha alpha 2.2.22-2

For the unstable distribution (sid) this problem will be fixed soon
for the architectures that still ship a 2.2.x kernel package.

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: 661 2f5744d0e7d68932d8910d15583ed820

Size/MD5 checksum: 146548 51478245f5608894bbb59223172f9cb3

Size/MD5 checksum: 19313552 af9832dc10026cf03b2682f296ccd051


Size/MD5 checksum: 870 ac538b47a782ae11686e2c5d0c3bb6f5

Size/MD5 checksum: 7451 6107bb5e1e7ae0aa4e3f9417fced0717

Architecture independent components:


Size/MD5 checksum: 1162368 805cf7d09f69b14ebcb392038de5a6b1

Size/MD5 checksum: 15759754 55d31894b93cb9633caaa6a0eddbf998

Alpha architecture:


Size/MD5 checksum: 1871248 c762109e412ef7d3e31bebb868e668ce

Size/MD5 checksum: 2782898 99c876bdab97812cb5ebdfdb1c88d224

Size/MD5 checksum: 2299174 ac17d87dbb6558c83b723fb97808f721

Size/MD5 checksum: 2537032 9a3194224faccec6081ee06d9926be09

Size/MD5 checksum: 2878172 6ad070e82c301504d845692688012fed


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.22, kernel-image-2.2.22-alpha
Vulnerability : failing function and TLB flush
Problem-Type : local
Debian-specific: no
CVE ID : CAN-2004-0077

Related News