Recently i was attempting to downgrade from fedora 36-rawhide to fedora 35-stable, and during this process i've lost the sudo command, and didn't have a pre-existing root account, so i've later on tried to access rescue mode by editing the bootloader options, but as i didn't have root account -as starting from fedora 28 it's not mandatory to make one during installation- its resulted in an error. After looking it up, it turned out to be no other way to execute root tasks, but through an external live disk. I recalled a vulnerability published on telegram, but never really looked into it prior to that. I looked it up back again, ran the c file, and voila i was granted root access to my own machine, then i was able to resume my administrative tasks. What's even more odd, is the fact that the original author's writeup stated that "The vulnerability was fixed in Linux 5.16.11", but it still worked even on my current bleeding edge kernel version 5.17.0-0.rc2.83.fc36.x86_64.
Last edited: