USN-4979-1: Linux kernel vulnerabilities

04 June 2021

Several security issues were fixed in the Linux kernel.

Releases

Packages

  • linux - Linux kernel
  • linux-aws - Linux kernel for Amazon Web Services (AWS) systems
  • linux-aws-hwe - Linux kernel for Amazon Web Services (AWS-HWE) systems
  • linux-azure - Linux kernel for Microsoft Azure Cloud systems
  • linux-azure-4.15 - Linux kernel for Microsoft Azure Cloud systems
  • linux-gcp - Linux kernel for Google Cloud Platform (GCP) systems
  • linux-gcp-4.15 - Linux kernel for Google Cloud Platform (GCP) systems
  • linux-hwe - Linux hardware enablement (HWE) kernel
  • linux-kvm - Linux kernel for cloud environments
  • linux-oracle - Linux kernel for Oracle Cloud systems
  • linux-raspi2 - Linux kernel for Raspberry Pi (V8) systems
  • linux-snapdragon - Linux kernel for Qualcomm Snapdragon processors

Details

Kiyin (尹亮) discovered that the NFC LLCP protocol implementation in the
Linux kernel contained a reference counting error. A local attacker could
use this to cause a denial of service (system crash). (CVE-2020-25670)

Kiyin (尹亮) discovered that the NFC LLCP protocol implementation in the
Linux kernel did not properly deallocate memory in certain error
situations. A local attacker could use this to cause a denial of service
(memory exhaustion). (CVE-2020-25671, CVE-2020-25672)

Kiyin (尹亮) discovered that the NFC LLCP protocol implementation in the
Linux kernel did not properly handle error conditions in some situations,
leading to an infinite loop. A local attacker could use this to cause a
denial of service. (CVE-2020-25673)

It was discovered that the Realtek RTL8188EU Wireless device driver in the
Linux kernel did not properly validate ssid lengths in some situations. An
attacker could use this to cause a denial of service (system crash).
(CVE-2021-28660)

Zygo Blaxell discovered that the btrfs file system implementation in the
Linux kernel contained a race condition during certain cloning operations.
A local attacker could possibly use this to cause a denial of service
(system crash). (CVE-2021-28964)

Vince Weaver discovered that the perf subsystem in the Linux kernel did not
properly handle certain PEBS records properly for some Intel Haswell
processors. A local attacker could use this to cause a denial of service
(system crash). (CVE-2021-28971)

It was discovered that the RPA PCI Hotplug driver implementation in the
Linux kernel did not properly handle device name writes via sysfs, leading
to a buffer overflow. A privileged attacker could use this to cause a
denial of service (system crash) or possibly execute arbitrary code.
(CVE-2021-28972)

It was discovered that the Qualcomm IPC router implementation in the Linux
kernel did not properly initialize memory passed to user space. A local
attacker could use this to expose sensitive information (kernel memory).
(CVE-2021-29647)

Dan Carpenter discovered that the block device manager (dm) implementation
in the Linux kernel contained a buffer overflow in the ioctl for listing
devices. A privileged local attacker could use this to cause a denial of
service (system crash). (CVE-2021-31916)

It was discovered that the CIPSO implementation in the Linux kernel did not
properly perform reference counting in some situations, leading to use-
after-free vulnerabilities. An attacker could use this to cause a denial of
service (system crash) or possibly execute arbitrary code. (CVE-2021-33033)

Wolfgang Frisch discovered that the ext4 file system implementation in the
Linux kernel contained an integer overflow when handling metadata inode
extents. An attacker could use this to construct a malicious ext4 file
system image that, when mounted, could cause a denial of service (system
crash). (CVE-2021-3428)

马哲宇 discovered that the IEEE 1394 (Firewire) nosy packet sniffer driver in
the Linux kernel did not properly perform reference counting in some
situations, leading to a use-after-free vulnerability. A local attacker
could use this to cause a denial of service (system crash) or possibly
execute arbitrary code. (CVE-2021-3483)

Update instructions

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

Ubuntu 18.04
Ubuntu 16.04
Ubuntu 14.04

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

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.

