Articles / SuSE: New Linux kernel pack…

SuSE: New Linux kernel packages fix security vulnerabilities

This kernel update for the SUSE Linux Enterprise 10 SP4 kernel fixes several security issues and bugs. The Datagram Congestion Control Protocol (DCCP) implementation did not properly handle packets for a CLOSED endpoint, which allowed remote attackers to cause a denial of service (NULL pointer dereference and OOPS) by sending a DCCP-Close packet followed by a DCCP-Reset packet. The add_del_listener function did not prevent multiple registrations of exit handlers, which allowed local users to cause a denial of service (memory and CPU consumption), and bypass the OOM Killer, via a crafted application. An integer overflow in the agp_generic_insert_memory function allowed local users to gain privileges or cause a denial of service (system crash) via a crafted AGPIOC_BIND agp_ioctl ioctl call.

Multiple integer overflows in the agp_allocate_memory and agp_create_user_memory functions allowed local users to trigger buffer overflows, and consequently cause a denial of service (system crash) or possibly have unspecified other impact, via vectors related to calls that specify a large number of memory pages. The agp_generic_remove_memory function did not validate a certain start parameter, which allowed local users to gain privileges or cause a denial of service (system crash) via a crafted AGPIOC_UNBIND agp_ioctl ioctl call. When using a setuid root mount.cifs, local users could hijack password protected mounted CIFS shares of other local users.

The do_task_stat function did not perform an expected uid check, which made it easier for local users to defeat the ASLR protection mechanism by reading the start_code and end_code fields in the /proc/#####/stat file for a process executing a PIE binary. The normal mmap paths all avoid creating a mapping where the pgoff inside the mapping could wrap around due to overflow. However, an expanding mremap() can take such a non-wrapping mapping and make it bigger and cause a wrapping condition. A local unprivileged user able to access a NFS filesystem could use file locking to deadlock parts of an nfs server under some circumstance.

The code for evaluating LDM partitions contained bugs that could crash the kernel for certain corrupted LDM partitions. Multiple integer overflows in the next_pidmap function allowed local users to cause a denial of service (system crash) via a crafted getdents or readdir system call. Integer overflow in the _ctl_do_mpt_command function might have allowed local users to gain privileges or cause a denial of service (memory corruption) via an ioctl call specifying a crafted value that triggers a heap-based buffer overflow.

drivers/scsi/mpt2sas/mpt2sas_ctl.c did not validate length and offset values before performing memory copy operations, which might have allowed local users to gain privileges, cause a denial of service (memory corruption), or obtain sensitive information from kernel memory via a crafted ioctl call, related to the _ctl_do_mpt_command and _ctl_diag_read_buffer functions. Updated packages are available from download.opensuse.org.

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

______________________________________________________________________________

                       SUSE Security Announcement

       Package:                kernel
       Announcement ID:        SUSE-SA:2011:034
       Date:                   Fri, 12 Aug 2011 13:00:00 +0000
       Affected Products:      SUSE Linux Enterprise Desktop 10 SP4
                               SLE SDK 10 SP4
                               SUSE Linux Enterprise Server 10 SP4
       Vulnerability Type:     remote denial of service, potential local privilege escalation
       CVSS v2 Base Score:     7.8 (AV:N/AC:L/Au:N/C:N/I:N/A:C)
       SUSE Default Package:   yes
       Cross-References:       CVE-2011-0726, CVE-2011-1017, CVE-2011-1093
                               CVE-2011-1494, CVE-2011-1495, CVE-2011-1585
                               CVE-2011-1593, CVE-2011-1745, CVE-2011-1746
                               CVE-2011-2022, CVE-2011-2182, CVE-2011-2484
                               CVE-2011-2491, CVE-2011-2496

   Content of This Advisory:
       1) Security Vulnerability Resolved:
            Linux kernel security update
          Problem Description
       2) Solution or Work-Around
       3) Special Instructions and Notes
       4) Package Location and Checksums
       5) Pending Vulnerabilities, Solutions, and Work-Arounds:
           none
       6) Authenticity Verification and Additional Information

