Linux kernel 2.6.x release_one_tty () Local DoS Vulnerability

Source: Internet
Author: User

Affected Versions:
Linux kernel 2.6.x vulnerability description:


Linux Kernel is the Kernel used by open source Linux.

The release_one_tty () function in the drivers/char/tty_io.c driver of Linux Kernel has the memory leakage vulnerability. Local Users can call release_one_tty () When TTY still references pgrp/session to cause DOS.
<* Reference
Http://secunia.com/advisories/39490/
Http://kerneltrap.org/mailarchive/linux-kernel/2010/3/27/4552426/thread#mid-4552426
*>
Test method:

The Program (method) provided on this site may be offensive and only used for security research and teaching. You are at your own risk! (1) navigate to the console.
(2) Try to log on. /Sbin/mingetty will call/bin/login. Terminate the/bin/login process through successful login and logout or login failure. Then/sbin/init will re-generate the/sbin/mingetty process.
(3) log on as root.
(4) Run echo scan>/sys/kernel/debug/kmemleak
(5) Wait for a while.
(6) Run cat/sys/kernel/debug/kmemleakSEBUG Security suggestions:
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 = 6da8d866d0d39e9509ff826660f6a86a6757c966

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.