Debian alert: New Linux 2.2.20 packages fix local root exploit (i386+m68k+powerpc)

Posted by dave on Mar 2, 2004 3:20 AM EDT
Mailing list
Mail this story
Print this story

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.

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

- -------------------------------------------------------------------------- Debian Security Advisory DSA 453-1 [e-mail:security@debian.org] http://www.debian.org/security/ Martin Schulze March 2nd, 2004 http://www.debian.org/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:

http://security.debian.org/pool/updates/main/k/kernel-source-2.2.20/kernel-source-2.2.20_2.2.20-5woody3.dsc Size/MD5 checksum: 661 4eede8cde6013e6660459173dacd8e4e http://security.debian.org/pool/updates/main/k/kernel-source-2.2.20/kernel-source-2.2.20_2.2.20-5woody3.diff.gz Size/MD5 checksum: 159991 26db63a4af138d5c67c433da29778102 http://security.debian.org/pool/updates/main/k/kernel-source-2.2.20/kernel-source-2.2.20_2.2.20.orig.tar.gz Size/MD5 checksum: 19394649 57c0edf86cb23a5b215db9121c9b3557

http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-i386/kernel-image-2.2.20-i386_2.2.20-5woody5.dsc Size/MD5 checksum: 808 e0ab6c5a72afc1bb1bf8ac79901aaa10 http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-i386/kernel-image-2.2.20-i386_2.2.20-5woody5.tar.gz Size/MD5 checksum: 14062 dee74cee41726fc43d5e2d2ff765106f

http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-reiserfs-i386/kernel-image-2.2.20-reiserfs-i386_2.2.20-4woody1.dsc Size/MD5 checksum: 763 c8edde803877bdac6c5176892724e6cd http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-reiserfs-i386/kernel-image-2.2.20-reiserfs-i386_2.2.20-4woody1.tar.gz Size/MD5 checksum: 6341 42bf6d7336c973fa7a782710007c4c0d

http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-amiga/kernel-image-2.2.20-amiga_2.2.20-4.dsc Size/MD5 checksum: 636 9278a7e66394ce2ed88dee9157a55942 http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-amiga/kernel-image-2.2.20-amiga_2.2.20-4.tar.gz Size/MD5 checksum: 3733 4c640cd56182c20882e3fe534ee8685a

http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-atari/kernel-image-2.2.20-atari_2.2.20-3.dsc Size/MD5 checksum: 636 138af6942e118d1171f765e8811cd6ae http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-atari/kernel-image-2.2.20-atari_2.2.20-3.tar.gz Size/MD5 checksum: 3657 358575286c68dbd0ed01e34902f013eb

http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-bvme6000/kernel-image-2.2.20-bvme6000_2.2.20-3.dsc Size/MD5 checksum: 630 ef185741b10a0453dfed1d174b9cb21a http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-bvme6000/kernel-image-2.2.20-bvme6000_2.2.20-3.tar.gz Size/MD5 checksum: 3372 85e13320526f3e72b8e480ec2606ea7c

http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-mac/kernel-image-2.2.20-mac_2.2.20-3.dsc Size/MD5 checksum: 630 7eb61d65166a85de5a36c1319f705ace http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-mac/kernel-image-2.2.20-mac_2.2.20-3.tar.gz Size/MD5 checksum: 3543 f178454597e898c72df8a98f3f48c8eb

http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-mvme147/kernel-image-2.2.20-mvme147_2.2.20-3.dsc Size/MD5 checksum: 627 2ca571f0dc73b19cb4e95832e6b329b2 http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-mvme147/kernel-image-2.2.20-mvme147_2.2.20-3.tar.gz Size/MD5 checksum: 3356 fcec4b45ef27b634742b7e93dce4b8f2

http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-mvme16x/kernel-image-2.2.20-mvme16x_2.2.20-3.dsc Size/MD5 checksum: 627 65e1bd5bec651d976ee05f9b8f4d9b48 http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-mvme16x/kernel-image-2.2.20-mvme16x_2.2.20-3.tar.gz Size/MD5 checksum: 3388 bcdeb01f56e23d6222582fbccf45d0dd

http://security.debian.org/pool/updates/main/k/kernel-patch-2.2.20-powerpc/kernel-patch-2.2.20-powerpc_2.2.20-3woody1.dsc Size/MD5 checksum: 724 6678c67a4d8ca5d865fad683b294f1b2 http://security.debian.org/pool/updates/main/k/kernel-patch-2.2.20-powerpc/kernel-patch-2.2.20-powerpc_2.2.20-3woody1.tar.gz Size/MD5 checksum: 19725 e5afc11169cae702f8efbf04827fcf33

Architecture independent components:

http://security.debian.org/pool/updates/main/k/kernel-source-2.2.20/kernel-doc-2.2.20_2.2.20-5woody3_all.deb Size/MD5 checksum: 1162414 d244e1206d51a785d2a298df8ffbb9e8 http://security.debian.org/pool/updates/main/k/kernel-source-2.2.20/kernel-source-2.2.20_2.2.20-5woody3_all.deb Size/MD5 checksum: 15848780 33170e34a3d4c56e910314be93f0b184

