Linux Kernel "drivers/scsi/gdth. c" IOCTL Local Privilege Escalation Vulnerability

Source: Internet
Author: User

Linux Kernel "drivers/scsi/gdth. c" IOCTL Local Privilege Escalation Vulnerability

Release date:
Updated on:

Affected Systems:
Linux kernel 2.6.0-2.6.37
Description:
--------------------------------------------------------------------------------
Bugtraq id: 44648
Cve id: CVE-2010-4157

Linux Kernel is the Kernel used by open source Linux.

Linux Kernel has a vulnerability in implementation. Attackers can exploit this vulnerability to execute arbitrary code at the Kernel level and completely control the affected computers.

This vulnerability is caused by an integer overflow error in ioctl.

<* Source: Dan Carpenter (error27@gmail.com)

*>

Test method:
--------------------------------------------------------------------------------

Alert

The following procedures (methods) may be offensive and are intended only for security research and teaching. Users are at your own risk!

Dan Carpenter (error27@gmail.com) provides the following test methods:

--- A/drivers/scsi/gdth. c ++ B/drivers/scsi/gdth. c @-Route 7, 6 + Route 7, 14 @ static int ioc_general (void _ user * arg, char * cmnd) ha = gdth_find_ha (gen. ionode); if (! Ha) return-EFAULT; ++ if (gen. data_len> INT_MAX) + return-EINVAL; + if (gen. sense_len> INT_MAX) + return-EINVAL; + if (gen. data_len + gen. sense_len> INT_MAX) + return-EINVAL; + if (gen. data_len + gen. sense_len! = 0) {if (! (Buf = gdth_ioctl_alloc (ha, gen. data_len + gen. sense_len, FALSE, & paddr )))

Suggestion:
--------------------------------------------------------------------------------
Vendor patch:

Linux
-----
The vendor has released a patch to fix this security problem. Please download it from the vendor's homepage:

Http://www.kernel.org/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.