echo 1 | sudo tee /proc/sys/kernel/unprivileged_bpf_disabled
In the past, when vulnerabilities with no fixes were disclosed were after months and months of trying to contact the developers of said software and patch it... Nowadays it seems everyone is eager to ride their 15 minutes of fame...SAD :)
I think you are confusing two terms, braking the law and hacking. While hacking can be braking the law, most often it is not. Not all hackers are criminals.
Why is this even enabled in Ubuntu?