CVE-2016-2502-DRIVERS/USB/GADGET/F_SERIAL.C in the Qualcomm USB driver in Android. Buffer Overflow Vulnerability reported by #plzdonthackme, SOCTT.

Source: Internet
Author: User
Tags cve

CVE-2016-2502-DRIVERS/USB/GADGET/F_SERIAL.C in the Qualcomm USB driver in Android.
Buffer Overflow Vulnerability reported by #plzdonthackme, SOCTT.

struct Ioctl_smd_write_arg_type {        char                *buf;        unsigned int        size;}; #define Gserial_buf_len  256char smd_write_buf[gserial_buf_len];struct ioctl_smd_write_arg_type smd_write_arg; ... case gserial_smd_write:   if (Copy_from_user (&smd_write_arg, ARGP,       sizeof (SMD_WRITE_ARG))) {   ...   //patch   //if (smd_write_arg.size > Gserial_buf_len)   //    Pr_err ("%s:dont trigger the BoD vuln.", __FUNC__);          if (Copy_from_user (Smd_write_buf, Smd_write_arg.buf,        smd_write_arg.size))//Bof vuln.

CVE-2016-2502-DRIVERS/USB/GADGET/F_SERIAL.C in the Qualcomm USB driver in Android. Buffer Overflow Vulnerability reported by #plzdonthackme, SOCTT.

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.