CWE
119
Advisory Published
CVE Published
Updated

CVE-2021-4157: Buffer Overflow

First published: Mon May 17 2021(Updated: )

A flaw was found in the Linux kernel. A incorrect size check in decode_nfs_fh() may lead to an overwrite of 2 bytes beyond destination. References: <a href="https://lore.kernel.org/lkml/20210517140244.822185482@linuxfoundation.org/">https://lore.kernel.org/lkml/20210517140244.822185482@linuxfoundation.org/</a>

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/kernel-rt<0:4.18.0-372.9.1.rt7.166.el8
0:4.18.0-372.9.1.rt7.166.el8
redhat/kernel<0:4.18.0-372.9.1.el8
0:4.18.0-372.9.1.el8
redhat/kernel<5.13
5.13
Linux Linux kernel>=4.0<4.4.269
Linux Linux kernel>=4.5<4.9.269
Linux Linux kernel>=4.10<4.14.233
Linux Linux kernel>=4.15<4.19.191
Linux Linux kernel>=4.20<5.4.120
Linux Linux kernel>=5.5<5.10.38
Linux Linux kernel>=5.11<5.11.22
Linux Linux kernel>=5.12<5.12.5
Fedoraproject Fedora=35
All of
Netapp H300e Firmware
Netapp H300e
All of
Netapp H300s Firmware
Netapp H300s
All of
Netapp H500e Firmware
Netapp H500e
All of
Netapp H500s Firmware
Netapp H500s
All of
Netapp H700e Firmware
Netapp H700e
All of
Netapp H700s Firmware
Netapp H700s
All of
Netapp H410s Firmware
Netapp H410s
Oracle Communications Cloud Native Core Binding Support Function=22.1.1
Oracle Communications Cloud Native Core Binding Support Function=22.1.3
Oracle Communications Cloud Native Core Binding Support Function=22.2.0
Netapp H300e Firmware
Netapp H300e
Netapp H300s Firmware
Netapp H300s
Netapp H500e Firmware
Netapp H500e
Netapp H500s Firmware
Netapp H500s
Netapp H700e Firmware
Netapp H700e
Netapp H700s Firmware
Netapp H700s
Netapp H410s Firmware
Netapp H410s
ubuntu/linux<4.15.0-151.157
4.15.0-151.157
ubuntu/linux<5.4.0-80.90
5.4.0-80.90
ubuntu/linux<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux<4.4.0-224.257
4.4.0-224.257
ubuntu/linux-aws<4.15.0-1109.116
4.15.0-1109.116
ubuntu/linux-aws<5.4.0-1054.57
5.4.0-1054.57
ubuntu/linux-aws<4.4.0-1104.109
4.4.0-1104.109
ubuntu/linux-aws<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-aws<4.4.0-1140.154
4.4.0-1140.154
ubuntu/linux-aws-5.0<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-aws-5.11<5.11.0-1014.15~20.04.1
5.11.0-1014.15~20.04.1
ubuntu/linux-aws-5.11<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-aws-5.13<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-aws-5.15<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-aws-5.3<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-aws-5.4<5.4.0-1054.57~18.04.1
5.4.0-1054.57~18.04.1
ubuntu/linux-aws-5.4<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-aws-5.8<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-aws-6.5<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-aws-fips<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-aws-hwe<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-aws-hwe<4.15.0-1109.116~16.04.1
4.15.0-1109.116~16.04.1
ubuntu/linux-azure<5.4.0-1055.57
5.4.0-1055.57
ubuntu/linux-azure<4.15.0-1121.134~14.04.1
4.15.0-1121.134~14.04.1
ubuntu/linux-azure<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-azure<4.15.0-1121.134~16.04.1
4.15.0-1121.134~16.04.1
ubuntu/linux-azure-4.15<4.15.0-1121.134
4.15.0-1121.134
ubuntu/linux-azure-4.15<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-azure-5.11<5.11.0-1012.13~20.04.1
5.11.0-1012.13~20.04.1
ubuntu/linux-azure-5.11<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-azure-5.13<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-azure-5.15<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-azure-5.3<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-azure-5.4<5.4.0-1055.57~18.04.1
5.4.0-1055.57~18.04.1
ubuntu/linux-azure-5.4<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-azure-6.5<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-azure-edge<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-azure-fde<5.4.0-1055.57
5.4.0-1055.57
ubuntu/linux-azure-fde<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-azure-fde-5.15<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-azure-fips<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-bluefield<5.4.0-1016.19
5.4.0-1016.19
ubuntu/linux-bluefield<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-dell300x<4.15.0-1027.32
4.15.0-1027.32
ubuntu/linux-dell300x<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-fips<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-gcp<5.4.0-1049.53
5.4.0-1049.53
ubuntu/linux-gcp<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-gcp<4.15.0-1106.120~16.04.1
4.15.0-1106.120~16.04.1
ubuntu/linux-gcp-4.15<4.15.0-1106.120
4.15.0-1106.120
ubuntu/linux-gcp-4.15<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-gcp-5.11<5.11.0-1014.16~20.04.1
5.11.0-1014.16~20.04.1
ubuntu/linux-gcp-5.11<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-gcp-5.13<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-gcp-5.15<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-gcp-5.3<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-gcp-5.4<5.4.0-1049.53~18.04.1
5.4.0-1049.53~18.04.1
ubuntu/linux-gcp-5.8<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-gcp-6.5<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-gcp-fips<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-gke<5.4.0-1049.52
5.4.0-1049.52
ubuntu/linux-gke<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-gke-4.15<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-gke-5.0<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-gke-5.15<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-gke-5.3<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-gke-5.4<5.4.0-1049.52~18.04.1
5.4.0-1049.52~18.04.1
ubuntu/linux-gke-5.4<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-gkeop<5.4.0-1021.22
5.4.0-1021.22
ubuntu/linux-gkeop<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-gkeop-5.15<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-gkeop-5.4<5.4.0-1021.22~18.04.1
5.4.0-1021.22~18.04.1
ubuntu/linux-gkeop-5.4<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-hwe<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-hwe<4.15.0-151.157~16.04.1
4.15.0-151.157~16.04.1
ubuntu/linux-hwe-5.11<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-hwe-5.13<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-hwe-5.15<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-hwe-5.4<5.4.0-80.90~18.04.1
5.4.0-80.90~18.04.1
ubuntu/linux-hwe-5.4<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-hwe-5.8<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-hwe-6.5<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-hwe-edge<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-ibm<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-ibm-5.15<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-ibm-5.4<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-intel<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-intel-5.13<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-intel-iotg<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-intel-iotg-5.15<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-iot<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-kvm<4.15.0-1097.99
4.15.0-1097.99
ubuntu/linux-kvm<5.4.0-1044.46
5.4.0-1044.46
ubuntu/linux-kvm<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-kvm<4.4.0-1105.114
4.4.0-1105.114
ubuntu/linux-laptop<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-lowlatency<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-lowlatency-hwe-5.15<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-lowlatency-hwe-6.5<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-lts-xenial<4.4.0-224.257~14.04.1
4.4.0-224.257~14.04.1
ubuntu/linux-lts-xenial<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-nvidia<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-nvidia-6.5<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-nvidia-6.8<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-nvidia-lowlatency<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-oem<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-oem-5.10<5.10.0-1032.33
5.10.0-1032.33
ubuntu/linux-oem-5.10<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-oem-5.13<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-oem-5.17<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-oem-5.6<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-oem-6.5<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-oem-6.8<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-oem-osp1<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-oracle<4.15.0-1078.86
4.15.0-1078.86
ubuntu/linux-oracle<5.4.0-1052.56
5.4.0-1052.56
ubuntu/linux-oracle<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-oracle<4.15.0-1078.86~16.04.1
4.15.0-1078.86~16.04.1
ubuntu/linux-oracle-5.0<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-oracle-5.11<5.11.0-1013.14~20.04.1
5.11.0-1013.14~20.04.1
ubuntu/linux-oracle-5.11<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-oracle-5.13<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-oracle-5.15<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-oracle-5.3<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-oracle-5.4<5.4.0-1052.56~18.04.1
5.4.0-1052.56~18.04.1
ubuntu/linux-oracle-6.5<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-raspi<5.4.0-1041.45
5.4.0-1041.45
ubuntu/linux-raspi<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-raspi-5.4<5.4.0-1041.45~18.04.1
5.4.0-1041.45~18.04.1
ubuntu/linux-raspi-5.4<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-raspi2<4.15.0-1092.98
4.15.0-1092.98
ubuntu/linux-raspi2<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-raspi2-5.3<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-riscv<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-riscv-5.11<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-riscv-5.15<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-riscv-5.8<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-riscv-6.5<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-snapdragon<4.15.0-1109.118
4.15.0-1109.118
ubuntu/linux-snapdragon<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-starfive<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-starfive-6.5<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
ubuntu/linux-xilinx-zynqmp<5.13~<4.4.269<5.4.120
5.13~
4.4.269
5.4.120
debian/linux
5.10.218-1
5.10.221-1
6.1.94-1
6.1.99-1
6.9.12-1
6.10.3-1

Remedy

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203