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

Package        : kernel-source-2.2.20, kernel-image-2.2.20-i386, kernel-image-2.2.20-reiserfs-i386, kernel-image-2.2.20-amiga, kernel-image-2.2.20-atari, kernel-image-2.2.20-bvme6000, kernel-image-2.2.20-mac, kernel-image-2.2.20-mvme147, kernel-image-2.2.20-mvme16x, kernel-patch-2.2.20-powerpc
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.20                source    2.2.20-5woody3
   kernel-image-2.2.20-i386            i386      2.2.20-5woody5
   kernel-image-2.2.20-reiserfs-i386   i386      2.2.20-4woody1
   kernel-image-2.2.20-amiga           m68k      2.20-4
   kernel-image-2.2.20-atari           m68k      2.2.20-3
   kernel-image-2.2.20-bvme6000        m68k      2.2.20-3
   kernel-image-2.2.20-mac             m68k      2.2.20-3
   kernel-image-2.2.20-mvme147         m68k      2.2.20-3
   kernel-image-2.2.20-mvme16x         m68k      2.2.20-3
   kernel-patch-2.2.20-powerpc         powerpc   2.2.20-3woody1

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 4eede8cde6013e6660459173dacd8e4e
      
      Size/MD5 checksum:   159991 26db63a4af138d5c67c433da29778102
      
      Size/MD5 checksum: 19394649 57c0edf86cb23a5b215db9121c9b3557

      
      Size/MD5 checksum:      808 e0ab6c5a72afc1bb1bf8ac79901aaa10
      
      Size/MD5 checksum:    14062 dee74cee41726fc43d5e2d2ff765106f

      
      Size/MD5 checksum:      763 c8edde803877bdac6c5176892724e6cd
      
      Size/MD5 checksum:     6341 42bf6d7336c973fa7a782710007c4c0d

      
      Size/MD5 checksum:      636 9278a7e66394ce2ed88dee9157a55942
      
      Size/MD5 checksum:     3733 4c640cd56182c20882e3fe534ee8685a

      
      Size/MD5 checksum:      636 138af6942e118d1171f765e8811cd6ae
      
      Size/MD5 checksum:     3657 358575286c68dbd0ed01e34902f013eb

      
      Size/MD5 checksum:      630 ef185741b10a0453dfed1d174b9cb21a
      
      Size/MD5 checksum:     3372 85e13320526f3e72b8e480ec2606ea7c

      
      Size/MD5 checksum:      630 7eb61d65166a85de5a36c1319f705ace
      
      Size/MD5 checksum:     3543 f178454597e898c72df8a98f3f48c8eb

      
      Size/MD5 checksum:      627 2ca571f0dc73b19cb4e95832e6b329b2
      
      Size/MD5 checksum:     3356 fcec4b45ef27b634742b7e93dce4b8f2

      
      Size/MD5 checksum:      627 65e1bd5bec651d976ee05f9b8f4d9b48
      
      Size/MD5 checksum:     3388 bcdeb01f56e23d6222582fbccf45d0dd

      
      Size/MD5 checksum:      724 6678c67a4d8ca5d865fad683b294f1b2
      
      Size/MD5 checksum:    19725 e5afc11169cae702f8efbf04827fcf33

  Architecture independent components:

      
      Size/MD5 checksum:  1162414 d244e1206d51a785d2a298df8ffbb9e8
      
      Size/MD5 checksum: 15848780 33170e34a3d4c56e910314be93f0b184

      
      Size/MD5 checksum:    18658 2f81d9dca6c10e1f41d5e845d5e0f2ce

  Intel IA-32 architecture:

      
      Size/MD5 checksum:  1919670 25ea7ce56e42d74ad5a60009af2e0e8a
      
      Size/MD5 checksum:  1868748 8bcbd7573c6b1c53900e1f25f712a612
      
      Size/MD5 checksum:  1840548 7969d01dd04f032627652e29a048f687
      
      Size/MD5 checksum:  5789366 accfe06e7e38d1d2ef61df381b1710c1
      
      Size/MD5 checksum:  1623778 befd89e4a89547b696fcb1e3e3d6bd79
      
      Size/MD5 checksum:  1284342 c532a46f993cef7f5508d3a98bd2e1e5

      
      Size/MD5 checksum:  1898558 fd91d75e0abeb484fafd41542e61a3a3
      
      Size/MD5 checksum:  1703058 28bed77f45f8a4d10c9843a73200500b

  Motorola 680x0 architecture:

      
      Size/MD5 checksum:  1533156 ae9b3e8bb75af6072f2558411c600db1

      
      Size/MD5 checksum:  1476746 1658fb396b6b6747db6b10a86853493d

      
      Size/MD5 checksum:  1318464 662a840f2a2ee4ab20e2306640efc77e

      
      Size/MD5 checksum:  1426616 36e90c602170fa88883d9e5711328238

      
      Size/MD5 checksum:  1252288 d98f6ae70e3b76b9edb00851d2fb10fc

      
      Size/MD5 checksum:  1323998 b0ae1e8e75af684b293ac92a7eb1b897

  PowerPC architecture:

      
      Size/MD5 checksum:  1860028 077556e58768e51fb3e6215c865c6056
      
      Size/MD5 checksum:  3316596 71a3275da4ecd0e0789b3aad8a6ebafd
      
      Size/MD5 checksum:  3349730 c8837a83060a41ded41656f6870ba1da
      
      Size/MD5 checksum:  1772322 b61afa06348d176cfde719d57a86a7ad


  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 DSA-453-1

