The regulator_ena_gpio_free function in drivers/regulator/core.c in the Linux kernel before 3.19 allows local users to gain privileges or cause a denial of service (use-after-free) via a crafted application.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=60a2362f769cf549dc466134efe71c8bf9fbaaba | issue tracking third party advisory patch |
http://www.securityfocus.com/bid/98195 | vdb entry third party advisory |
https://source.android.com/security/bulletin/2017-05-01 | vendor advisory |
https://github.com/torvalds/linux/commit/60a2362f769cf549dc466134efe71c8bf9fbaaba | issue tracking third party advisory patch |
http://www.debian.org/security/2017/dsa-3945 | vdb entry third party advisory vendor advisory |