Linux kernel (Raspberry Pi) vulnerabilities
Published: Thu, 04 Jun 2026 21:23
Summary
Several security issues were fixed in the Linux kernel.
Details
It was discovered that the Linux kernel algif_aead module did not properly handle in-place cryptographic operations. This flaw is known as Copy Fail. A local attacker could use this to escalate privileges, or possibly escape a container. (CVE-2026-31431) It was discovered that the Linux kernel did not properly handle shared page fragments during socket buffer operations, collectively known as Dirty Frag. A logic flaw existed in the XFRM ESP-in-TCP subsystem and in the RxRPC networking subsystem when processing paged fragments. A local attacker could use this to escalate privileges, or possibly escape a container. (CVE-2026-43284, CVE-2026-43500) Several security issues were discovered in the Linux kernel. An attacker could possibly use these to compromise the system. This update corrects flaws in the following subsystems: - Cryptographic API; - Network drivers; - NVME drivers; - IPv4 networking; - Packet sockets; - RDS protocol; - TLS protocol; (CVE-2024-50304, CVE-2026-23112, CVE-2026-23209, CVE-2026-31504, CVE-2026-31533, CVE-2026-43033, CVE-2026-43077, CVE-2026-43078, CVE-2026-43494, CVE-2026-46028)
Recommended actions per Ubuntu release
StackPatch playbook auto-generated per release codename and per affected package.
Ubuntu bionic
linux-raspi-5.4→5.4.0-1143.156~18.04.1apt_upgradeStandard apt upgrade. Install 5.4.0-1143.156~18.04.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-raspi-5.4
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-buildinfo-5.4.0-1143-raspi→5.4.0-1143.156~18.04.1apt_upgradeStandard apt upgrade. Install 5.4.0-1143.156~18.04.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-buildinfo-5.4.0-1143-raspi
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-headers-5.4.0-1143-raspi→5.4.0-1143.156~18.04.1kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-headers-5.4.0-1143-raspi sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-headers-raspi-5.4→5.4.0.1143.156~18.04.1kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-headers-raspi-5.4 sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-headers-raspi-hwe-18.04→5.4.0.1143.156~18.04.1kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-headers-raspi-hwe-18.04 sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-headers-raspi-hwe-18.04-edge→5.4.0.1143.156~18.04.1kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-headers-raspi-hwe-18.04-edge sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-image-5.4.0-1143-raspi→5.4.0-1143.156~18.04.1kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-image-5.4.0-1143-raspi sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-image-raspi-5.4→5.4.0.1143.156~18.04.1kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-image-raspi-5.4 sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-image-raspi-hwe-18.04→5.4.0.1143.156~18.04.1kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-image-raspi-hwe-18.04 sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-image-raspi-hwe-18.04-edge→5.4.0.1143.156~18.04.1kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-image-raspi-hwe-18.04-edge sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-modules-5.4.0-1143-raspi→5.4.0-1143.156~18.04.1kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-modules-5.4.0-1143-raspi sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-raspi-5.4→5.4.0.1143.156~18.04.1apt_upgradeStandard apt upgrade. Install 5.4.0.1143.156~18.04.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-raspi-5.4
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-raspi-5.4-headers-5.4.0-1143→5.4.0-1143.156~18.04.1apt_upgradeStandard apt upgrade. Install 5.4.0-1143.156~18.04.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-raspi-5.4-headers-5.4.0-1143
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-raspi-5.4-tools-5.4.0-1143→5.4.0-1143.156~18.04.1apt_upgradeStandard apt upgrade. Install 5.4.0-1143.156~18.04.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-raspi-5.4-tools-5.4.0-1143
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-raspi-hwe-18.04→5.4.0.1143.156~18.04.1apt_upgradeStandard apt upgrade. Install 5.4.0.1143.156~18.04.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-raspi-hwe-18.04
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-raspi-hwe-18.04-edge→5.4.0.1143.156~18.04.1apt_upgradeStandard apt upgrade. Install 5.4.0.1143.156~18.04.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-raspi-hwe-18.04-edge
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-tools-5.4.0-1143-raspi→5.4.0-1143.156~18.04.1apt_upgradeStandard apt upgrade. Install 5.4.0-1143.156~18.04.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-tools-5.4.0-1143-raspi
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-tools-raspi-5.4→5.4.0.1143.156~18.04.1apt_upgradeStandard apt upgrade. Install 5.4.0.1143.156~18.04.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-tools-raspi-5.4
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-tools-raspi-hwe-18.04→5.4.0.1143.156~18.04.1apt_upgradeStandard apt upgrade. Install 5.4.0.1143.156~18.04.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-tools-raspi-hwe-18.04
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-tools-raspi-hwe-18.04-edge→5.4.0.1143.156~18.04.1apt_upgradeStandard apt upgrade. Install 5.4.0.1143.156~18.04.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-tools-raspi-hwe-18.04-edge
Most apt upgrades restart their service automatically. needrestart lists anything else.
Ubuntu focal
linux-raspi→5.4.0-1143.156apt_upgradeStandard apt upgrade. Install 5.4.0-1143.156 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-raspi
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-buildinfo-5.4.0-1143-raspi→5.4.0-1143.156apt_upgradeStandard apt upgrade. Install 5.4.0-1143.156 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-buildinfo-5.4.0-1143-raspi
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-headers-5.4.0-1143-raspi→5.4.0-1143.156kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-headers-5.4.0-1143-raspi sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-headers-raspi→5.4.0.1143.174kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-headers-raspi sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-headers-raspi-5.4→5.4.0.1143.174kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-headers-raspi-5.4 sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-headers-raspi-hwe-18.04→5.4.0.1143.174kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-headers-raspi-hwe-18.04 sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-headers-raspi-hwe-18.04-edge→5.4.0.1143.174kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-headers-raspi-hwe-18.04-edge sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-headers-raspi2→5.4.0.1143.174kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-headers-raspi2 sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-headers-raspi2-hwe-18.04→5.4.0.1143.174kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-headers-raspi2-hwe-18.04 sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-headers-raspi2-hwe-18.04-edge→5.4.0.1143.174kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-headers-raspi2-hwe-18.04-edge sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-image-5.4.0-1143-raspi→5.4.0-1143.156kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-image-5.4.0-1143-raspi sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-image-raspi→5.4.0.1143.174kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-image-raspi sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-image-raspi-5.4→5.4.0.1143.174kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-image-raspi-5.4 sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-image-raspi-hwe-18.04→5.4.0.1143.174kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-image-raspi-hwe-18.04 sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-image-raspi-hwe-18.04-edge→5.4.0.1143.174kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-image-raspi-hwe-18.04-edge sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-image-raspi2→5.4.0.1143.174kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-image-raspi2 sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-image-raspi2-hwe-18.04→5.4.0.1143.174kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-image-raspi2-hwe-18.04 sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-image-raspi2-hwe-18.04-edge→5.4.0.1143.174kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-image-raspi2-hwe-18.04-edge sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-modules-5.4.0-1143-raspi→5.4.0-1143.156kernel_rebootKernel package — apt-upgrade then REBOOT to load the patched kernel.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-modules-5.4.0-1143-raspi sudo reboot
Reboot is required. ~30-60s downtime; containers self-restart.
linux-raspi→5.4.0.1143.174apt_upgradeStandard apt upgrade. Install 5.4.0.1143.174 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-raspi
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-raspi-5.4→5.4.0.1143.174apt_upgradeStandard apt upgrade. Install 5.4.0.1143.174 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-raspi-5.4
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-raspi-headers-5.4.0-1143→5.4.0-1143.156apt_upgradeStandard apt upgrade. Install 5.4.0-1143.156 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-raspi-headers-5.4.0-1143
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-raspi-hwe-18.04→5.4.0.1143.174apt_upgradeStandard apt upgrade. Install 5.4.0.1143.174 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-raspi-hwe-18.04
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-raspi-hwe-18.04-edge→5.4.0.1143.174apt_upgradeStandard apt upgrade. Install 5.4.0.1143.174 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-raspi-hwe-18.04-edge
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-raspi-tools-5.4.0-1143→5.4.0-1143.156apt_upgradeStandard apt upgrade. Install 5.4.0-1143.156 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-raspi-tools-5.4.0-1143
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-raspi2→5.4.0.1143.174apt_upgradeStandard apt upgrade. Install 5.4.0.1143.174 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-raspi2
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-raspi2-hwe-18.04→5.4.0.1143.174apt_upgradeStandard apt upgrade. Install 5.4.0.1143.174 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-raspi2-hwe-18.04
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-raspi2-hwe-18.04-edge→5.4.0.1143.174apt_upgradeStandard apt upgrade. Install 5.4.0.1143.174 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-raspi2-hwe-18.04-edge
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-tools-5.4.0-1143-raspi→5.4.0-1143.156apt_upgradeStandard apt upgrade. Install 5.4.0-1143.156 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-tools-5.4.0-1143-raspi
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-tools-raspi→5.4.0.1143.174apt_upgradeStandard apt upgrade. Install 5.4.0.1143.174 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-tools-raspi
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-tools-raspi-5.4→5.4.0.1143.174apt_upgradeStandard apt upgrade. Install 5.4.0.1143.174 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-tools-raspi-5.4
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-tools-raspi-hwe-18.04→5.4.0.1143.174apt_upgradeStandard apt upgrade. Install 5.4.0.1143.174 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-tools-raspi-hwe-18.04
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-tools-raspi-hwe-18.04-edge→5.4.0.1143.174apt_upgradeStandard apt upgrade. Install 5.4.0.1143.174 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-tools-raspi-hwe-18.04-edge
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-tools-raspi2→5.4.0.1143.174apt_upgradeStandard apt upgrade. Install 5.4.0.1143.174 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-tools-raspi2
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-tools-raspi2-hwe-18.04→5.4.0.1143.174apt_upgradeStandard apt upgrade. Install 5.4.0.1143.174 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-tools-raspi2-hwe-18.04
Most apt upgrades restart their service automatically. needrestart lists anything else.
linux-tools-raspi2-hwe-18.04-edge→5.4.0.1143.174apt_upgradeStandard apt upgrade. Install 5.4.0.1143.174 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y linux-tools-raspi2-hwe-18.04-edge
Most apt upgrades restart their service automatically. needrestart lists anything else.
Are YOU affected by USN-8391-1?
5-second check on your actual server. Reads /etc/os-release, uname -r, and dpkg-query; matches against the live USN + Debian Security Tracker feeds; tells you whether USN-8391-1 (and any other live CVE) applies. Anonymous, no signup.
curl https://mindsparkstack.com/scan.sh | bash
StackPatch runs this match against YOUR installed packages every hour
Free 1-server / $99 lifetime founder seat (50 only) / $19+/mo monthly. Indie pricing.