-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2021.1625
              USN-4948-1: Linux kernel (OEM) vulnerabilities
                                12 May 2021

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Linux Kernel (OEM)
Publisher:         Ubuntu
Operating System:  Ubuntu
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account
                   Increased Privileges            -- Existing Account
                   Denial of Service               -- Existing Account
                   Access Confidential Data        -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-31916 CVE-2021-30002 CVE-2021-29657
                   CVE-2021-29650 CVE-2021-29649 CVE-2021-29647
                   CVE-2021-29646 CVE-2021-29266 CVE-2021-29264
                   CVE-2021-28972 CVE-2021-28971 CVE-2021-28964
                   CVE-2021-28952 CVE-2021-28951 CVE-2021-28688
                   CVE-2021-28375 CVE-2021-3491 CVE-2021-3490
                   CVE-2021-3489 CVE-2021-3483 CVE-2020-35519
                   CVE-2020-25672 CVE-2020-25671 CVE-2020-25670

Reference:         ESB-2021.1622
                   ESB-2021.1376
                   ESB-2021.1307

Original Bulletin: 
   https://ubuntu.com/security/notices/USN-4948-1
   https://ubuntu.com/security/notices/USN-4947-1

Comment: This bulletin contains two (2) Ubuntu security advisories.

- --------------------------BEGIN INCLUDED TEXT--------------------

USN-4948-1: Linux kernel (OEM) vulnerabilities
11 May 2021

Several security issues were fixed in the Linux kernel.
Releases

  o Ubuntu 20.04 LTS

Packages

  o linux-oem-5.10 - Linux kernel for OEM systems

Details

Ryota Shiga discovered that the eBPF implementation in the Linux kernel did
not properly verify that a BPF program only reserved as much memory for a
ring buffer as was allocated. A local attacker could use this to cause a
denial of service (system crash) or execute arbitrary code. ( CVE-2021-3489 )

Manfred Paul discovered that the eBPF implementation in the Linux kernel
did not properly track bounds on bitwise operations. A local attacker could
use this to cause a denial of service (system crash) or execute arbitrary
code. ( CVE-2021-3490 )

Billy Jheng Bing-Jhong discovered that the io_uring implementation of the
Linux kernel did not properly enforce the MAX_RW_COUNT limit in some
situations. A local attacker could use this to cause a denial of service
(system crash) or execute arbitrary code. ( CVE-2021-3491 )

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 )

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 io_uring subsystem in the Linux kernel contained
a race condition leading to a deadlock condition. A local attacker could
use this to cause a denial of service. ( CVE-2021-28951 )

John Stultz discovered that the audio driver for Qualcomm SDM845 systems in
the Linux kernel did not properly validate port ID numbers. A local
attacker could use this to cause a denial of service (system crash) or
possibly execute arbitrary code. ( CVE-2021-28952 )

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 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 vDPA backend virtio driver in the Linux kernel
contained a use-after-free vulnerability. An attacker could use this to
cause a denial of service (system crash) or possibly execute arbitrary
code. ( CVE-2021-29266 )

It was discovered that the TIPC protocol implementation in the Linux kernel
did not properly validate passed encryption key sizes. A local attacker
could use this to cause a denial of service (system crash).
( CVE-2021-29646 )

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 )

It was discovered that the BPF user mode driver implementation 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-29649 )

It was discovered that a race condition existed in the netfilter subsystem
of the Linux kernel when replacing tables. A local attacker could use this
to cause a denial of service (system crash). ( CVE-2021-29650 )

Felix Wilhelm discovered that the KVM implementation in the Linux kernel
for AMD processors contained race conditions on nested VMCB controls. A
local attacker in a guest vm could possibly use this to gain elevated
privileges. ( CVE-2021-29657 )

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

  o linux-image-oem-20.04b - 5.10.0.1026.27
  o linux-image-5.10.0-1026-oem - 5.10.0-1026.27

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.

References

  o CVE-2021-3489
  o CVE-2021-29649
  o CVE-2021-28951
  o CVE-2021-28952
  o CVE-2021-29264
  o CVE-2021-29650
  o CVE-2021-3491
  o CVE-2021-28964
  o CVE-2020-25672
  o CVE-2021-28972
  o CVE-2021-29647
  o CVE-2021-3483
  o CVE-2021-28971
  o CVE-2020-25670
  o CVE-2021-28688
  o CVE-2021-29646
  o CVE-2021-3490
  o CVE-2021-29657
  o CVE-2021-31916
  o CVE-2020-25671
  o CVE-2021-29266

