USN-4982-1: Linux kernel vulnerabilities

08 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-5.4 - Linux kernel for Amazon Web Services (AWS) systems
  • linux-azure - Linux kernel for Microsoft Azure Cloud systems
  • linux-azure-5.4 - Linux kernel for Microsoft Azure cloud systems
  • linux-gcp - Linux kernel for Google Cloud Platform (GCP) systems
  • linux-gcp-5.4 - Linux kernel for Google Cloud Platform (GCP) systems
  • linux-gke - Linux kernel for Google Container Engine (GKE) systems
  • linux-gke-5.4 - Linux kernel for Google Container Engine (GKE) systems
  • linux-gkeop - Linux kernel for Google Container Engine (GKE) systems
  • linux-gkeop-5.4 - Linux kernel for Google Container Engine (GKE) systems
  • linux-hwe-5.4 - Linux hardware enablement (HWE) kernel
  • linux-kvm - Linux kernel for cloud environments
  • linux-oracle - Linux kernel for Oracle Cloud systems
  • linux-oracle-5.4 - Linux kernel for Oracle Cloud systems
  • linux-raspi - Linux kernel for Raspberry Pi (V8) systems
  • linux-raspi-5.4 - Linux kernel for Raspberry Pi (V8) systems

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 Xen paravirtualization backend in the Linux
kernel did not properly deallocate memory in some situations. A local
attacker could use this to cause a denial of service (memory exhaustion).
(CVE-2021-28688)

It was discovered that the fuse user space file system implementation in
the Linux kernel did not properly handle bad inodes in some situations. A
local attacker could possibly use this to cause a denial of service.
(CVE-2021-28950)

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 Freescale Gianfar Ethernet driver for the Linux
kernel did not properly handle receive queue overrun when jumbo frames were
enabled in some situations. An attacker could use this to cause a denial of
service (system crash). (CVE-2021-29264)

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)