Related notices

  • USN-4945-1: linux-image-lowlatency-hwe-18.04-edge, linux-image-oem-osp1, linux, linux-image-gcp-edge, linux-image-gke-5.4, linux-image-5.4.0-73-lowlatency, linux-image-5.4.0-1045-oracle, linux-oracle-5.4, linux-aws-5.4, linux-gcp, linux-image-azure-edge, linux-oracle, linux-image-gkeop, linux-image-5.4.0-1043-gke, linux-image-5.4.0-1043-gcp, linux-image-snapdragon-hwe-18.04, linux-image-lowlatency-hwe-18.04, linux-image-5.4.0-1048-aws, linux-image-azure, linux-image-gcp, linux-gkeop, linux-image-5.4.0-1044-oracle, linux-image-snapdragon-hwe-18.04-edge, linux-image-oem, linux-image-generic-hwe-18.04-edge, linux-gcp-5.4, linux-image-virtual-hwe-18.04-edge, linux-image-virtual, linux-image-5.4.0-73-generic-lpae, linux-image-generic-lpae-hwe-18.04-edge, linux-image-generic-lpae-hwe-18.04, linux-image-5.4.0-1015-gkeop, linux-gke, linux-image-lowlatency, linux-image-virtual-hwe-18.04, linux-image-5.4.0-1047-azure, linux-image-gkeop-5.4, linux-hwe-5.4, linux-image-aws, linux-azure-5.4, linux-image-aws-edge, linux-image-oracle-edge, linux-aws, linux-image-generic, linux-gkeop-5.4, linux-image-5.4.0-73-generic, linux-kvm, linux-image-kvm, linux-image-gke, linux-azure, linux-image-5.4.0-1039-kvm, linux-image-generic-hwe-18.04, linux-image-oracle, linux-gke-5.4, linux-image-generic-lpae
  • USN-4945-2: linux-image-raspi, linux-raspi, linux-image-raspi2-hwe-18.04-edge, linux-image-raspi-hwe-18.04, linux-raspi-5.4, linux-image-5.4.0-1035-raspi, linux-image-raspi2, linux-image-raspi-hwe-18.04-edge, linux-image-raspi2-hwe-18.04
  • USN-4948-1: linux-oem-5.10, linux-image-oem-20.04b, linux-image-5.10.0-1026-oem, linux-image-oem-20.04-edge
  • USN-4977-1: linux-image-5.11.0-1009-raspi-nolpae, linux, linux-image-lowlatency-hwe-20.04-edge, linux-image-generic-lpae-hwe-20.04-edge, linux-gcp, linux-image-generic-lpae, linux-image-5.11.0-18-lowlatency, linux-oracle, linux-image-virtual-hwe-20.04, linux-image-5.11.0-1007-oracle, linux-image-5.11.0-18-generic-lpae, linux-image-azure, linux-image-generic-hwe-20.04-edge, linux-image-gcp, linux-image-lowlatency-hwe-20.04, linux-image-generic-64k, linux-image-5.11.0-18-generic, linux-image-generic-64k-hwe-20.04, linux-image-generic-hwe-20.04, linux-raspi, linux-image-virtual, linux-image-generic-lpae-hwe-20.04, linux-image-5.11.0-1008-kvm, linux-image-lowlatency, linux-image-5.11.0-1008-gcp, linux-image-5.11.0-1006-azure, linux-image-virtual-hwe-20.04-edge, linux-image-5.11.0-18-generic-64k, linux-image-5.11.0-1008-aws, linux-image-aws, linux-image-generic-64k-hwe-20.04-edge, linux-image-generic, linux-aws, linux-image-raspi, linux-kvm, linux-image-kvm, linux-image-gke, linux-azure, linux-image-raspi-nolpae, linux-image-oracle, linux-image-5.11.0-1009-raspi, linux-image-oem-20.04
  • USN-4982-1: linux-image-lowlatency-hwe-18.04-edge, linux-image-oem-osp1, linux, linux-image-gcp-edge, linux-image-gke-5.4, linux-oracle-5.4, linux-aws-5.4, linux-gcp, linux-image-raspi-hwe-18.04-edge, linux-image-azure-edge, linux-oracle, linux-image-gkeop, linux-image-5.4.0-1040-kvm, linux-image-snapdragon-hwe-18.04, linux-image-5.4.0-74-lowlatency, linux-image-lowlatency-hwe-18.04, linux-image-5.4.0-1049-aws, linux-image-azure, linux-image-gcp, linux-image-5.4.0-74-generic, linux-gkeop, linux-image-raspi-hwe-18.04, linux-image-snapdragon-hwe-18.04-edge, linux-image-oem, linux-image-5.4.0-1016-gkeop, linux-image-generic-hwe-18.04-edge, linux-gcp-5.4, linux-image-5.4.0-1036-raspi, linux-image-virtual-hwe-18.04-edge, linux-raspi, linux-image-raspi2-hwe-18.04-edge, linux-image-virtual, linux-image-5.4.0-1046-oracle, linux-image-generic-lpae-hwe-18.04-edge, linux-image-generic-lpae-hwe-18.04, linux-gke, linux-image-lowlatency, linux-image-virtual-hwe-18.04, linux-image-raspi2, linux-image-gkeop-5.4, linux-hwe-5.4, linux-image-aws, linux-azure-5.4, linux-image-aws-edge, linux-image-oracle-edge, linux-aws, linux-image-generic, linux-gkeop-5.4, linux-image-raspi, linux-kvm, linux-image-kvm, linux-image-gke, linux-azure, linux-image-5.4.0-74-generic-lpae, linux-image-5.4.0-1048-azure, linux-raspi-5.4, linux-image-generic-hwe-18.04, linux-image-oracle, linux-image-5.4.0-1044-gke, linux-gke-5.4, linux-image-5.4.0-1044-gcp, linux-image-generic-lpae, linux-image-raspi2-hwe-18.04
  • USN-4984-1: linux, linux-image-lowlatency-hwe-20.04-edge, linux-image-5.8.0-1026-raspi, linux-image-generic-lpae-hwe-20.04-edge, linux-image-5.8.0-1032-gcp, linux-gcp, linux-image-5.8.0-1026-raspi-nolpae, linux-oracle, linux-image-virtual-hwe-20.04, linux-image-azure, linux-image-generic-hwe-20.04-edge, linux-hwe-5.8, linux-image-5.8.0-1028-kvm, linux-image-gcp, linux-image-lowlatency-hwe-20.04, linux-image-generic-64k, linux-image-5.8.0-55-generic-64k, linux-image-generic-64k-hwe-20.04, linux-image-generic-hwe-20.04, linux-raspi, linux-image-virtual, linux-image-generic-lpae-hwe-20.04, linux-image-lowlatency, linux-image-5.8.0-55-lowlatency, linux-image-5.8.0-1033-azure, linux-image-5.8.0-55-generic-lpae, linux-image-virtual-hwe-20.04-edge, linux-image-aws, linux-image-generic-64k-hwe-20.04-edge, linux-image-5.8.0-1031-oracle, linux-aws, linux-image-generic, linux-image-5.8.0-55-generic, linux-image-raspi, linux-kvm, linux-image-kvm, linux-image-gke, linux-azure, linux-image-raspi-nolpae, linux-image-oracle, linux-image-generic-lpae, linux-image-5.8.0-1035-aws, linux-image-oem-20.04
  • USN-4999-1: linux, linux-image-lowlatency-hwe-20.04-edge, linux-image-gcp-edge, linux-image-generic-lpae-hwe-20.04-edge, linux-image-5.8.0-59-generic, linux-image-5.8.0-1038-aws, linux-gcp, linux-image-azure-edge, linux-oracle, linux-image-5.8.0-1029-raspi, linux-image-5.8.0-1029-raspi-nolpae, linux-image-virtual-hwe-20.04, linux-aws-5.8, linux-image-5.8.0-1035-gcp, linux-image-5.8.0-59-generic-lpae, linux-image-azure, linux-azure-5.8, linux-hwe-5.8, linux-image-gcp, linux-image-generic-hwe-20.04-edge, linux-image-lowlatency-hwe-20.04, linux-image-generic-64k, linux-image-5.8.0-1030-kvm, linux-image-5.8.0-1033-oracle, linux-image-generic-64k-hwe-20.04, linux-image-generic-hwe-20.04, linux-raspi, linux-image-virtual, linux-image-generic-lpae-hwe-20.04, linux-gcp-5.8, linux-image-lowlatency, linux-image-5.8.0-59-generic-64k, linux-image-virtual-hwe-20.04-edge, linux-image-aws, linux-image-5.8.0-59-lowlatency, linux-image-oracle-edge, linux-image-generic-64k-hwe-20.04-edge, linux-aws, linux-image-generic, linux-image-raspi, linux-kvm, linux-image-kvm, linux-image-gke, linux-azure, linux-image-5.8.0-1036-azure, linux-image-raspi-nolpae, linux-image-oracle, linux-oracle-5.8, linux-image-generic-lpae, linux-image-oem-20.04