Out-of-Bounds Access Vulnerability in 'nla_parse' Function

Out-of-Bounds Access Vulnerability in 'nla_parse' Function

CVE-2022-20385 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

a function called 'nla_parse', do not check the len of para, it will check nla_type (which can be controlled by userspace) with 'maxtype' (in this case, it is GSCAN_MAX), then it access polciy array 'policy[type]', which OOB access happens.Product: AndroidVersions: Android SoCAndroid ID: A-238379819

Learn more about our Cis Benchmark Audit For Google Android.