Skip to content

Instantly share code, notes, and snippets.

@AnythingLinux
Last active May 15, 2026 21:51
Show Gist options
  • Select an option

  • Save AnythingLinux/6653a27077744aad62de20d90065e634 to your computer and use it in GitHub Desktop.

Select an option

Save AnythingLinux/6653a27077744aad62de20d90065e634 to your computer and use it in GitHub Desktop.
Ubuntu 24.04 LTS Security Notices
sudo -i
pro attach (token)
apt update -y
apt upgrade -y
apt install build-essential checkinstall
apt install ubuntu-restricted-extras
apt install software-properties-common
apt upgrade -o APT::Get::Show-Upgraded=true
apt install apt-show-versions
apt install --install-recommends linux-generic-hwe-24.04
dpkg-reconfigure --priority=low unattended-upgrades
apt autoremove --purge
rm -rf /var/lib/apt/lists/*
Step 1: Block the modules:
echo "install esp4 /bin/false" | sudo tee /etc/modprobe.d/dirty-frag.conf
echo "install esp6 /bin/false" | sudo tee -a /etc/modprobe.d/dirty-frag.conf
echo "install rxrpc /bin/false" | sudo tee -a /etc/modprobe.d/dirty-frag.conf
sudo update-initramfs -u -k all
Step 2: Unload modules:
sudo rmmod esp4 esp6 rxrpc 2>/dev/null
Step 3: Confirm the modules aren’t loaded:
grep -qE '^(esp4|esp6|rxrpc) ' /proc/modules && echo "Affected modules are loaded" || echo "Affected modules are NOT loaded"
$ sudo reboot
Disable Migration:
sudo rm /etc/modprobe.d/dirty-frag.conf
sudo update-initramfs -u -k all
apt upgrade -y
apt clean
apt list --upgradable
apt update
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment