The following security vulnerability has been identified in the implementation of the CONFIG_STRICT_MEMORY_RWX feature.
If CONFIG_STRICT_MEMORY_RWX is set, the first section (containing the kernel page table and the initial code) and the section containing the init code are both given RWX permission. This effectively bypasses the intention of this this feature and eases exploitation of kernel vulnerabilities by providing readable, writeable and executable memory at a known location.
Access Vector: local/remote
Security Risk: high
Vulnerability: weaknesses that affect memory (CWE-633)
All Android releases from CAF using the Linux kernel from the following heads:
Because the patch is making use of additional padding of the memory sections, it results in approximately using 1900kB additional memory for the kernel.
We advise customers to apply the following patch:
Qualcomm Innovation Center, Inc. (QuIC) thanks Georg Wicherski of CrowdStrike for reporting the related issues and working with QuIC to help improve Android device security.