Huawei P8 GPU driver DoS Vulnerability (with test code)

Source: Internet
Author: User

Huawei P8 GPU driver DoS Vulnerability (with test code)

Multiple Huawei P8 mobile phones use arm mali gpu. This chip driver has a Denial-of-Service vulnerability. Attackers with any permission can exploit this vulnerability to crash the mobile phone kernel.

Detailed description:

Vulnerability Verification Device: Huawei P8 youth edition (using Mali sans MP4 GPU)

This bug is essentially a mali driver Vulnerability, so I also posted a post on the Mali driver developer forum.

Http://community.arm.com/message/31052#31052

This post details the cause of this vulnerability

Proof of vulnerability:


Any user can call/dev/mali device files of P8 youth edition and read and write them. Here, the shell user executes the test program to cause crash.

Theoretically, any Huawei mobile phone that uses mali4_32 or mali4_64 drivers has this vulnerability.

Solution:
MALI_STATIC_INLINE mali_bool _ mali_osk_list_empty (_ mali_osk_list_t * list) {return list-> next = list ;}

Change

MALI_STATIC_INLINE mali_bool _ mali_osk_list_empty (_ mali_osk_list_t * list) {return! (List-> next) | (list-> next = list );}

 

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.