March 2, 2004
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.

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.20 source 2.2.20-5woody3
kernel-image-2.2.20-i386 i386 2.2.20-5woody5
kernel-image-2.2.20-reiserfs-i386 i386 2.2.20-4woody1
kernel-image-2.2.20-amiga m68k 2.20-4
kernel-image-2.2.20-atari m68k 2.2.20-3
kernel-image-2.2.20-bvme6000 m68k 2.2.20-3
kernel-image-2.2.20-mac m68k 2.2.20-3
kernel-image-2.2.20-mvme147 m68k 2.2.20-3
kernel-image-2.2.20-mvme16x m68k 2.2.20-3
kernel-patch-2.2.20-powerpc powerpc 2.2.20-3woody1

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 4eede8cde6013e6660459173dacd8e4e

Size/MD5 checksum: 159991 26db63a4af138d5c67c433da29778102

Size/MD5 checksum: 19394649 57c0edf86cb23a5b215db9121c9b3557


Size/MD5 checksum: 808 e0ab6c5a72afc1bb1bf8ac79901aaa10

Size/MD5 checksum: 14062 dee74cee41726fc43d5e2d2ff765106f


Size/MD5 checksum: 763 c8edde803877bdac6c5176892724e6cd

Size/MD5 checksum: 6341 42bf6d7336c973fa7a782710007c4c0d


Size/MD5 checksum: 636 9278a7e66394ce2ed88dee9157a55942

Size/MD5 checksum: 3733 4c640cd56182c20882e3fe534ee8685a


Size/MD5 checksum: 636 138af6942e118d1171f765e8811cd6ae

Size/MD5 checksum: 3657 358575286c68dbd0ed01e34902f013eb


Size/MD5 checksum: 630 ef185741b10a0453dfed1d174b9cb21a

Size/MD5 checksum: 3372 85e13320526f3e72b8e480ec2606ea7c


Size/MD5 checksum: 630 7eb61d65166a85de5a36c1319f705ace

Size/MD5 checksum: 3543 f178454597e898c72df8a98f3f48c8eb


Size/MD5 checksum: 627 2ca571f0dc73b19cb4e95832e6b329b2

Size/MD5 checksum: 3356 fcec4b45ef27b634742b7e93dce4b8f2


Size/MD5 checksum: 627 65e1bd5bec651d976ee05f9b8f4d9b48

Size/MD5 checksum: 3388 bcdeb01f56e23d6222582fbccf45d0dd


Size/MD5 checksum: 724 6678c67a4d8ca5d865fad683b294f1b2

Size/MD5 checksum: 19725 e5afc11169cae702f8efbf04827fcf33

Architecture independent components:


Size/MD5 checksum: 1162414 d244e1206d51a785d2a298df8ffbb9e8

Size/MD5 checksum: 15848780 33170e34a3d4c56e910314be93f0b184


Size/MD5 checksum: 18658 2f81d9dca6c10e1f41d5e845d5e0f2ce

Intel IA-32 architecture:


Size/MD5 checksum: 1919670 25ea7ce56e42d74ad5a60009af2e0e8a

Size/MD5 checksum: 1868748 8bcbd7573c6b1c53900e1f25f712a612

Size/MD5 checksum: 1840548 7969d01dd04f032627652e29a048f687

Size/MD5 checksum: 5789366 accfe06e7e38d1d2ef61df381b1710c1

Size/MD5 checksum: 1623778 befd89e4a89547b696fcb1e3e3d6bd79

Size/MD5 checksum: 1284342 c532a46f993cef7f5508d3a98bd2e1e5


Size/MD5 checksum: 1898558 fd91d75e0abeb484fafd41542e61a3a3

Size/MD5 checksum: 1703058 28bed77f45f8a4d10c9843a73200500b

Motorola 680x0 architecture:


Size/MD5 checksum: 1533156 ae9b3e8bb75af6072f2558411c600db1


Size/MD5 checksum: 1476746 1658fb396b6b6747db6b10a86853493d


Size/MD5 checksum: 1318464 662a840f2a2ee4ab20e2306640efc77e


Size/MD5 checksum: 1426616 36e90c602170fa88883d9e5711328238


Size/MD5 checksum: 1252288 d98f6ae70e3b76b9edb00851d2fb10fc


Size/MD5 checksum: 1323998 b0ae1e8e75af684b293ac92a7eb1b897

PowerPC architecture:


Size/MD5 checksum: 1860028 077556e58768e51fb3e6215c865c6056

Size/MD5 checksum: 3316596 71a3275da4ecd0e0789b3aad8a6ebafd

Size/MD5 checksum: 3349730 c8837a83060a41ded41656f6870ba1da

Size/MD5 checksum: 1772322 b61afa06348d176cfde719d57a86a7ad


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.20, kernel-image-2.2.20-i386, kernel-image-2.2.20-reiserfs-i386, kernel-image-2.2.20-amiga, kernel-image-2.2.20-atari, kernel-image-2.2.20-bvme6000, kernel-image-2.2.20-mac, kernel-image-2.2.20-mvme147, kernel-image-2.2.20-mvme16x, kernel-patch-2.2.20-powerpc
Vulnerability : failing function and TLB flush
Problem-Type : local
Debian-specific: no
CVE ID : CAN-2004-0077

Related News