USN-4917-1: Linux kernel vulnerabilities

Publication date

15 April 2021

Overview

Several security issues were fixed in the Linux kernel.


Packages

Details

It was discovered that the overlayfs implementation in the Linux kernel did
not properly validate the application of file system capabilities with
respect to user namespaces. A local attacker could use this to gain
elevated privileges. (CVE-2021-3493)

Vincent Dehors discovered that the shiftfs file system in the Ubuntu Linux
kernel did not properly handle faults in copy_from_user() when passing
through ioctls to an underlying file system. A local attacker could use
this to cause a denial of service (memory exhaustion) or execute arbitrary
code. (CVE-2021-3492)

Piotr Krysiuk discovered that the BPF JIT compiler for x86 in the Linux
kernel did not properly validate computation of branch displacements in
some situations. A local attacker could use this to cause a denial of
service (system crash) or possibly execute arbitrary code. (

It was discovered that the overlayfs implementation in the Linux kernel did
not properly validate the application of file system capabilities with
respect to user namespaces. A local attacker could use this to gain
elevated privileges. (CVE-2021-3493)

Vincent Dehors discovered that the shiftfs file system in the Ubuntu Linux
kernel did not properly handle faults in copy_from_user() when passing
through ioctls to an underlying file system. A local attacker could use
this to cause a denial of service (memory exhaustion) or execute arbitrary
code. (CVE-2021-3492)

Piotr Krysiuk discovered that the BPF JIT compiler for x86 in the Linux
kernel did not properly validate computation of branch displacements in
some situations. A local attacker could use this to cause a denial of
service (system crash) or possibly execute arbitrary code. (CVE-2021-29154)


Update instructions

After a standard system update you need to reboot your computer to make all the necessary changes.

Learn more about how to get the fixes.

ATTENTION: Due to an unavoidable ABI change the kernel updates have been given a new version number, which requires you to recompile and reinstall all third party kernel modules you might have installed. Unless you manually uninstalled the standard kernel metapackages (e.g. linux-generic, linux-generic-lts-RELEASE, linux-virtual, linux-powerpc), a standard system upgrade will automatically perform this as well.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
20.10 groovy linux-image-5.8.0-1021-raspi –  5.8.0-1021.24
linux-image-5.8.0-1021-raspi-nolpae –  5.8.0-1021.24
linux-image-5.8.0-1024-kvm –  5.8.0-1024.26
linux-image-5.8.0-1026-oracle –  5.8.0-1026.27
linux-image-5.8.0-1028-gcp –  5.8.0-1028.29
linux-image-5.8.0-1029-azure –  5.8.0-1029.31
linux-image-5.8.0-1030-aws –  5.8.0-1030.32
linux-image-5.8.0-50-generic –  5.8.0-50.56
linux-image-5.8.0-50-generic-64k –  5.8.0-50.56
linux-image-5.8.0-50-generic-lpae –  5.8.0-50.56
linux-image-5.8.0-50-lowlatency –  5.8.0-50.56
linux-image-aws –  5.8.0.1030.32
linux-image-azure –  5.8.0.1029.29
linux-image-gcp –  5.8.0.1028.28
linux-image-generic –  5.8.0.50.55
linux-image-generic-64k –  5.8.0.50.55
linux-image-generic-lpae –  5.8.0.50.55
linux-image-gke –  5.8.0.1028.28
linux-image-kvm –  5.8.0.1024.26
linux-image-lowlatency –  5.8.0.50.55
linux-image-oem-20.04 –  5.8.0.50.55
linux-image-oracle –  5.8.0.1026.25
linux-image-raspi –  5.8.0.1021.24
linux-image-raspi-nolpae –  5.8.0.1021.24
linux-image-virtual –  5.8.0.50.55
20.04 focal linux-image-5.10.0-1022-oem –  5.10.0-1022.23
linux-image-5.4.0-1014-gkeop –  5.4.0-1014.15
linux-image-5.4.0-1034-raspi –  5.4.0-1034.37
linux-image-5.4.0-1038-kvm –  5.4.0-1038.39
linux-image-5.4.0-1042-gcp –  5.4.0-1042.45
linux-image-5.4.0-1043-oracle –  5.4.0-1043.46
linux-image-5.4.0-1045-aws –  5.4.0-1045.47
linux-image-5.4.0-1046-azure –  5.4.0-1046.48
linux-image-5.4.0-72-generic –  5.4.0-72.80
linux-image-5.4.0-72-generic-lpae –  5.4.0-72.80
linux-image-5.4.0-72-lowlatency –  5.4.0-72.80
linux-image-5.8.0-50-generic –  5.8.0-50.56~20.04.1
linux-image-5.8.0-50-generic-64k –  5.8.0-50.56~20.04.1
linux-image-5.8.0-50-generic-lpae –  5.8.0-50.56~20.04.1
linux-image-5.8.0-50-lowlatency –  5.8.0-50.56~20.04.1
linux-image-aws –  5.4.0.1045.46
linux-image-azure –  5.4.0.1046.44
linux-image-gcp –  5.4.0.1042.51
linux-image-generic –  5.4.0.72.75
linux-image-generic-64k-hwe-20.04 –  5.8.0.50.56~20.04.34
linux-image-generic-hwe-20.04 –  5.8.0.50.56~20.04.34
linux-image-generic-lpae –  5.4.0.72.75
linux-image-generic-lpae-hwe-20.04 –  5.8.0.50.56~20.04.34
linux-image-gkeop –  5.4.0.1014.17
linux-image-gkeop-5.4 –  5.4.0.1014.17
linux-image-kvm –  5.4.0.1038.36
linux-image-lowlatency –  5.4.0.72.75
linux-image-lowlatency-hwe-20.04 –  5.8.0.50.56~20.04.34
linux-image-oem –  5.4.0.72.75
linux-image-oem-20.04b –  5.10.0.1022.23
linux-image-oem-osp1 –  5.4.0.72.75
linux-image-oracle –  5.4.0.1043.40
linux-image-raspi –  5.4.0.1034.69
linux-image-raspi2 –  5.4.0.1034.69
linux-image-virtual –  5.4.0.72.75
linux-image-virtual-hwe-20.04 –  5.8.0.50.56~20.04.34
18.04 bionic linux-image-5.3.0-1039-raspi2 –  5.3.0-1039.41
linux-image-5.3.0-1042-gke –  5.3.0-1042.45
linux-image-5.3.0-73-generic –  5.3.0-73.69
linux-image-5.3.0-73-lowlatency –  5.3.0-73.69
linux-image-5.4.0-1014-gkeop –  5.4.0-1014.15~18.04.1
linux-image-5.4.0-1034-raspi –  5.4.0-1034.37~18.04.1
linux-image-5.4.0-1042-gcp –  5.4.0-1042.45~18.04.1
linux-image-5.4.0-1042-gke –  5.4.0-1042.44~18.04.1
linux-image-5.4.0-1043-oracle –  5.4.0-1043.46~18.04.1
linux-image-5.4.0-1045-aws –  5.4.0-1045.47~18.04.1
linux-image-5.4.0-1046-azure –  5.4.0-1046.48~18.04.1
linux-image-5.4.0-72-generic –  5.4.0-72.80~18.04.1
linux-image-5.4.0-72-generic-lpae –  5.4.0-72.80~18.04.1
linux-image-5.4.0-72-lowlatency –  5.4.0-72.80~18.04.1
linux-image-aws –  5.4.0.1045.27
linux-image-azure –  5.4.0.1046.25
linux-image-gcp –  5.4.0.1042.29
linux-image-generic-hwe-18.04 –  5.4.0.72.80~18.04.65
linux-image-generic-lpae-hwe-18.04 –  5.4.0.72.80~18.04.65
linux-image-gke-5.3 –  5.3.0.1042.25
linux-image-gke-5.4 –  5.4.0.1042.44~18.04.8
linux-image-gkeop-5.3 –  5.3.0.73.130
linux-image-gkeop-5.4 –  5.4.0.1014.15~18.04.15
linux-image-lowlatency-hwe-18.04 –  5.4.0.72.80~18.04.65
linux-image-oem –  5.4.0.72.80~18.04.65
linux-image-oem-osp1 –  5.4.0.72.80~18.04.65
linux-image-oracle –  5.4.0.1043.46~18.04.25
linux-image-raspi-hwe-18.04 –  5.4.0.1034.36
linux-image-raspi2-hwe-18.04 –  5.3.0.1039.28
linux-image-snapdragon-hwe-18.04 –  5.4.0.72.80~18.04.65
linux-image-virtual-hwe-18.04 –  5.4.0.72.80~18.04.65

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›