______________________________________________________________________________

1) Problem Description and Brief Discussion

  This kernel update for the SUSE Linux Enterprise 10 SP4 kernel fixes
  several security issues and bugs.

  Following security issues were fixed:
  CVE-2011-1093: The dccp_rcv_state_process function in net/dccp/input.c
  in the Datagram Congestion Control Protocol (DCCP) implementation
  in the Linux kernel did not properly handle packets for a CLOSED
  endpoint, which allowed remote attackers to cause a denial of service
  (NULL pointer dereference and OOPS) by sending a DCCP-Close packet
  followed by a DCCP-Reset packet.

  CVE-2011-2484: The add_del_listener function in kernel/taskstats.c
  in the Linux kernel did not prevent multiple registrations of exit
  handlers, which allowed local users to cause a denial of service
  (memory and CPU consumption), and bypass the OOM Killer, via a
  crafted application.

  CVE-2011-1745: Integer overflow in the agp_generic_insert_memory
  function in drivers/char/agp/generic.c in the Linux kernel allowed
  local users to gain privileges or cause a denial of service (system
  crash) via a crafted AGPIOC_BIND agp_ioctl ioctl call.

  CVE-2011-1746: Multiple integer overflows in the (1)
  agp_allocate_memory and (2) agp_create_user_memory functions in
  drivers/char/agp/generic.c in the Linux kernel allowed local users to
  trigger buffer overflows, and consequently cause a denial of service
  (system crash) or possibly have unspecified other impact, via vectors
  related to calls that specify a large number of memory pages.

  CVE-2011-2022: The agp_generic_remove_memory function in
  drivers/char/agp/generic.c in the Linux kernel before 2.6.38.5 did
  not validate a certain start parameter, which allowed local users
  to gain privileges or cause a denial of service (system crash) via a
  crafted AGPIOC_UNBIND agp_ioctl ioctl call, a different vulnerability
  than CVE-2011-1745.

  CVE-2011-1585: When using a setuid root mount.cifs, local users could
  hijack password protected mounted CIFS shares of other local users.

  CVE-2011-0726: The do_task_stat function in fs/proc/array.c in the
  Linux kernel did not perform an expected uid check, which made it
  easier for local users to defeat the ASLR protection mechanism by
  reading the start_code and end_code fields in the /proc/#####/stat
  file for a process executing a PIE binary.

  CVE-2011-2496: The normal mmap paths all avoid creating a mapping
  where the pgoff inside the mapping could wrap around due to
  overflow. However, an expanding mremap() can take such a non-wrapping
  mapping and make it bigger and cause a wrapping condition.

  CVE-2011-2491: A local unprivileged user able to access a NFS
  filesystem could use file locking to deadlock parts of an nfs server
  under some circumstance.

  CVE-2011-1017,CVE-2011-2182: The code for evaluating LDM partitions
  (in fs/partitions/ldm.c) contained bugs that could crash the kernel
  for certain corrupted LDM partitions.

  CVE-2011-1593: Multiple integer overflows in the next_pidmap function
  in kernel/pid.c in the Linux kernel allowed local users to cause a
  denial of service (system crash) via a crafted (1) getdents or (2)
  readdir system call.

  CVE-2011-1494: Integer overflow in the _ctl_do_mpt_command function
  in drivers/scsi/mpt2sas/mpt2sas_ctl.c in the Linux kernel might have
  allowed local users to gain privileges or cause a denial of service
  (memory corruption) via an ioctl call specifying a crafted value that
  triggers a heap-based buffer overflow.

  CVE-2011-1495: drivers/scsi/mpt2sas/mpt2sas_ctl.c in the Linux kernel
  did not validate (1) length and (2) offset values before performing
  memory copy operations, which might have allowed local users to gain
  privileges, cause a denial of service (memory corruption), or obtain
  sensitive information from kernel memory via a crafted ioctl call,
  related to the _ctl_do_mpt_command and _ctl_diag_read_buffer functions.

