Linux kernel sendmsg function buffer overflow

kernel-sendmsg-bo (22217) The risk level is classified as HighHigh Risk

Description:

Linux kernel is vulnerable to a stack-based buffer overflow caused by improper bounds checking in the sendmsg() function. This occurs when copying 32-bit msg_control contents from user-space to the kernel. A local attacker could exploit this vulnerability to overflow a buffer and execute arbitrary code on the system with kernel privileges.

Platforms Affected:

  • Canonical, Ubuntu 4.10
  • Canonical, Ubuntu 5.04
  • Debian, Debian Linux 3.1
  • Linux, Kernel 2.6.0 test9
  • Linux, Kernel 2.6.0 test8
  • Linux, Kernel 2.6.0 test7
  • Linux, Kernel 2.6.0 test6
  • Linux, Kernel 2.6.0 test5
  • Linux, Kernel 2.6.0
  • Linux, Kernel 2.6.0 test3
  • Linux, Kernel 2.6.0 test2
  • Linux, Kernel 2.6.0 test11
  • Linux, Kernel 2.6.0 test10
  • Linux, Kernel 2.6.0 test1
  • Linux, Kernel 2.6.0 test4
  • Linux, Kernel 2.6.1 rc3
  • Linux, Kernel 2.6.1
  • Linux, Kernel 2.6.1 rc1
  • Linux, Kernel 2.6.1 rc2
  • Linux, Kernel 2.6.10
  • Linux, Kernel 2.6.10 rc1
  • Linux, Kernel 2.6.10 rc2
  • Linux, Kernel 2.6.10 rc3
  • Linux, Kernel 2.6.11 rc2
  • Linux, Kernel 2.6.11
  • Linux, Kernel 2.6.11 rc1
  • Linux, Kernel 2.6.11 rc3
  • Linux, Kernel 2.6.11 rc5
  • Linux, Kernel 2.6.11 rc4
  • Linux, Kernel 2.6.11.1
  • Linux, Kernel 2.6.11.10
  • Linux, Kernel 2.6.11.11
  • Linux, Kernel 2.6.11.12
  • Linux, Kernel 2.6.11.2
  • Linux, Kernel 2.6.11.3
  • Linux, Kernel 2.6.11.4
  • 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.11.9
  • Linux, Kernel 2.6.12 rc6
  • Linux, Kernel 2.6.12 rc5
  • Linux, Kernel 2.6.12
  • Linux, Kernel 2.6.12 rc1
  • Linux, Kernel 2.6.12 rc2
  • Linux, Kernel 2.6.12 rc3
  • Linux, Kernel 2.6.12 rc4
  • Linux, Kernel 2.6.12.1
  • Linux, Kernel 2.6.12.12
  • Linux, Kernel 2.6.12.2
  • Linux, Kernel 2.6.12.22
  • 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 rc2
  • Linux, Kernel 2.6.13 rc1
  • Linux, Kernel 2.6.13
  • Linux, Kernel 2.6.13 rc7
  • Linux, Kernel 2.6.13 rc6
  • Linux, Kernel 2.6.13 rc5
  • Linux, Kernel 2.6.13 rc4
  • Linux, Kernel 2.6.13 rc3
  • Linux, Kernel 2.6.2
  • Linux, Kernel 2.6.2 rc1
  • Linux, Kernel 2.6.2 rc2
  • Linux, Kernel 2.6.2 rc3
  • Linux, Kernel 2.6.3 rc2
  • Linux, Kernel 2.6.3 rc3
  • Linux, Kernel 2.6.3 rc4
  • Linux, Kernel 2.6.3 rc1
  • Linux, Kernel 2.6.3
  • Linux, Kernel 2.6.4
  • Linux, Kernel 2.6.4 rc3
  • Linux, Kernel 2.6.4 rc2
  • Linux, Kernel 2.6.4 rc1
  • Linux, Kernel 2.6.5 rc1
  • Linux, Kernel 2.6.5
  • Linux, Kernel 2.6.5 rc3
  • Linux, Kernel 2.6.5 rc2
  • Linux, Kernel 2.6.6 rc3
  • Linux, Kernel 2.6.6 rc1
  • Linux, Kernel 2.6.6
  • Linux, Kernel 2.6.6 rc2
  • Linux, Kernel 2.6.7 rc2
  • Linux, Kernel 2.6.7 rc3
  • Linux, Kernel 2.6.7
  • Linux, Kernel 2.6.7 rc1
  • Linux, Kernel 2.6.8 rc2
  • Linux, Kernel 2.6.8 rc3
  • Linux, Kernel 2.6.8 rc4
  • Linux, Kernel 2.6.8 rc1
  • Linux, Kernel 2.6.8
  • Linux, Kernel 2.6.8.1
  • Linux, Kernel 2.6.9
  • Linux, Kernel 2.6.9 rc2
  • Linux, Kernel 2.6.9 rc3
  • Linux, Kernel 2.6.9 rc4
  • Linux, Kernel 2.6.9 rc1
  • MandrakeSoft, Mandrake Linux 10.1 X86_64
  • MandrakeSoft, Mandrake Linux 10.1
  • MandrakeSoft, Mandrake Linux 2006 X86_64
  • MandrakeSoft, Mandrake Linux 2006
  • MandrakeSoft, Mandrake Linux LE2005
  • MandrakeSoft, Mandrake Linux LE2005 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0
  • MandrakeSoft, Mandrake Multi Network Firewall 2.0
  • Novell, UnitedLinux 1.0
  • RedHat, Enterprise Linux 3 ES
  • RedHat, Enterprise Linux 3 AS
  • RedHat, Enterprise Linux 3 WS
  • RedHat, Enterprise Linux 3 Desktop
  • RedHat, Enterprise Linux 4 WS
  • RedHat, Enterprise Linux 4 AS
  • RedHat, Enterprise Linux 4 ES
  • RedHat, Enterprise Linux 4 Desktop
  • SuSE, Linux Enterprise Server 8
  • SuSE, Linux Enterprise Server 9
  • SuSE, SuSE Linux 9.0
  • SuSE, SuSE Linux 9.1
  • SuSE, SuSE Linux 9.2
  • SuSE, SuSE Linux 9.3
  • SuSE, SuSE Linux Desktop 1.0

Remedy:

For Debian GNU/Linux:
Refer to DSA-1017-1 for patch, upgrade, or suggested workaround information. See References.

For Red Hat Linux:
Refer to RHSA-2005:514-46 or RHSA-2005:663-19 for patch, upgrade, or suggested workaround information. See References.

For Ubuntu Linux:
Refer to USN-178-1 for patch, upgrade, or suggested workaround information. See References.

For SUSE Linux:
Refer to SUSE Security Announcement SUSE-SA:2005:068 for patch, upgrade, or suggested workaround information. See References.

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

Consequences:

Gain Access

References:

Reported:

Sep 09, 2005

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 (IBM 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.

For corrections or additions please email xforce@iss.net

Return to the main page