http://security.debian.org/pool/updates/main/k/kernel-patch-2.2.20-powerpc/kernel-patch-2.2.20-powerpc_2.2.20-3woody1_all.deb Size/MD5 checksum: 18658 2f81d9dca6c10e1f41d5e845d5e0f2ce

Intel IA-32 architecture:

http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-i386/kernel-headers-2.2.20_2.2.20-5woody5_i386.deb Size/MD5 checksum: 1919670 25ea7ce56e42d74ad5a60009af2e0e8a http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-i386/kernel-headers-2.2.20-compact_2.2.20-5woody5_i386.deb Size/MD5 checksum: 1868748 8bcbd7573c6b1c53900e1f25f712a612 http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-i386/kernel-headers-2.2.20-idepci_2.2.20-5woody5_i386.deb Size/MD5 checksum: 1840548 7969d01dd04f032627652e29a048f687 http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-i386/kernel-image-2.2.20_2.2.20-5woody5_i386.deb Size/MD5 checksum: 5789366 accfe06e7e38d1d2ef61df381b1710c1 http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-i386/kernel-image-2.2.20-compact_2.2.20-5woody5_i386.deb Size/MD5 checksum: 1623778 befd89e4a89547b696fcb1e3e3d6bd79 http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-i386/kernel-image-2.2.20-idepci_2.2.20-5woody5_i386.deb Size/MD5 checksum: 1284342 c532a46f993cef7f5508d3a98bd2e1e5

http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-reiserfs-i386/kernel-headers-2.2.20-reiserfs_2.2.20-4woody1_i386.deb Size/MD5 checksum: 1898558 fd91d75e0abeb484fafd41542e61a3a3 http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-reiserfs-i386/kernel-image-2.2.20-reiserfs_2.2.20-4woody1_i386.deb Size/MD5 checksum: 1703058 28bed77f45f8a4d10c9843a73200500b

Motorola 680x0 architecture:

http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-amiga/kernel-image-2.2.20-amiga_2.2.20-4_m68k.deb Size/MD5 checksum: 1533156 ae9b3e8bb75af6072f2558411c600db1

http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-atari/kernel-image-2.2.20-atari_2.2.20-3_m68k.deb Size/MD5 checksum: 1476746 1658fb396b6b6747db6b10a86853493d

http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-bvme6000/kernel-image-2.2.20-bvme6000_2.2.20-3_m68k.deb Size/MD5 checksum: 1318464 662a840f2a2ee4ab20e2306640efc77e

http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-mac/kernel-image-2.2.20-mac_2.2.20-3_m68k.deb Size/MD5 checksum: 1426616 36e90c602170fa88883d9e5711328238

http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-mvme147/kernel-image-2.2.20-mvme147_2.2.20-3_m68k.deb Size/MD5 checksum: 1252288 d98f6ae70e3b76b9edb00851d2fb10fc

http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-mvme16x/kernel-image-2.2.20-mvme16x_2.2.20-3_m68k.deb Size/MD5 checksum: 1323998 b0ae1e8e75af684b293ac92a7eb1b897

PowerPC architecture:

http://security.debian.org/pool/updates/main/k/kernel-patch-2.2.20-powerpc/kernel-headers-2.2.20_2.2.20-3woody1_powerpc.deb Size/MD5 checksum: 1860028 077556e58768e51fb3e6215c865c6056 http://security.debian.org/pool/updates/main/k/kernel-patch-2.2.20-powerpc/kernel-image-2.2.20-chrp_2.2.20-3woody1_powerpc.deb Size/MD5 checksum: 3316596 71a3275da4ecd0e0789b3aad8a6ebafd http://security.debian.org/pool/updates/main/k/kernel-patch-2.2.20-powerpc/kernel-image-2.2.20-pmac_2.2.20-3woody1_powerpc.deb Size/MD5 checksum: 3349730 c8837a83060a41ded41656f6870ba1da http://security.debian.org/pool/updates/main/k/kernel-patch-2.2.20-powerpc/kernel-image-2.2.20-prep_2.2.20-3woody1_powerpc.deb Size/MD5 checksum: 1772322 b61afa06348d176cfde719d57a86a7ad

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

- --------------------------------------------------------------------------------- For apt-get: deb http://security.debian.org/ stable/updates main For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main Mailing list: [e-mail:debian-security-announce@lists.debian.org] Package info: 'apt-cache show ' and http://packages.debian.org/

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFARHWQW5ql+IAeqTIRAg8HAKCCdzukB/hJMXpzMUnAWGLxIdO8JwCfft1q 8wHDN6OJdAa2XGCSSbcw8N8= =hrBA -----END PGP SIGNATURE-----

-- To UNSUBSCRIBE, email to [e-mail:debian-security-announce-request@lists.debian.org] with a subject of "unsubscribe". Trouble? Contact [e-mail:listmaster@lists.debian.org]

  Nav
» Read more about: Story Type: Security; Groups: Debian

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.