Related notices

  o USN-4947-1 : linux-image-5.6.0-1056-oem, linux-oem-5.6,
    linux-image-oem-20.04
  o USN-4950-1 : linux-image-5.11.0-1005-azure, linux-image-aws,
    linux-image-generic-lpae, linux-image-5.11.0-17-lowlatency,
    linux-image-generic, linux-image-gke, linux-gcp, linux-azure, linux,
    linux-image-5.11.0-1008-raspi, linux-image-generic-64k,
    linux-image-5.11.0-17-generic, linux-oracle, linux-image-lowlatency,
    linux-raspi, linux-image-oracle, linux-image-raspi, linux-image-gcp,
    linux-image-azure, linux-image-5.11.0-1006-oracle,
    linux-image-5.11.0-17-generic-lpae, linux-image-virtual,
    linux-image-5.11.0-1007-kvm, linux-kvm, linux-image-5.11.0-1007-aws,
    linux-image-5.11.0-1007-gcp, linux-aws, linux-image-5.11.0-17-generic-64k,
    linux-image-5.11.0-1008-raspi-nolpae, linux-image-raspi-nolpae,
    linux-image-kvm
  o USN-4945-1 : linux-image-5.4.0-1043-gke, linux-image-5.4.0-73-lowlatency,
    linux-image-aws, linux-oracle-5.4, linux-image-generic-lpae,
    linux-image-snapdragon-hwe-18.04, linux-azure-5.4,
    linux-image-5.4.0-1047-azure, linux-image-generic,
    linux-image-5.4.0-1039-kvm, linux-image-virtual-hwe-18.04, linux-image-oem,
    linux-gke-5.4, linux-image-5.4.0-73-generic-lpae, linux-image-gke,
    linux-image-gkeop-5.4, linux-gcp, linux-azure, linux,
    linux-image-5.4.0-1044-oracle, linux-image-5.4.0-1045-oracle,
    linux-image-5.4.0-1048-aws, linux-image-5.4.0-1043-gcp, linux-gcp-5.4,
    linux-image-oem-osp1, linux-oracle, linux-image-lowlatency, linux-hwe-5.4,
    linux-image-oracle, linux-image-generic-lpae-hwe-18.04, linux-image-gcp,
    linux-image-lowlatency-hwe-18.04, linux-image-gke-5.4, linux-image-azure,
    linux-gkeop-5.4, linux-image-generic-hwe-18.04, linux-image-virtual,
    linux-kvm, linux-image-5.4.0-1015-gkeop, linux-gkeop, linux-aws,
    linux-aws-5.4, linux-image-gkeop, linux-image-5.4.0-73-generic,
    linux-image-kvm, linux-gke
  o USN-4949-1 : linux-image-generic-64k-hwe-20.04, linux-image-aws,
    linux-image-generic-lpae, linux-image-5.8.0-1031-gcp, linux-hwe-5.8,
    linux-image-5.8.0-1024-raspi, linux-image-generic,
    linux-image-generic-lpae-hwe-20.04, linux-image-5.8.0-1032-azure,
    linux-image-gke, linux-gcp, linux-azure, linux, linux-image-generic-64k,
    linux-image-generic-hwe-20.04, linux-image-5.8.0-53-generic-64k,
    linux-image-lowlatency, linux-oracle, linux-raspi, linux-image-oracle,
    linux-image-raspi, linux-image-gcp, linux-image-azure, linux-image-virtual,
    linux-kvm, linux-image-virtual-hwe-20.04, linux-image-lowlatency-hwe-20.04,
    linux-image-oem-20.04, linux-image-5.8.0-1033-aws, linux-aws,
    linux-image-5.8.0-1024-raspi-nolpae, linux-image-5.8.0-53-generic-lpae,
    linux-image-5.8.0-53-lowlatency, linux-image-5.8.0-1027-kvm,
    linux-image-raspi-nolpae, linux-image-kvm, linux-image-5.8.0-1029-oracle,
    linux-image-5.8.0-53-generic
  o USN-4946-1 : linux-image-4.15.0-1018-dell300x, linux-image-generic-lpae,
    linux-image-4.15.0-143-generic, linux-image-generic,
    linux-image-4.15.0-1085-raspi2, linux-gcp-4.15, linux-aws-hwe,
    linux-image-lowlatency-hwe-16.04, linux-image-oem, linux-hwe,
    linux-image-dell300x, linux-gcp, linux-image-gke, linux-azure, linux,
    linux-image-oracle-lts-18.04, linux-image-virtual-hwe-16.04,
    linux-image-4.15.0-1102-aws, linux-image-raspi2,
    linux-image-generic-hwe-16.04, linux-oracle, linux-image-lowlatency,
    linux-image-oracle, linux-snapdragon, linux-image-4.15.0-1071-oracle,
    linux-image-4.15.0-143-lowlatency, linux-image-azure-lts-18.04,
    linux-image-gcp, linux-azure-4.15, linux-image-4.15.0-1102-snapdragon,
    linux-image-azure, linux-image-4.15.0-1114-azure,
    linux-image-4.15.0-143-generic-lpae, linux-image-aws-lts-18.04,
    linux-image-snapdragon, linux-image-4.15.0-1099-gcp, linux-image-virtual,
    linux-kvm, linux-aws, linux-image-gcp-lts-18.04, linux-image-aws-hwe,
    linux-image-4.15.0-1091-kvm, linux-dell300x, linux-raspi2, linux-image-kvm


