Mandrake Linux Advisories: kernel, kernel22
Mar 28, 2003, 12:57 (0 Talkback[s])
______________________________________________________________________
Mandrake Linux Security Update Advisory
______________________________________________________________________
Package name: kernel
Advisory ID: MDKSA-2003:038
Date: March 27th, 2003
Affected versions: 9.0, Corporate Server 2.1
______________________________________________________________________
Problem Description:
A bug in the kernel module loader code could allow a local user to gain
root privileges. This is done by a local user using ptrace and
attaching to a modprobe process that is spawned if the user triggers
the loading of a kernel module.
A temporary workaround can be used to defend against this flaw. It is
possible to temporarily disable the kmod kernel module loading
subsystem in the kernel after all of the required kernel modules have
been loaded. Be sure that you do not need to load additional kernel
modules after implementing this workaround. To use it, as root execute:
echo /no/such/file >/proc/sys/kernel/modprobe
To automate this, you may wish to add it as the last line of the
/etc/rc.d/rc.local file. You can revert this change by replacing the
content "/sbin/modprobe" in the /proc/sys/kernel/modprobe file. The
root user can still manually load kernel modules with this workaround
in place.
This update applies a patch to correct the problem. All users should
upgrade. Please note that the Mandrake Linux 9.1 kernel already has
this patch, and an updated kernel for Mandrake Linux 8.2 will be
available shortly.
For instructions on how to upgrade your kernel in Mandrake Linux,
please refer to:
http://www.mandrakesecure.net/en/kernelupdate.php
______________________________________________________________________
References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0127
______________________________________________________________________
Updated Packages:
Corporate Server 2.1:
f3c1c5e6b9a677019cfe7094ff804c10 corporate/2.1/RPMS/kernel-2.4.19.32mdk-1-1mdk.i586.rpm
3dcd13d22100c30d88ddfc4294baa9e4 corporate/2.1/RPMS/kernel-BOOT-2.4.19.32mdk-1-1mdk.i586.rpm
2949fd7c641662835d2f3eb54b1fd884 corporate/2.1/RPMS/kernel-enterprise-2.4.19.32mdk-1-1mdk.i586.rpm
333689546094a5fc804ee7f5d1c4aecf corporate/2.1/RPMS/kernel-secure-2.4.19.32mdk-1-1mdk.i586.rpm
d4ad9d24d072d188afbc353cda4206b7 corporate/2.1/RPMS/kernel-smp-2.4.19.32mdk-1-1mdk.i586.rpm
4b611461a5aac876e41516948dadb710 corporate/2.1/RPMS/kernel-source-2.4.19-32mdk.i586.rpm
58f41baa7913134f719de3ae7d834ee8 corporate/2.1/SRPMS/kernel-2.4.19.32mdk-1-1mdk.src.rpm
Mandrake Linux 9.0:
f3c1c5e6b9a677019cfe7094ff804c10 9.0/RPMS/kernel-2.4.19.32mdk-1-1mdk.i586.rpm
3dcd13d22100c30d88ddfc4294baa9e4 9.0/RPMS/kernel-BOOT-2.4.19.32mdk-1-1mdk.i586.rpm
2949fd7c641662835d2f3eb54b1fd884 9.0/RPMS/kernel-enterprise-2.4.19.32mdk-1-1mdk.i586.rpm
333689546094a5fc804ee7f5d1c4aecf 9.0/RPMS/kernel-secure-2.4.19.32mdk-1-1mdk.i586.rpm
d4ad9d24d072d188afbc353cda4206b7 9.0/RPMS/kernel-smp-2.4.19.32mdk-1-1mdk.i586.rpm
4b611461a5aac876e41516948dadb710 9.0/RPMS/kernel-source-2.4.19-32mdk.i586.rpm
58f41baa7913134f719de3ae7d834ee8 9.0/SRPMS/kernel-2.4.19.32mdk-1-1mdk.src.rpm
______________________________________________________________________
Bug IDs fixed (see https://qa.mandrakesoft.com for more information):
______________________________________________________________________
To upgrade automatically, use MandrakeUpdate. The verification of md5
checksums and GPG signatures is performed automatically for you.
If you want to upgrade manually, download the updated package from one
of our FTP server mirrors and upgrade with "rpm -Fvh *.rpm". A list of
FTP mirrors can be obtained from:
http://www.mandrakesecure.net/en/ftp.php
Please verify the update prior to upgrading to ensure the integrity of
the downloaded package. You can do this with the command:
rpm --checksig
All packages are signed by MandrakeSoft for security. You can obtain
the GPG public key of the Mandrake Linux Security Team from:
https://www.mandrakesecure.net/RPM-GPG-KEYS
Please be aware that sometimes it takes the mirrors a few hours to
update.
You can view other update advisories for Mandrake Linux at:
http://www.mandrakesecure.net/en/advisories/
MandrakeSoft has several security-related mailing list services that
anyone can subscribe to. Information on these lists can be obtained by
visiting:
http://www.mandrakesecure.net/en/mlist.php
If you want to report vulnerabilities, please contact
security_linux-mandrake.com
Type Bits/KeyID Date User ID
pub 1024D/22458A98 2000-07-10 Linux Mandrake Security Team
______________________________________________________________________
Mandrake Linux Security Update Advisory
______________________________________________________________________
Package name: kernel22
Advisory ID: MDKSA-2003:039
Date: March 27th, 2003
Affected versions: 7.2, 8.1, 8.2, Single Network Firewall 7.2
______________________________________________________________________
Problem Description:
A number of vulnerabilities have been found in the Linux 2.2
kernel that have been addressed with the latest 2.2.25 release.
A bug in the kernel module loader code could allow a local user to
gain root privileges. This is done by a local user using ptrace and
attaching to a modprobe process that is spawned if the user triggers
the loading of a kernel module.
A temporary workaround can be used to defend against this flaw. It is
possible to temporarily disable the kmod kernel module loading
subsystem in the kernel after all of the required kernel modules have
been loaded. Be sure that you do not need to load additional kernel
modules after implementing this workaround. To use it, as root execute:
echo /no/such/file >/proc/sys/kernel/modprobe
To automate this, you may wish to add it as the last line of the
/etc/rc.d/rc.local file. You can revert this change by replacing the
content "/sbin/modprobe" in the /proc/sys/kernel/modprobe file. The
root user can still manually load kernel modules with this workaround
in place.
As well, multiple ethernet device drivers do not pad frames with null
bytes, which could allow remote attackers to obtain information from
previous packets or kernel memory by using malformed packets.
Finally, the 2.2 kernel allows local users to cause a crash of the host
system by using the mmap() function with a PROT_READ parameter to
access non-readable memory pages through the /proc/pid/mem interface.
All users are encouraged to upgrade to the latest kernel version
provided.
For instructions on how to upgrade your kernel in Mandrake Linux,
please refer to:
http://www.mandrakesecure.net/en/kernelupdate.php
______________________________________________________________________
References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0001
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0127
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-1380
______________________________________________________________________
Updated Packages:
Linux-Mandrake 7.2:
bdb1e2835881bf1d22637629478400c1 7.2/RPMS/alsa-2.2.25_0.5.11-1.1mdk.i586.rpm
6ed6ccbdc7fde53b95a9ae7bbb238485 7.2/RPMS/alsa-source-2.2.25_0.5.11-1.1mdk.i586.rpm
3ad19bb95ff47789ca5a8b2c16ac5a29 7.2/RPMS/kernel-2.2.25-1.1mdk.i586.rpm
e7a8903aafe28412a52d034a29a44a94 7.2/RPMS/kernel-doc-2.2.25-1.1mdk.i586.rpm
fb611f37591a939e27863d43051de72e 7.2/RPMS/kernel-headers-2.2.25-1.1mdk.i586.rpm
7bdd5c57b27752fe04b402be6d099622 7.2/RPMS/kernel-pcmcia-cs-2.2.25-1.1mdk.i586.rpm
d1d8793f10fb72a4c051076e8980b80a 7.2/RPMS/kernel-secure-2.2.25-1.1mdk.i586.rpm
96030d790e275f633a53a08b0fe5fbf2 7.2/RPMS/kernel-smp-2.2.25-1.1mdk.i586.rpm
97448e85af33e74426ee527e3ad8eba1 7.2/RPMS/kernel-source-2.2.25-1.1mdk.i586.rpm
63049cd8a930bec0f1c340f801819cfb 7.2/RPMS/kernel-utils-2.2.25-1.1mdk.i586.rpm
453c0a9ffaa157f0f0bc1d4d29e95cd5 7.2/RPMS/reiserfs-utils-2.2.25_3.5.29-1.1mdk.i586.rpm
6307ab8e58716866c8289f5ab109758f 7.2/SRPMS/kernel-2.2.25-1.1mdk.src.rpm
Mandrake Linux 8.1:
38bf220ae12b3e92a370ed6130b16763 8.1/RPMS/kernel22-2.2.25-1.1mdk.i586.rpm
3bf3557a66c27083c44ae2fdd6f3540e 8.1/RPMS/kernel22-smp-2.2.25-1.1mdk.i586.rpm
8a1d62727171bf6fa61f141683750d35 8.1/RPMS/kernel22-source-2.2.25-1.1mdk.i586.rpm
2ec4d3ac5cc53ed67295d97ec4bde4a7 8.1/SRPMS/kernel22-2.2.25-1.1mdk.src.rpm
Mandrake Linux 8.2:
59c784593c39afd3ad513887d7da30e4 8.2/RPMS/kernel22-2.2.25-1.1mdk.i586.rpm
de18fcc6874678992426053f3797893a 8.2/RPMS/kernel22-smp-2.2.25-1.1mdk.i586.rpm
588724e44106875bab25611b1e69a350 8.2/RPMS/kernel22-source-2.2.25-1.1mdk.i586.rpm
2ec4d3ac5cc53ed67295d97ec4bde4a7 8.2/SRPMS/kernel22-2.2.25-1.1mdk.src.rpm
Mandrake Linux 8.2/PPC:
1ae4276c52de38f6d47e1f091a7540d0 ppc/8.2/RPMS/kernel22-2.2.25-1.1mdk.ppc.rpm
fe2b6d839185afae247292bd74cc324c ppc/8.2/RPMS/kernel22-smp-2.2.25-1.1mdk.ppc.rpm
051cd86960670e68e6f785f4dabf9017 ppc/8.2/RPMS/kernel22-source-2.2.25-1.1mdk.ppc.rpm
2ec4d3ac5cc53ed67295d97ec4bde4a7 ppc/8.2/SRPMS/kernel22-2.2.25-1.1mdk.src.rpm
Single Network Firewall 7.2:
3ad19bb95ff47789ca5a8b2c16ac5a29 snf7.2/RPMS/kernel-2.2.25-1.1mdk.i586.rpm
e7a8903aafe28412a52d034a29a44a94 snf7.2/RPMS/kernel-doc-2.2.25-1.1mdk.i586.rpm
fb611f37591a939e27863d43051de72e snf7.2/RPMS/kernel-headers-2.2.25-1.1mdk.i586.rpm
7bdd5c57b27752fe04b402be6d099622 snf7.2/RPMS/kernel-pcmcia-cs-2.2.25-1.1mdk.i586.rpm
d1d8793f10fb72a4c051076e8980b80a snf7.2/RPMS/kernel-secure-2.2.25-1.1mdk.i586.rpm
96030d790e275f633a53a08b0fe5fbf2 snf7.2/RPMS/kernel-smp-2.2.25-1.1mdk.i586.rpm
97448e85af33e74426ee527e3ad8eba1 snf7.2/RPMS/kernel-source-2.2.25-1.1mdk.i586.rpm
63049cd8a930bec0f1c340f801819cfb snf7.2/RPMS/kernel-utils-2.2.25-1.1mdk.i586.rpm
453c0a9ffaa157f0f0bc1d4d29e95cd5 snf7.2/RPMS/reiserfs-utils-2.2.25_3.5.29-1.1mdk.i586.rpm
6307ab8e58716866c8289f5ab109758f snf7.2/SRPMS/kernel-2.2.25-1.1mdk.src.rpm
______________________________________________________________________
Bug IDs fixed (see https://qa.mandrakesoft.com for more information):
______________________________________________________________________
To upgrade automatically, use MandrakeUpdate. The verification of md5
checksums and GPG signatures is performed automatically for you.
If you want to upgrade manually, download the updated package from one
of our FTP server mirrors and upgrade with "rpm -Fvh *.rpm". A list of
FTP mirrors can be obtained from:
http://www.mandrakesecure.net/en/ftp.php
Please verify the update prior to upgrading to ensure the integrity of
the downloaded package. You can do this with the command:
rpm --checksig
All packages are signed by MandrakeSoft for security. You can obtain
the GPG public key of the Mandrake Linux Security Team from:
https://www.mandrakesecure.net/RPM-GPG-KEYS
Please be aware that sometimes it takes the mirrors a few hours to
update.
You can view other update advisories for Mandrake Linux at:
http://www.mandrakesecure.net/en/advisories/
MandrakeSoft has several security-related mailing list services that
anyone can subscribe to. Information on these lists can be obtained by
visiting:
http://www.mandrakesecure.net/en/mlist.php
If you want to report vulnerabilities, please contact
security_linux-mandrake.com
Type Bits/KeyID Date User ID
pub 1024D/22458A98 2000-07-10 Linux Mandrake Security Team