On Thu, Sep 27, 2018 at 03:45:10PM -0700, Greg Hackmann wrote:
2c155709e4ef ("staging: android: ion: fix ION_IOC_{MAP,SHARE} use-after-free") was applied to 4.4.y a couple of weeks ago, and is needed on 3.18.y too. The patch cherry-picks and builds as-is on top of 3.18.123.
I'm glad to apply this, but note, it breaks the build on any qualcomm-based system as they seem to love to rely on the internals of ion code. So I don't know how you are going to resolve this when it actually hits a real device's tree :(
thanks,
greg k-h