u/Additional-Milk1426

My pride and joy, Westfield with 60,000 inhabitants! Cities Skylines 2015 is still great with mods!

My pride and joy, Westfield with 60,000 inhabitants! Cities Skylines 2015 is still great with mods!

Until Cities Skylines II is available on Mac, I have no option but to enjoy this

u/Additional-Milk1426 — 6 days ago

This exploit basically can get root control of your system via corrupting a password file, and tricking the system into thinking it is root, and was discovered recently. Most people will be safe even without using the patch, but I prefer the philosophy of "better safe than sorry"

I am not smart enough to fully explain, so please look here : https://copy.fail/

Raspberry Pi OS is running a vulnerable kernel by default, and who knows when it will be fully upgraded, so for now, this script should do the job.

echo "install algif_aead /bin/false" | sudo tee /etc/modprobe.d/disable-algif.conf

The script above disables the kernel module that is used to get the root access. 99% of users will be unaffected by disabling this. Only a tiny handful of programs need this, most users will never even install said programs.

You must reboot for this script to take effect.

Also note that this is a PATCH!!! Not a full fix, it can only be truly fixed by the Raspberry Pi OS devs, this is more like a bandaid than anything.

Before running this script, the "test" script would say that it is vulnerable, I unfortunately did not take a screenshot of it while vulnerable, but it was similar to this message. You can see in the screenshot that after running the script, it is no longer vulnerable.

https://github.com/rootsecdev/cve_2026_31431/blob/main/test_cve_2026_31431.py

: This is the test script I used to check for a vulnerable system, feel free to use it on your systems.

This is not my patch, I found it from the r/linux subreddit, but I think it is valuable to have here, as I cant find any post talking about it here.

I DO NOT TAKE RESPONSIBILITY FOR ANYTHING THAT BREAKS ON YOUR SYSTEM!! RUN EVERYTHING HERE AT YOUR OWN RISK!! I

Thank you, and hope this helps some people!

u/Additional-Milk1426 — 21 days ago