New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allwinner legacy kernel: local privileges escalation to root (sun8i) #282
Comments
Hmm... sun7i doesn't have it but sun8i is affected:
|
I saw this on IRC yesterday. Even though this is more Local Privileges Escalation than a backdoor, IMO it should be disabled. |
I agree that it should be disabled. Based on my understanding this privilege escalation combined with any other small bug might lead to an network enabled exploit (I would assume a php, nginx or apache process redirected to |
Yes, most likely. Removing sunxi_debug.o from this line (and deleting file |
Can you try it out? At least whether the build fails or not? My main build host is still busy doing other stuff and the 2nd host is also down (for yet unknown reasons -- too far away to look after it) |
Build succeeds, so this should work |
Could you also provide debs to be able to test? :-) |
Fix confirmed to work by 'original submitter' KotCzarny himself :) http://irclog.whitequark.org/linux-sunxi/2016-04-30#16321288 So please push the fix. And I hope Igor checks download log and in case no one downloaded BPi M2+ 5.10 images we could simply re-release the M2+ image with fix included (otherwise we would've to increase version number already to 5.11 if I understand correctly?) |
It's in my repository already, so it's a matter of merging my branch into this. |
@ThomasKaiser : happy to help, thanks for quick response! |
@kotc: Thx for bringing this to our attention. Since we're rolling out a new major release this weekend this was almost perfectly timed. I also thought about fixing the issue for all of the many loboris images out there (already cloned his kernel repo since he didn't maintain it for maybe half a year) but thought again about. Users better switch to Armbian instead :) |
Bugs and problems usually arise when I do travel :) No downloads, so we can stay on 5.10 but I guess we will have an update to 5.11 in any case very soon since it's almost impossible to bring such update without any more or less serious problem. Merged, so closing. |
Please have a look at http://irclog.whitequark.org/linux-sunxi/2016-04-29#16314390;
The file is still present in the newer sun8i BSP variant and I would assume sun7i and others are also affected?
Don't know how to deal with it.
The text was updated successfully, but these errors were encountered: