I think you're taking about Dirty COW. Which was recently found in Linux. It's existed for several years and it makes sense it would exist in Android. It's already been patched in most of the major Linux distros. That's probably how it was discovered in Android