Out-of-bounds read in Linux kernel - CVE-2021-38201

 

Out-of-bounds read in Linux kernel - CVE-2021-38201

Published: October 7, 2021


Vulnerability identifier: #VU57137
CSH Severity: Low
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-38201
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error within the net/sunrpc/xdr.c in the Linux kernel. A remote user can perform multiple NFS 4.2 READ_PLUS operations and cause a denial of service attack.

Affected software

Linux kernel
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux for Real Time for NFV
Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support
Red Hat CodeReady Linux Builder for ARM 64 - Extended Update Support
Red Hat CodeReady Linux Builder for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Real Time - Telecommunications Update Service
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Ubuntu
Red Hat Container Native Virtualization
OpenShift Virtualization
kernel (Red Hat package)
kernel-rt (Red Hat package)
linux-image-generic-lpae (Ubuntu package)
linux-image-generic-64k (Ubuntu package)
linux-image-lowlatency (Ubuntu package)
linux-image-oem-20.04 (Ubuntu package)
linux-image-virtual (Ubuntu package)
linux-image-generic (Ubuntu package)
linux-image-5.11.0-37-generic (Ubuntu package)
linux-image-5.11.0-37-generic-lpae (Ubuntu package)
linux-image-5.11.0-37-generic-64k (Ubuntu package)
linux-image-5.11.0-37-lowlatency (Ubuntu package)
linux-image-lowlatency-hwe-20.04 (Ubuntu package)
linux-image-generic-64k-hwe-20.04 (Ubuntu package)
linux-image-virtual-hwe-20.04 (Ubuntu package)
linux-image-generic-hwe-20.04 (Ubuntu package)
linux-image-generic-lpae-hwe-20.04 (Ubuntu package)
linux-image-azure (Ubuntu package)
linux-image-kvm (Ubuntu package)
linux-image-5.11.0-1017-kvm (Ubuntu package)
linux-image-5.11.0-1017-azure (Ubuntu package)
linux-image-azure-edge (Ubuntu package)
linux-image-raspi-nolpae (Ubuntu package)
linux-image-raspi (Ubuntu package)
linux-image-5.11.0-1019-raspi (Ubuntu package)
linux-image-5.11.0-1019-raspi-nolpae (Ubuntu package)
linux-image-5.11.0-1019-azure (Ubuntu package)
linux-image-5.11.0-1019-oracle (Ubuntu package)
linux-image-5.11.0-1019-aws (Ubuntu package)
linux-image-oracle (Ubuntu package)
linux-image-aws (Ubuntu package)
linux-image-gke (Ubuntu package)
linux-image-gcp (Ubuntu package)
linux-image-5.11.0-1020-gcp (Ubuntu package)
linux-image-oem-20.04c (Ubuntu package)
linux-image-5.13.0-1014-oem (Ubuntu package)
IBM Spectrum Protect Plus

How to mitigate CVE-2021-38201

Install updates from vendor's website.

Linux kernel - update to 5.13.4
OpenShift Virtualization - addressed in versions 2.6.7, 4.8.2
kernel (Red Hat package) - update to 4.18.0-305.17.1.el8_4
kernel-rt (Red Hat package) - update to 4.18.0-305.17.1.rt7.89.el8_4
linux-image-generic-lpae (Ubuntu package) - update to 5.11.0.37.39
linux-image-generic-64k (Ubuntu package) - update to 5.11.0.37.39
linux-image-lowlatency (Ubuntu package) - update to 5.11.0.37.39
linux-image-oem-20.04 (Ubuntu package) - update to 5.11.0.37.39
linux-image-virtual (Ubuntu package) - update to 5.11.0.37.39
linux-image-generic (Ubuntu package) - update to 5.11.0.37.39
linux-image-5.11.0-37-generic (Ubuntu package) - update to 5.11.0-37.41~20.04.2
linux-image-5.11.0-37-generic-lpae (Ubuntu package) - update to 5.11.0-37.41~20.04.2
linux-image-5.11.0-37-generic-64k (Ubuntu package) - update to 5.11.0-37.41~20.04.2
linux-image-5.11.0-37-lowlatency (Ubuntu package) - update to 5.11.0-37.41~20.04.2
linux-image-lowlatency-hwe-20.04 (Ubuntu package) - update to 5.11.0.37.41~20.04.16
linux-image-generic-64k-hwe-20.04 (Ubuntu package) - update to 5.11.0.37.41~20.04.16
linux-image-virtual-hwe-20.04 (Ubuntu package) - update to 5.11.0.37.41~20.04.16
linux-image-generic-hwe-20.04 (Ubuntu package) - update to 5.11.0.37.41~20.04.16
linux-image-generic-lpae-hwe-20.04 (Ubuntu package) - update to 5.11.0.37.41~20.04.16
linux-image-azure (Ubuntu package) - addressed in versions 5.11.0.1017.18, 5.11.0.1019.20
linux-image-kvm (Ubuntu package) - update to 5.11.0.1017.18
linux-image-5.11.0-1017-kvm (Ubuntu package) - update to 5.11.0-1017.18
linux-image-5.11.0-1017-azure (Ubuntu package) - update to 5.11.0-1017.18~20.04.1
linux-image-azure-edge (Ubuntu package) - addressed in versions 5.11.0.1017.18~20.04.16, 5.11.0.1019.20~20.04.18
linux-image-raspi-nolpae (Ubuntu package) - update to 5.11.0.1019.17
linux-image-raspi (Ubuntu package) - update to 5.11.0.1019.17
linux-image-5.11.0-1019-raspi (Ubuntu package) - update to 5.11.0-1019.20
linux-image-5.11.0-1019-raspi-nolpae (Ubuntu package) - update to 5.11.0-1019.20
linux-image-5.11.0-1019-azure (Ubuntu package) - update to 5.11.0-1019.20~20.04.1
linux-image-5.11.0-1019-oracle (Ubuntu package) - update to 5.11.0-1019.20~20.04.1
linux-image-5.11.0-1019-aws (Ubuntu package) - update to 5.11.0-1019.20~20.04.1
linux-image-oracle (Ubuntu package) - update to 5.11.0.1019.20~20.04.12
linux-image-aws (Ubuntu package) - update to 5.11.0.1019.20~20.04.18
linux-image-gke (Ubuntu package) - update to 5.11.0.1020.20
linux-image-gcp (Ubuntu package) - update to 5.11.0.1020.20
linux-image-5.11.0-1020-gcp (Ubuntu package) - update to 5.11.0-1020.22
linux-image-oem-20.04c (Ubuntu package) - update to 5.13.0.1014.18
linux-image-5.13.0-1014-oem (Ubuntu package) - update to 5.13.0-1014.18
IBM Spectrum Protect Plus - update to 10.1.11

External References

Related Security Bulletins