Linux kernel mprotect security bypass

linux-mprotect-security-bypass (26169) The risk level is classified as MediumMedium Risk

Description:

Linux kernel could allow a local attacker to bypass security restrictions, caused by improper validation of shared memory permissions in the ipc/shm.c file. An attacker could exploit this vulnerability using the mprotect command to gain write access to read-only attachments and shared memory.

Platforms Affected:

  • Canonical, Ubuntu 5.04
  • Canonical, Ubuntu 5.10
  • Canonical, Ubuntu 6.06 LTS
  • Linux, Kernel 2.4.0 test10
  • Linux, Kernel 2.4.0 test5
  • Linux, Kernel 2.4.0 test9
  • Linux, Kernel 2.4.0 test8
  • Linux, Kernel 2.4.0 test7
  • Linux, Kernel 2.4.0
  • Linux, Kernel 2.4.0 test1
  • Linux, Kernel 2.4.0 test6
  • Linux, Kernel 2.4.0 test11
  • Linux, Kernel 2.4.0 test12
  • Linux, Kernel 2.4.0 test2
  • Linux, Kernel 2.4.0 test3
  • Linux, Kernel 2.4.0 test4
  • Linux, Kernel 2.4.1
  • Linux, Kernel 2.4.10
  • Linux, Kernel 2.4.11
  • Linux, Kernel 2.4.12
  • Linux, Kernel 2.4.13
  • Linux, Kernel 2.4.14
  • Linux, Kernel 2.4.15
  • Linux, Kernel 2.4.16
  • Linux, Kernel 2.4.17
  • Linux, Kernel 2.4.18 x86
  • Linux, Kernel 2.4.18
  • Linux, Kernel 2.4.18 pre8
  • Linux, Kernel 2.4.18 pre7
  • Linux, Kernel 2.4.18 pre6
  • Linux, Kernel 2.4.18 pre5
  • Linux, Kernel 2.4.18 pre4
  • Linux, Kernel 2.4.18 pre3
  • Linux, Kernel 2.4.18 pre2
  • Linux, Kernel 2.4.18 pre1
  • Linux, Kernel 2.4.19 pre3
  • Linux, Kernel 2.4.19 pre6
  • Linux, Kernel 2.4.19 pre5
  • Linux, Kernel 2.4.19 pre4
  • Linux, Kernel 2.4.19 pre2
  • Linux, Kernel 2.4.19 pre1
  • Linux, Kernel 2.4.19
  • Linux, Kernel 2.4.2
  • Linux, Kernel 2.4.20
  • Linux, Kernel 2.4.21 pre1
  • Linux, Kernel 2.4.21 pre7
  • Linux, Kernel 2.4.21 pre4
  • Linux, Kernel 2.4.21
  • Linux, Kernel 2.4.22
  • Linux, Kernel 2.4.23
  • Linux, Kernel 2.4.23 pre9
  • Linux, Kernel 2.4.23 ow2
  • Linux, Kernel 2.4.24 ow1
  • Linux, Kernel 2.4.24
  • Linux, Kernel 2.4.25
  • Linux, Kernel 2.4.26
  • Linux, Kernel 2.4.27 pre4
  • Linux, Kernel 2.4.27 pre5
  • Linux, Kernel 2.4.27
  • Linux, Kernel 2.4.27 pre1
  • Linux, Kernel 2.4.27 pre2
  • Linux, Kernel 2.4.27 pre3
  • Linux, Kernel 2.4.28
  • Linux, Kernel 2.4.29 rc2
  • Linux, Kernel 2.4.29 rc1
  • Linux, Kernel 2.4.29
  • Linux, Kernel 2.4.3
  • Linux, Kernel 2.4.30
  • Linux, Kernel 2.4.30 rc3
  • Linux, Kernel 2.4.30 rc2
  • Linux, Kernel 2.4.31 pre1
  • Linux, Kernel 2.4.31
  • Linux, Kernel 2.4.32 pre1
  • Linux, Kernel 2.4.32 pre2
  • Linux, Kernel 2.4.32
  • Linux, Kernel 2.4.33 pre1
  • Linux, Kernel 2.4.4
  • Linux, Kernel 2.4.5
  • Linux, Kernel 2.4.6
  • Linux, Kernel 2.4.7
  • Linux, Kernel 2.4.8
  • Linux, Kernel 2.4.9
  • Linux, Kernel 2.6.0 test9-cvs
  • Linux, Kernel 2.6.0
  • Linux, Kernel 2.6.0 test1
  • Linux, Kernel 2.6.0 test10
  • Linux, Kernel 2.6.0 test11
  • Linux, Kernel 2.6.0 test2
  • Linux, Kernel 2.6.0 test3
  • Linux, Kernel 2.6.0 test4
  • Linux, Kernel 2.6.0 test5
  • Linux, Kernel 2.6.0 test6
  • Linux, Kernel 2.6.0 test8
  • Linux, Kernel 2.6.0 test9
  • Linux, Kernel 2.6.0 test7
  • Linux, Kernel 2.6.1
  • Linux, Kernel 2.6.1 rc2
  • Linux, Kernel 2.6.1 rc1
  • Linux, Kernel 2.6.10
  • Linux, Kernel 2.6.10 rc2
  • Linux, Kernel 2.6.11 rc4
  • Linux, Kernel 2.6.11
  • Linux, Kernel 2.6.11 rc3
  • Linux, Kernel 2.6.11 rc2
  • Linux, Kernel 2.6.11.11
  • Linux, Kernel 2.6.11.12
  • Linux, Kernel 2.6.11.5
  • Linux, Kernel 2.6.11.6
  • Linux, Kernel 2.6.11.7
  • Linux, Kernel 2.6.11.8
  • Linux, Kernel 2.6.12 rc5
  • Linux, Kernel 2.6.12 rc4
  • Linux, Kernel 2.6.12 rc1
  • Linux, Kernel 2.6.12.1
  • Linux, Kernel 2.6.12.2
  • Linux, Kernel 2.6.12.3
  • Linux, Kernel 2.6.12.4
  • Linux, Kernel 2.6.12.5
  • Linux, Kernel 2.6.12.6
  • Linux, Kernel 2.6.13 rc6
  • Linux, Kernel 2.6.13
  • Linux, Kernel 2.6.13 rc4
  • Linux, Kernel 2.6.13 rc1
  • Linux, Kernel 2.6.13 rc7
  • Linux, Kernel 2.6.13.1
  • Linux, Kernel 2.6.13.2
  • Linux, Kernel 2.6.13.3
  • Linux, Kernel 2.6.13.4
  • Linux, Kernel 2.6.14 rc1
  • Linux, Kernel 2.6.14 rc4
  • Linux, Kernel 2.6.14 rc2
  • Linux, Kernel 2.6.14
  • Linux, Kernel 2.6.14 rc3
  • Linux, Kernel 2.6.14.1
  • Linux, Kernel 2.6.14.2
  • Linux, Kernel 2.6.14.3
  • Linux, Kernel 2.6.14.4
  • Linux, Kernel 2.6.14.5
  • Linux, Kernel 2.6.15 rc2
  • Linux, Kernel 2.6.15 rc3
  • Linux, Kernel 2.6.15
  • Linux, Kernel 2.6.15 rc1
  • Linux, Kernel 2.6.15.1
  • Linux, Kernel 2.6.15.2
  • Linux, Kernel 2.6.15.3
  • Linux, Kernel 2.6.15.4
  • Linux, Kernel 2.6.15.5
  • Linux, Kernel 2.6.16
  • Linux, Kernel 2.6.2
  • Linux, Kernel 2.6.3
  • Linux, Kernel 2.6.4
  • Linux, Kernel 2.6.5
  • Linux, Kernel 2.6.6 rc1
  • Linux, Kernel 2.6.6
  • Linux, Kernel 2.6.7 rc1
  • Linux, Kernel 2.6.7
  • Linux, Kernel 2.6.8 rc2
  • Linux, Kernel 2.6.8 rc1
  • Linux, Kernel 2.6.8
  • Linux, Kernel 2.6.8 rc3
  • Linux, Kernel 2.6.9
  • MandrakeSoft, Mandrake Linux 2006 X86_64
  • MandrakeSoft, Mandrake Linux 2006
  • RedHat, Enterprise Linux 2.1 ES
  • RedHat, Enterprise Linux 2.1 AS
  • RedHat, Enterprise Linux 2.1 WS
  • RedHat, Enterprise Linux 3 ES
  • RedHat, Enterprise Linux 3 WS
  • RedHat, Enterprise Linux 3 AS
  • RedHat, Enterprise Linux 3 Desktop
  • RedHat, Enterprise Linux 4 AS
  • RedHat, Enterprise Linux 4 Desktop
  • RedHat, Enterprise Linux 4 ES
  • RedHat, Enterprise Linux 4 WS
  • RedHat, Linux Advanced Workstation 2.1 Itanium
  • VMware, ESX Server 2.0.2
  • VMware, ESX Server 2.1.3
  • VMware, ESX Server 2.5.3
  • VMware, ESX Server 2.5.4

Remedy:

Upgrade to the latest stable version of Linux kernel (2.6.16.9 or later), available from The Linux Kernel Archives. See References.

For Red Hat Linux 2.1:
Refer to RHSA-2006:0579-12 and RHSA-2006:0580-7 for patch, upgrade, or suggested workaround information. See References.

For Red Hat Linux 3:
Refer to RHSA-2006:0710-7 for patch, upgrade, or suggested workaround information. See References.

For Red Hat Linux 4:
Refer to RHSA-2006:0689-15 for patch, upgrade, or suggested workaround information. See References.

For VMware ESX Server 2.0.2:
Apply the patch for this vulnerability, as listed in the VMware Advisory esx-202-200610-patch. See References.

For VMware ESX Server 2.1.3:
Apply the patch for this vulnerability, as listed in the VMware Advisory esx-213-200610-patch. See References.

For VMware ESX Server 2.5.4:
Apply the patch for this vulnerability, as listed in the VMware Advisory esx-254-200610-patch. See References.

For VMware 2.5.3:
Apply the patch for this vulnerability, as listed in the VMware Advisory esx-253-200610-patch. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

Consequences:

Bypass Security

References:

Reported:

Apr 27, 2006

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page