2) Solution or Work-Around

  There is no known workaround, please install the update packages.

3) Special Instructions and Notes

  Please reboot the machine after installing the update.

4) Package Location and Checksums

  The preferred method for installing security updates is to use the YaST
  "Online Update" module or the "zypper" commandline tool. The package and
  patch management stack will detect which updates are required and
  automatically perform the necessary steps to verify and install them.

  Alternatively, download the update packages for your distribution manually
  and verify their integrity by the methods listed in Section 6 of this
  announcement. Then install the packages using the command

    rpm -Fhv <file.rpm>

  to apply the update, replacing <file.rpm> with the filename of the
  downloaded RPM package.

  Our maintenance customers are notified individually. The packages are
  offered for installation from the maintenance web:

  SUSE Linux Enterprise Desktop 10 SP4 for x86
    http://download.novell.com/patch/finder/?keywords=75c70ba80807aed777189444e17910e5

  SUSE Linux Enterprise Desktop 10 SP4
    http://download.novell.com/patch/finder/?keywords=2284bd78d78b00accc68729a9634d92d
    http://download.novell.com/patch/finder/?keywords=75c70ba80807aed777189444e17910e5

  SLE SDK 10 SP4
    http://download.novell.com/patch/finder/?keywords=2284bd78d78b00accc68729a9634d92d
    http://download.novell.com/patch/finder/?keywords=0e9208ee65c884d152a545b8766938bc
    http://download.novell.com/patch/finder/?keywords=3b9cb9db7d375a34d07fb460aad8137b
    http://download.novell.com/patch/finder/?keywords=75c70ba80807aed777189444e17910e5

  SUSE Linux Enterprise Server 10 SP4
    http://download.novell.com/patch/finder/?keywords=2284bd78d78b00accc68729a9634d92d
    http://download.novell.com/patch/finder/?keywords=5f3e206eac108e161bdd1b3928ce7c3e
    http://download.novell.com/patch/finder/?keywords=0e9208ee65c884d152a545b8766938bc
    http://download.novell.com/patch/finder/?keywords=3b9cb9db7d375a34d07fb460aad8137b
    http://download.novell.com/patch/finder/?keywords=75c70ba80807aed777189444e17910e5

  SUSE Linux Enterprise Desktop 10 SP4 for AMD64 and Intel EM64T
    http://download.novell.com/patch/finder/?keywords=2284bd78d78b00accc68729a9634d92d

______________________________________________________________________________

5) Pending Vulnerabilities, Solutions, and Work-Arounds:

  none
______________________________________________________________________________

6) Authenticity Verification and Additional Information

 - Announcement authenticity verification:

   SUSE security announcements are published via mailing lists and on Web
   sites. The authenticity and integrity of a SUSE security announcement is
   guaranteed by a cryptographic signature in each announcement. All SUSE
   security announcements are published with a valid signature.

   To verify the signature of the announcement, save it as text into a file
   and run the command

     gpg --verify <file>

   replacing <file> with the name of the file where you saved the
   announcement. The output for a valid signature looks like:

     gpg: Signature made <DATE> using RSA key ID 3D25D3D9
     gpg: Good signature from "SuSE Security Team <security@suse.de>"

   where <DATE> is replaced by the date the document was signed.

   If the security team's key is not contained in your key ring, you can
   import it from the first installation CD. To import the key, use the
   command

     gpg --import gpg-pubkey-3d25d3d9-36e12d04.asc

 - Package authenticity verification:

   SUSE update packages are available on many mirror FTP servers all over the
   world. While this service is considered valuable and important to the free
   and open source software community, the authenticity and the integrity of
   a package needs to be verified to ensure that it has not been tampered
   with.

   The internal rpm package signatures provide an easy way to verify the
   authenticity of an RPM package. Use the command

    rpm -v --checksig <file.rpm>

   to verify the signature of the package, replacing <file.rpm> with the
   filename of the RPM package downloaded. The package is unmodified if it
   contains a valid signature from build@suse.de with the key ID 9C800ACA.

   This key is automatically imported into the RPM database (on
   RPMv4-based distributions) and the gpg key ring of 'root' during
   installation. You can also find it on the first installation CD and at
   the end of this announcement.

 - SUSE runs two security mailing lists to which any interested party may
   subscribe:

   opensuse-security@opensuse.org
       -   General Linux and SUSE security discussion.
           All SUSE security announcements are sent to this list.
           To subscribe, send an e-mail to
               <opensuse-security+subscribe@opensuse.org>.

   opensuse-security-announce@opensuse.org
       -   SUSE's announce-only mailing list.
           Only SUSE's security announcements are sent to this list.
           To subscribe, send an e-mail to
               <opensuse-security-announce+subscribe@opensuse.org>.

   =====================================================================
   SUSE's security contact is <security@suse.com> or <security@suse.de>.
   The <security@suse.de> public key is listed below.
   =====================================================================