- --------------------------------------------------------------------------------



USN-4947-1: Linux kernel (OEM) vulnerabilities
11 May 2021

Several security issues were fixed in the Linux kernel.
Releases

  o Ubuntu 20.04 LTS

Packages

  o linux-oem-5.6 - Linux kernel for OEM systems

Details

Kiyin () discovered that the x25 implementation in the Linux kernel
contained overflows when handling addresses from user space. A local
attacker could use this to cause a denial of service (system crash) or
possibly execute arbitrary code. ( CVE-2020-35519 )

It was discovered that the fastrpc driver in the Linux kernel did not
prevent user space applications from sending kernel RPC messages. A local
attacker could possibly use this to gain elevated privileges.
( CVE-2021-28375 )

It was discovered that the TIPC protocol implementation in the Linux kernel
did not properly validate passed encryption key sizes. A local attacker
could use this to cause a denial of service (system crash).
( CVE-2021-29646 )

It was discovered that a race condition existed in the netfilter subsystem
of the Linux kernel when replacing tables. A local attacker could use this
to cause a denial of service (system crash). ( CVE-2021-29650 )

Arnd Bergmann discovered that the video4linux subsystem 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-30002 )

Update instructions

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

Ubuntu 20.04

  o linux-image-5.6.0-1056-oem - 5.6.0-1056.60
  o linux-image-oem-20.04 - 5.6.0.1056.52

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.

References

  o CVE-2020-35519
  o CVE-2021-29650
  o CVE-2021-29646
  o CVE-2021-28375
  o CVE-2021-30002

