4 ms·
Are you sure? Most Android CVEs I have personally read (a small set I will admit) have been user mode components.
by asveikau 9y ago
Are you sure? Most Android CVEs I have personally read (a small set I will admit) have been user mode components.
- IshKebab 9y agoYes of course. Unless you are suggesting that the Linux kernel contains no bugs...
- asveikau 9y agoI didn't say that. But the kernel (and by that I mean ring 0 only) is a small percentage of android compared to user mode code. Privilege escalations in the kernel are more rare than other issues. So saying you cannot patch user-mode binaries (again, a majority of code in the system) because the kernel cannot be patched sounds an awful lot like throwing out the baby with the bathwater. And on Linux, the user to kernel ABI is fairly stable (see Linus's rants on the subject), which makes patching these pieces independently much more feasible. Put another way, if someone says a vulnerability in libstagefright.so can't be patched because kernel modules, that person is lazy and making excuses, or doesn't know what a kernel is.