______________________________________________________________________________

   The information in this advisory may be distributed or reproduced,
   provided that the advisory is not modified in any way. In particular, the
   clear text signature should show proof of the authenticity of the text.

   SUSE Linux Products GmbH provides no warranties of any kind whatsoever
   with respect to the information contained in this security advisory.

Type Bits/KeyID     Date       User ID
pub  2048R/3D25D3D9 1999-03-06 SuSE Security Team <security@suse.de>
pub  1024D/9C800ACA 2000-10-19 SuSE Package Signing Key <build@suse.de>

- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.2 (GNU/Linux)

mQENAzbhLQQAAAEIAKAkXHe0lWRBXLpn38hMHy03F0I4Sszmoc8aaKJrhfhyMlOA
BqvklPLE2f9UrI4Xc860gH79ZREwAgPt0pi6+SleNFLNcNFAuuHMLQOOsaMFatbz
JR9i4m/lf6q929YROu5zB48rBAlcfTm+IBbijaEdnqpwGib45wE/Cfy6FAttBHQh
1Kp+r/jPbf1mYAvljUfHKuvbg8t2EIQz/5yGp+n5trn9pElfQO2cRBq8LFpf1l+U
P7EKjFmlOq+Gs/fF98/dP3DfniSd78LQPq5vp8RL8nr/o2i7jkAQ33m4f1wOBWd+
cZovrKXYlXiR+Bf7m2hpZo+/sAzhd7LmAD0l09kABRG0JVN1U0UgU2VjdXJpdHkg
VGVhbSA8c2VjdXJpdHlAc3VzZS5kZT6JARUDBRA24S1H5Fiyh7HKPEUBAVcOB/9b
yHYji1/+4Xc2GhvXK0FSJN0MGgeXgW47yxDL7gmR4mNgjlIOUHZj0PEpVjWepOJ7
tQS3L9oP6cpj1Fj/XxuLbkp5VCQ61hpt54coQAvYrnT9rtWEGN+xmwejT1WmYmDJ
xG+EGBXKr+XP69oIUl1E2JO3rXeklulgjqRKos4cdXKgyjWZ7CP9V9daRXDtje63
Om8gwSdU/nCvhdRIWp/Vwbf7Ia8iZr9OJ5YuQl0DBG4qmGDDrvImgPAFkYFzwlqo
choXFQ9y0YVCV41DnR+GYhwl2qB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s
RhAckuPQu+4ZItxWKIbdGO9WnmLACaS/VP04oSEQ+oQ0fKz2eJoly5f+WS8l1Tj/
jydQA6LjBiAokWU6u1ZDqnBFSd8uWJuTo2Aatr31Sl6e+lxdukOMcg==
=YWoA
-----END PGP SIGNATURE-----
Screenshot

Project Spotlight

Kigo Video Converter Ultimate for Mac

A tool for converting and editing videos.

Screenshot

Project Spotlight

Kid3

An efficient tagger for MP3, Ogg/Vorbis, and FLAC files.