Related notices

  o USN-4948-1 : linux-image-oem-20.04b, linux-oem-5.10,
    linux-image-5.10.0-1026-oem
  o USN-4945-1 : linux-gkeop-5.4, linux-image-generic,
    linux-image-generic-lpae, linux-image-generic-lpae-hwe-18.04,
    linux-image-oem-osp1, linux-image-oem, linux, linux-kvm,
    linux-image-5.4.0-1039-kvm, linux-azure-5.4, linux-image-virtual,
    linux-image-5.4.0-1047-azure, linux-image-5.4.0-1043-gcp,
    linux-image-5.4.0-1015-gkeop, linux-gke-5.4, linux-oracle-5.4, linux-gkeop,
    linux-image-azure, linux-aws, linux-image-lowlatency, linux-image-oracle,
    linux-image-gcp, linux-gcp, linux-gcp-5.4, linux-image-gke-5.4,
    linux-image-gkeop-5.4, linux-image-5.4.0-73-generic,
    linux-image-5.4.0-73-generic-lpae, linux-image-gke,
    linux-image-snapdragon-hwe-18.04, linux-image-generic-hwe-18.04,
    linux-image-kvm, linux-azure, linux-image-virtual-hwe-18.04, linux-oracle,
    linux-gke, linux-image-5.4.0-1043-gke, linux-image-5.4.0-1048-aws,
    linux-image-5.4.0-1044-oracle, linux-image-aws, linux-hwe-5.4,
    linux-image-5.4.0-1045-oracle, linux-image-5.4.0-73-lowlatency,
    linux-image-gkeop, linux-image-lowlatency-hwe-18.04, linux-aws-5.4
  o USN-4911-1 : linux-image-5.10.0-1021-oem, linux-oem-5.10,
    linux-image-oem-20.04b
  o USN-4949-1 : linux-image-generic, linux-image-generic-lpae,
    linux-image-raspi-nolpae, linux, linux-kvm, linux-image-virtual,
    linux-image-raspi, linux-image-generic-lpae-hwe-20.04,
    linux-image-5.8.0-1032-azure, linux-image-azure, linux-raspi, linux-aws,
    linux-image-lowlatency, linux-image-oracle, linux-image-gcp,
    linux-image-5.8.0-1024-raspi-nolpae, linux-image-5.8.0-1029-oracle,
    linux-image-5.8.0-1031-gcp, linux-image-5.8.0-53-generic, linux-gcp,
    linux-image-generic-64k-hwe-20.04, linux-image-oem-20.04, linux-image-gke,
    linux-image-virtual-hwe-20.04, linux-image-lowlatency-hwe-20.04,
    linux-image-5.8.0-1027-kvm, linux-image-kvm, linux-azure,
    linux-image-5.8.0-53-generic-lpae, linux-image-5.8.0-1024-raspi,
    linux-hwe-5.8, linux-oracle, linux-image-5.8.0-53-lowlatency,
    linux-image-generic-hwe-20.04, linux-image-aws, linux-image-generic-64k,
    linux-image-5.8.0-53-generic-64k, linux-image-5.8.0-1033-aws
  o USN-4946-1 : linux-image-aws-hwe, linux-image-generic,
    linux-image-generic-lpae, linux-image-oem, linux-image-4.15.0-1114-azure,
    linux, linux-image-4.15.0-1102-snapdragon,
    linux-image-4.15.0-143-lowlatency, linux-kvm, linux-hwe,
    linux-image-dell300x, linux-image-virtual, linux-raspi2,
    linux-image-4.15.0-143-generic-lpae, linux-image-4.15.0-1102-aws,
    linux-dell300x, linux-gcp-4.15, linux-image-oracle-lts-18.04,
    linux-image-4.15.0-1071-oracle, linux-image-azure, linux-aws,
    linux-image-aws-lts-18.04, linux-image-lowlatency, linux-image-gcp,
    linux-image-4.15.0-1099-gcp, linux-image-oracle,
    linux-image-virtual-hwe-16.04, linux-gcp, linux-image-snapdragon,
    linux-image-4.15.0-1085-raspi2, linux-aws-hwe, linux-image-gke,
    linux-image-gcp-lts-18.04, linux-image-raspi2,
    linux-image-lowlatency-hwe-16.04, linux-image-kvm, linux-azure,
    linux-oracle, linux-image-4.15.0-1018-dell300x,
    linux-image-azure-lts-18.04, linux-image-generic-hwe-16.04,
    linux-image-4.15.0-143-generic, linux-image-4.15.0-1091-kvm,
    linux-snapdragon, linux-azure-4.15

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBYJt2WeNLKJtyKPYoAQiRihAAht15K4jPZOhA2tXIZ4vkr3fyWnyLLEi2
PDeGQZu17W7C+gcC+sFT/o7v5Gl20CpM4LmZrUGxo4c7R9/l+B0ZNKwjlIp27+ZD
IeE2fIAD3vSDkwNLbt1QqFDeoPlIijCZeq1HYrK3A+H6axM+kP4d5D3PlBnPEDSU
Mxz2h3GkgHHVxqZKzmDa+CffG4mbfVdU/UQnBYgIakqxpHezOXFcJaeZiQQuxxVx
jEmumZJ+C2akHrGSsLMk5USAjXzYtcu8KQMj1pb/88WeK83p9g2JDp/U5XVYXlzO
tYX+7h64r+vwPrP/b6zop1QE0BQLgjG//qJM+Q/n6O/12un6RqzSAJcoLWywxGtw
4ktjQ4jYhNZV1KZFXgUV49ccozHSQimjSTQKo+yslHla6d6O8DKrExhhXLkIG1CB
zGy1bx1/OXNZgpFWCnloLaHQzx1ZmcbokyuFvmOWB9t0GMLVOK196PPmh34793zG
hMQaf9h6oUbWrdNUX3krZ8cy+mQqbj8oz5k91oImExBCMQuAaZG90M1jplRqMXvp
6N3jGoFb3KvDfS9PrAZZKWy7/bVeY7CNFwpMr2TR/1YcgGlCSljsxN3lv7YsTBTC
jpNgKlH5dsIqSG0klVuHeNu0Fb2+E5i8cv6MCNVD3/Z5qznFA6JHrJ3JWKRiq5ht
CgMJkiEemR0=
=FsKU
-----END PGP SIGNATURE-----