A flaw was found in the Linux kernels implementation of DMA memory allocation. When allocating a DMA buffer, a section of memory is allocated and then set to zeros. The size parameter of allocation was truncated due to an incorrect casting when the allocation function is called. During clearing the allocation used an untruncated value as the size to clear and would "zero" a larger section of kernel memory than was allocated, possibly corrupting memory and allowing for privilege escalation. At this time Red Hat Product Security believes that there is no direct control of the size parameter used in this function in Red Hat kernels. Patch: https://source.codeaurora.org/quic/la/kernel/msm-4.4/commit/?h=aosp/android-4.4&id=1f8f9b566e8446c13b954220c226c58d22076f88
Created kernel tracking bugs for this issue: Affects: fedora-all [bug 1489089]
External References: https://source.android.com/security/bulletin/2017-09-01
This was fixed upstream 2 years ago, it was never an issue in any currently supported Fedora release.
Mainline kernel patch: https://github.com/torvalds/linux/commit/67a2e213e7e937c41c52ab5bc46bf3f4de469f6e
Statement: This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5 and 6. This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 7 and MRG-2. Future Linux kernel updates for the respective releases may address this issue.
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2018:0676 https://access.redhat.com/errata/RHSA-2018:0676
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2018:1062 https://access.redhat.com/errata/RHSA-2018:1062
This issue has been addressed in the following products: Red Hat Enterprise MRG 2 Via RHSA-2018:1170 https://access.redhat.com/errata/RHSA-2018:1170
This issue has been addressed in the following products: Red Hat Enterprise Linux 7.4 Extended Update Support Via RHSA-2018:1130 https://access.redhat.com/errata/RHSA-2018:1130