LinuxKernelcopy_from_user_mmap_sem () function Memory Access Vulnerability

Source: Internet
Author: User
LinuxKernelcopy_from_user_mmap_sem () function Memory Access Vulnerability-Linux general technology-Linux programming and kernel information. For details, see the following. Release date: 2008-02-08
Updated on: 2008-02-21

Affected Systems:
Linux kernel 2.6.22-2.6.24
Unaffected system:
Linux kernel 2.6.24.1

Description:
Bugtraq id: 27796
CVE (CAN) ID: CVE-2008-0010

Linux Kernel is the Kernel used by open source Linux.

Linux Kernel has a vulnerability. Local attackers may exploit this vulnerability to obtain sensitive information about the Kernel memory.

The copy_from_user_mmap_sem () function in the fs/splice. c file of Linux Kernel copies the data in the user's process memory using the _ copy_from_user_inatomic () pointer provided by the user without verification:

--- 8 <--- fs/splice. c: 1188 --- 8 <---
Partial = _ copy_from_user_inatomic (dst, src, n );
--- 8 <--- fs/splice. c: 1188 --- 8 <---

This may allow local attackers to read arbitrary kernel memory through a specially crafted vmsplice () System Call.

Vendor patch:

Debian
Debian has released a Security Bulletin (DSA-1494-2) and patches for this:
DSA-1494-2: New linux-2.6 packages fix privilege escalation
Link: http://www.debian.org/security/2008/dsa-1494

Patch installation method:

1. Manually install the patch package:

First, use the following command to download the patch software:
# Wget url (the url is the patch download link)

Then, use the following command to install the patch:
# Dpkg-I file. deb (file is the patch name)

2. Use apt-get to automatically install the patch package:

First, use the following command to update the internal database:
# Apt-get update

Then, run the following command to install the update software package:
# Apt-get upgrade

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

Http://www.kernel.org/pub/linux/kernel/v2.6/patch-2.6.24.1.bz2

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.