Linux Kernel gdth Kernel Memory Corruption Vulnerability

Source: Internet
Author: User

Linux Kernel gdth Kernel Memory Corruption Vulnerability

Release date:
Updated on:

Affected Systems:
Linux kernel 2.6.x
Description:
--------------------------------------------------------------------------------
Cve id: CVE-2010-4157

Linux Kernel is the Kernel used by open source Linux.

The value variable of the gdth_ioctl_alloc () function of Linux Kernel is int type, while the size variable of the copy_from_user () function is not long. Gen. data_len and gen. sense_len are non-long characters. On x86_64 systems, the long type is 64-bit, And the int type is 32-bit. If the user transfers an extra-long value, the allocation will be truncated to 32 bits, allocated a buffer that is too small, and then may cause memory corruption when copy_from_user () is executed.

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

Link: http://secunia.com/advisories/42035/

*>

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

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

Http://git.kernel.org /? P = linux/kernel/git/torvalds/linux-2.6.git; a = commitdiff; h = f63ae56e4e97fb12053590e41a4fa59e7daa74a4

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.