Enhance mitigation instructions in README

Updated mitigation instructions to include clearing the page cache after removing vulnerable modules.
This commit is contained in:
Nate River 2026-05-08 13:49:44 +08:00 committed by GitHub
parent f2796739b2
commit beeb925e30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -53,9 +53,9 @@ This Dirty Frag has been tested on the following distribution versions.
# Mitigation # Mitigation
1. Because the responsible disclosure schedule and the embargo have been broken, no patch exists for any distribution. Use the following command to remove the modules in which the vulnerabilities occur. 1. Because the responsible disclosure schedule and the embargo have been broken, no patch exists for any distribution. Use the following command to remove the modules in which the vulnerabilities occur and clear the page cache.
``` ```bash
sh -c "printf 'install esp4 /bin/false\ninstall esp6 /bin/false\ninstall rxrpc /bin/false\n' > /etc/modprobe.d/dirtyfrag.conf; rmmod esp4 esp6 rxrpc 2>/dev/null; true" sh -c "printf 'install esp4 /bin/false\ninstall esp6 /bin/false\ninstall rxrpc /bin/false\n' > /etc/modprobe.d/dirtyfrag.conf; rmmod esp4 esp6 rxrpc 2>/dev/null; echo 3 > /proc/sys/vm/drop_caches; true"
``` ```
2. Once each distribution backports a patch, update accordingly. 2. Once each distribution backports a patch, update accordingly.