
Инструкции по снижению риска и обновлению для CVE-2026-31431 в системах Ubuntu, включая шаги по обновлению ядра и kmod.
Эта уязвимость, также известная как Copy Fail, представляет собой логическую ошибку в ядре Linux, возникающую на пути AF_ALG / algif_aead. Согласно описанию исследователя, неавторизованный локальный пользователь может заставить ядро Linux выполнить контролируемую запись 4 байт в page cache читаемого файла. В результате повреждается версия файла в памяти, в то время как файл на диске остаётся нетронутым. Это руководство подготовлено специально для системных администраторов и технического сообщества Ирана и включает:
Отредактируйте следующий файл:
/etc/apt/sources.list
Затем, в зависимости от вашей версии Ubuntu, замените содержимое одним из приведённых ниже блоков.
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-security main restricted universe multiverse
deb https://mirror.arvancloud.ir/ubuntu jammy main restricted universe multiverse
deb https://mirror.arvancloud.ir/ubuntu jammy-updates main restricted universe multiverse
deb https://mirror.arvancloud.ir/ubuntu jammy-security main restricted universe multiverse
deb https://mirror.iranserver.com/ubuntu jammy main restricted universe multiverse
deb https://mirror.iranserver.com/ubuntu jammy-updates main restricted universe multiverse
deb https://mirror.iranserver.com/ubuntu jammy-security main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security main restricted universe multiverse
deb https://mirror.arvancloud.ir/ubuntu focal main restricted universe multiverse
deb https://mirror.arvancloud.ir/ubuntu focal-updates main restricted universe multiverse
deb https://mirror.arvancloud.ir/ubuntu focal-security main restricted universe multiverse
deb https://mirror.iranserver.com/ubuntu focal main restricted universe multiverse
deb https://mirror.iranserver.com/ubuntu focal-updates main restricted universe multiverse
deb https://mirror.iranserver.com/ubuntu focal-security main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu noble main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu noble-security main restricted universe multiverse
deb https://mirror.arvancloud.ir/ubuntu noble main restricted universe multiverse
deb https://mirror.arvancloud.ir/ubuntu noble-updates main restricted universe multiverse
deb https://mirror.arvancloud.ir/ubuntu noble-security main restricted universe multiverse
deb https://mirror.iranserver.com/ubuntu noble main restricted universe multiverse
deb https://mirror.iranserver.com/ubuntu noble-updates main restricted universe multiverse
deb https://mirror.iranserver.com/ubuntu noble-security main restricted universe multiverse
sudo apt update
sudo apt install --only-upgrade kmod linux-generic
dpkg -l | egrep 'kmod|linux-generic|linux-image-generic|linux-headers-generic'
sudo reboot
uname -r
sudo apt update
sudo apt install --only-upgrade kmod
sudo apt update && sudo apt install --only-upgrade kmod linux-generic -y && sudo reboot
Важные замечания:
Подготовлено компанией A Cyber - acyber.ir