Hash: SHA1

             AUSCERT External Security Bulletin Redistribution

            ESB-2004.0385 -- Debian Security Advisory DSA 514-1
         New Linux 2.2.20 packages fix local root exploit (sparc)
                               07 June 2004


        AusCERT Security Bulletin Summary

Product:                kernel-source-2.2.20
Publisher:              Debian
Operating System:       Debian GNU/Linux 3.0
                        Linux variants
Platform:               SPARC
Impact:                 Root Compromise
Access Required:        Existing Account
CVE Names:              CAN-2004-0077

Ref:                    ESB-2004.0251

- --------------------------BEGIN INCLUDED TEXT--------------------

Hash: SHA1

- - --------------------------------------------------------------------------
Debian Security Advisory DSA 514-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
June 4th, 2004                          http://www.debian.org/security/faq
- - --------------------------------------------------------------------------

Package        : kernel-source-2.2.20, kernel-image-2.2-sparc
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) these problems have been fixed in
version 9woody1 of Linux 2.2 kernel images for the sparc architecture
and in version 2.2.20-5woody3 of Linux 2.2.20 source.

For the unstable distribution (sid) these problems have been fixed in
version 9.1 of Linux 2.2 kernel images for the sparc architecture.

This problem has been fixed for other architectures already.

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:      768 58d7d78f4cc97af50074cafa2322ca7c
      Size/MD5 checksum:    25540 af1005c87ca491c28108fda2a66efb2c

  Architecture independent components:

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

      Size/MD5 checksum:  1122094 e5bdced5ca4b46cffec44e531c238a56

  Sun Sparc architecture:

      Size/MD5 checksum:  1617420 3789f331d7aa2e9c10b3ffee08c82b94
      Size/MD5 checksum:  1653324 e0b6db9b869d1dd51e2a615a0eaef8a1
      Size/MD5 checksum:  2023252 50b820b56ed032a532d5e0bbff5f58b1
      Size/MD5 checksum:  2066292 9144adfbf2bce6098028b69ee28658b8

  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: debian-security-announce@lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>

Version: GnuPG v1.2.4 (GNU/Linux)


- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:


If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:


Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business 
                hours which are GMT+10:00 (AEST).  On call after hours 
                for member emergencies only.
Comment: http://www.auscert.org.au/render.html?it=1967