Skip to contentSkip to conversation

backport a patch for Linux 3.18

DISCUSSION Miles Chen 2 participants 2 messages Aug 30, 2017 – Aug 31, 2017 Stable branch

lore
Share & tools
lore

Miles Chen

author
#0 lore raw

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

maintainer
#1 lore raw
Quoted 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