马哲宇 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 20.04
Ubuntu 18.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-4911-1: linux-oem-5.10, linux-image-oem-20.04b, linux-image-oem-20.04-edge, linux-image-5.10.0-1021-oem
  • USN-4946-1: linux-gcp, linux-azure, linux-image-gke, linux-image-4.15.0-1071-oracle, linux, linux-image-aws-lts-18.04, linux-image-4.15.0-1091-kvm, linux-hwe, linux-image-gcp, linux-image-generic-lpae-hwe-16.04-edge, linux-image-4.15.0-143-generic-lpae, linux-image-generic-lpae-hwe-16.04, linux-image-lowlatency-hwe-16.04, linux-image-4.15.0-1018-dell300x, linux-image-generic, linux-image-oracle-lts-18.04, linux-image-generic-lpae, linux-image-snapdragon, linux-gcp-4.15, linux-image-oracle, linux-dell300x, linux-image-azure-lts-18.04, linux-image-4.15.0-143-generic, linux-image-4.15.0-143-lowlatency, linux-kvm, linux-image-4.15.0-1085-raspi2, linux-image-4.15.0-1102-snapdragon, linux-image-aws-hwe, linux-aws-hwe, linux-azure-4.15, linux-snapdragon, linux-image-raspi2, linux-oracle, linux-image-gcp-lts-18.04, linux-image-azure, linux-image-lowlatency-hwe-16.04-edge, linux-image-dell300x, linux-image-4.15.0-1114-azure, linux-image-oem, linux-image-virtual-hwe-16.04-edge, linux-aws, linux-image-generic-hwe-16.04-edge, linux-image-lowlatency, linux-image-virtual, linux-image-4.15.0-1099-gcp, linux-image-kvm, linux-raspi2, linux-image-4.15.0-1102-aws, linux-image-generic-hwe-16.04, linux-image-virtual-hwe-16.04
  • USN-4948-1: linux-oem-5.10, linux-image-5.10.0-1026-oem, linux-image-oem-20.04-edge, linux-image-oem-20.04b
  • USN-4949-1: linux-image-5.8.0-53-generic, linux-gcp, linux-azure, linux-raspi, linux-image-gke, linux-image-lowlatency-hwe-20.04-edge, linux-image-5.8.0-1033-aws, linux, linux-image-5.8.0-1024-raspi, linux-image-virtual-hwe-20.04-edge, linux-image-raspi-nolpae, linux-image-gcp, linux-image-5.8.0-53-generic-lpae, linux-image-5.8.0-53-lowlatency, linux-image-oem-20.04, linux-image-5.8.0-1024-raspi-nolpae, linux-image-generic-64k-hwe-20.04-edge, linux-image-generic-64k, linux-hwe-5.8, linux-image-generic-lpae-hwe-20.04-edge, linux-image-generic-64k-hwe-20.04, linux-image-generic, linux-image-generic-lpae, linux-image-oracle, linux-image-generic-hwe-20.04, linux-image-5.8.0-1031-gcp, linux-image-raspi, linux-kvm, linux-image-5.8.0-1032-azure, linux-image-5.8.0-53-generic-64k, linux-image-virtual-hwe-20.04, linux-oracle, linux-image-azure, linux-image-lowlatency-hwe-20.04, linux-image-5.8.0-1029-oracle, linux-image-generic-lpae-hwe-20.04, linux-image-aws, linux-aws, linux-image-generic-hwe-20.04-edge, linux-image-lowlatency, linux-image-virtual, linux-image-kvm, linux-image-5.8.0-1027-kvm
  • USN-4977-1: linux-gcp, linux-image-5.11.0-1009-raspi, linux-azure, linux-raspi, linux-image-gke, linux-image-lowlatency-hwe-20.04-edge, linux, linux-image-5.11.0-18-generic-lpae, linux-image-5.11.0-1008-aws, linux-image-virtual-hwe-20.04-edge, linux-image-raspi-nolpae, linux-image-gcp, linux-image-oem-20.04, linux-image-5.11.0-1008-gcp, linux-image-generic-64k-hwe-20.04-edge, linux-image-generic-64k, linux-image-generic-lpae-hwe-20.04-edge, linux-image-generic-64k-hwe-20.04, linux-image-generic, linux-image-generic-lpae, linux-image-5.11.0-18-lowlatency, linux-image-oracle, linux-image-generic-hwe-20.04, linux-image-raspi, linux-kvm, linux-image-5.11.0-1007-oracle, linux-image-5.11.0-1009-raspi-nolpae, linux-image-5.11.0-18-generic, linux-image-virtual-hwe-20.04, linux-oracle, linux-image-azure, linux-image-lowlatency-hwe-20.04, linux-image-generic-lpae-hwe-20.04, linux-image-aws, linux-aws, linux-image-generic-hwe-20.04-edge, linux-image-lowlatency, linux-image-virtual, linux-image-5.11.0-1006-azure, linux-image-kvm, linux-image-5.11.0-1008-kvm, linux-image-5.11.0-18-generic-64k
  • USN-4979-1: linux-gcp, linux-image-4.15.0-144-generic-lpae, linux-azure, linux-image-gke, linux, linux-image-aws-lts-18.04, linux-image-4.15.0-1086-raspi2, linux-hwe, linux-image-gcp, linux-image-4.15.0-1092-kvm, linux-image-generic-lpae-hwe-16.04-edge, linux-image-4.15.0-1100-gcp, linux-image-generic-lpae-hwe-16.04, linux-image-lowlatency-hwe-16.04, linux-image-4.15.0-1103-snapdragon, linux-image-4.15.0-144-generic, linux-image-generic, linux-image-oracle-lts-18.04, linux-image-generic-lpae, linux-image-snapdragon, linux-gcp-4.15, linux-image-oracle, linux-image-azure-lts-18.04, linux-kvm, linux-image-4.15.0-144-lowlatency, linux-image-4.15.0-1103-aws, linux-image-4.15.0-1115-azure, linux-image-aws-hwe, linux-image-4.15.0-1072-oracle, linux-aws-hwe, linux-azure-4.15, linux-snapdragon, linux-image-raspi2, linux-oracle, linux-image-gcp-lts-18.04, linux-image-azure, linux-image-lowlatency-hwe-16.04-edge, linux-image-virtual-hwe-16.04-edge, linux-image-oem, linux-aws, linux-image-generic-hwe-16.04-edge, linux-image-lowlatency, linux-image-virtual, linux-image-azure-edge, linux-image-kvm, linux-raspi2, linux-image-generic-hwe-16.04, linux-image-virtual-hwe-16.04
  • USN-4984-1: linux-image-5.8.0-55-generic, linux-gcp, linux-azure, linux-raspi, linux-image-gke, linux-image-lowlatency-hwe-20.04-edge, linux, linux-image-5.8.0-1035-aws, linux-image-virtual-hwe-20.04-edge, linux-image-raspi-nolpae, linux-image-gcp, linux-image-5.8.0-55-generic-lpae, linux-image-oem-20.04, linux-image-generic-64k-hwe-20.04-edge, linux-image-generic-64k, linux-hwe-5.8, linux-image-generic-lpae-hwe-20.04-edge, linux-image-generic-64k-hwe-20.04, linux-image-generic, linux-image-generic-lpae, linux-image-5.8.0-1033-azure, linux-image-oracle, linux-image-generic-hwe-20.04, linux-image-raspi, linux-kvm, linux-image-5.8.0-1028-kvm, linux-image-5.8.0-1031-oracle, linux-image-virtual-hwe-20.04, linux-oracle, linux-image-5.8.0-1032-gcp, linux-image-5.8.0-55-lowlatency, linux-image-azure, linux-image-lowlatency-hwe-20.04, linux-image-generic-lpae-hwe-20.04, linux-image-aws, linux-aws, linux-image-generic-hwe-20.04-edge, linux-image-lowlatency, linux-image-virtual, linux-image-5.8.0-1026-raspi, linux-image-kvm, linux-image-5.8.0-1026-raspi-nolpae, linux-image-5.8.0-55-generic-64k
  • USN-4999-1: linux-gcp-5.8, linux-gcp, linux-image-5.8.0-1033-oracle, linux-image-5.8.0-1029-raspi-nolpae, linux-azure, linux-raspi, linux-image-gke, linux-image-lowlatency-hwe-20.04-edge, linux, linux-image-oracle-edge, linux-image-virtual-hwe-20.04-edge, linux-image-raspi-nolpae, linux-image-gcp, linux-image-5.8.0-59-generic-64k, linux-image-oem-20.04, linux-image-generic-64k-hwe-20.04-edge, linux-image-5.8.0-1030-kvm, linux-image-generic-64k, linux-hwe-5.8, linux-image-generic-lpae-hwe-20.04-edge, linux-image-gcp-edge, linux-image-generic, linux-image-generic-64k-hwe-20.04, linux-image-generic-lpae, linux-image-oracle, linux-image-generic-hwe-20.04, linux-image-raspi, linux-kvm, linux-azure-5.8, linux-image-5.8.0-1036-azure, linux-image-5.8.0-59-generic, linux-image-virtual-hwe-20.04, linux-oracle, linux-image-5.8.0-1035-gcp, linux-image-azure, linux-oracle-5.8, linux-image-lowlatency-hwe-20.04, linux-image-generic-lpae-hwe-20.04, linux-aws-5.8, linux-image-5.8.0-59-generic-lpae, linux-aws, linux-image-aws, linux-image-generic-hwe-20.04-edge, linux-image-lowlatency, linux-image-5.8.0-1038-aws, linux-image-azure-edge, linux-image-5.8.0-59-lowlatency, linux-image-kvm, linux-image-virtual, linux-image-5.8.0-1029-raspi