
دستورالعملهای کاهش ریسک و بهروزرسانی برای CVE-2026-31431 در سیستمهای اوبونتو، شامل مراحل ارتقاء کرنل و kmod.
This vulnerability, also known as Copy Fail, is a logic bug in the Linux kernel that occurs in the AF_ALG / algif_aead path. According to the discloser, an unprivileged local user can cause the Linux kernel to perform a controlled 4-byte write into the page cache of a readable file. As a result, the in-memory version of the file becomes corrupted, while the file on disk remains intact. This guide has been prepared specifically for system administrators and the technical community in Iran and includes:
Edit the following file:
/etc/apt/sources.list
Then, depending on your Ubuntu version, replace it with one of the sections below.
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
Important Notes:
Prepared by A Cyber - acyber.ir