backport a patch for Linux 3.18
Hi reviewers,
I suggest to backport a commit to Linux 3.18 stable tree.
Reason: KASAN reports a out-of-bound write issue when a large size allocation is made from drivers through user-space.
commit: 67a2e213e7e937c41c52ab5bc46bf3f4de469f6e
subject: mm: cma: fix incorrect type conversion for size during dma allocation
kernel version to apply to: Linux 3.18
thanks,
Miles
Greg KH
maintainerQuoted 11 lines · Miles Chen
Hi reviewers,
I suggest to backport a commit to Linux 3.18 stable tree.
Reason: KASAN reports a out-of-bound write issue when a large size allocation is made from drivers through user-space.commit:
67a2e213e7e937c41c52ab5bc46bf3f4de469f6e
subject: mm: cma: fix incorrect type conversion for size during dma allocation
kernel version to apply to: Linux 3.18
Now applied, along with a number of other cma fixes that 3.18 really should have as well (that were dependancies of this patch in order to apply "cleanly".)
thanks,
greg k-h