7.8
CWE
119 843 1025
Advisory Published
Updated

CVE-2022-34918: Buffer Overflow

First published: Sat Jul 02 2022(Updated: )

A heap buffer overflow flaw was found in the Linux kernel’s Netfilter subsystem in the way a user provides incorrect input of the NFT_DATA_VERDICT type. This flaw allows a local user to crash or potentially escalate their privileges on the system.

Credit: cve@mitre.org cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/kernel<0:5.14.0-70.26.1.el9_0
0:5.14.0-70.26.1.el9_0
redhat/kernel-rt<0:5.14.0-70.26.1.rt21.98.el9_0
0:5.14.0-70.26.1.rt21.98.el9_0
redhat/Linux kernel<5.19
5.19
Linux Linux kernel>=4.1<4.14.316
Linux Linux kernel>=4.15<4.19.284
Linux Linux kernel>=4.20<5.4.244
Linux Linux kernel>=5.5<5.10.130
Linux Linux kernel>=5.11<5.15.54
Linux Linux kernel>=5.16<5.18.11
Debian Debian Linux=11.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=20.04
Canonical Ubuntu Linux=22.04
Netapp H300s Firmware
Netapp H300s
Netapp H500s Firmware
Netapp H500s
Netapp H700s Firmware
Netapp H700s
Netapp H410s Firmware
Netapp H410s
Netapp H410c Firmware
Netapp H410c
All of
Netapp H300s
Netapp H300s Firmware
All of
Netapp H500s
Netapp H500s Firmware
All of
Netapp H700s
Netapp H700s Firmware
All of
Netapp H410s
Netapp H410s Firmware
All of
Netapp H410c
Netapp H410c Firmware
ubuntu/linux<4.15.0-191.202
4.15.0-191.202
ubuntu/linux<5.4.0-124.140
5.4.0-124.140
ubuntu/linux<5.15.0-43.46
5.15.0-43.46
ubuntu/linux<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux<4.4.0-230.264
4.4.0-230.264
ubuntu/linux-aws<4.15.0-1139.150
4.15.0-1139.150
ubuntu/linux-aws<5.4.0-1083.90
5.4.0-1083.90
ubuntu/linux-aws<5.15.0-1017.21
5.15.0-1017.21
ubuntu/linux-aws<4.4.0-1110.116
4.4.0-1110.116
ubuntu/linux-aws<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-aws<4.4.0-1146.161
4.4.0-1146.161
ubuntu/linux-aws-5.0<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-aws-5.11<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-aws-5.13<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-aws-5.15<5.15.0-1017.21~20.04.1
5.15.0-1017.21~20.04.1
ubuntu/linux-aws-5.15<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-aws-5.3<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-aws-5.4<5.4.0-1083.90~18.04.1
5.4.0-1083.90~18.04.1
ubuntu/linux-aws-5.4<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-aws-5.8<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-aws-6.5<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-aws-fips<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-aws-hwe<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-aws-hwe<4.15.0-1139.150~16.04.1
4.15.0-1139.150~16.04.1
ubuntu/linux-azure<5.4.0-1089.94
5.4.0-1089.94
ubuntu/linux-azure<5.15.0-1017.20
5.15.0-1017.20
ubuntu/linux-azure<4.15.0-1149.164~14.04.1
4.15.0-1149.164~14.04.1
ubuntu/linux-azure<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-azure<4.15.0-1149.164~16.04.1
4.15.0-1149.164~16.04.1
ubuntu/linux-azure-4.15<4.15.0-1149.164
4.15.0-1149.164
ubuntu/linux-azure-4.15<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-azure-5.11<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-azure-5.13<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-azure-5.15<5.15.0-1017.20~20.04.1
5.15.0-1017.20~20.04.1
ubuntu/linux-azure-5.15<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-azure-5.3<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-azure-5.4<5.4.0-1089.94~18.04.1
5.4.0-1089.94~18.04.1
ubuntu/linux-azure-5.4<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-azure-6.5<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-azure-edge<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-azure-fde<5.4.0-1089.94
5.4.0-1089.94
ubuntu/linux-azure-fde<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-azure-fde-5.15<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-azure-fips<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-bluefield<5.4.0-1044.49
5.4.0-1044.49
ubuntu/linux-bluefield<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-dell300x<4.15.0-1051.56
4.15.0-1051.56
ubuntu/linux-dell300x<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-fips<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-gcp<5.4.0-1086.94
5.4.0-1086.94
ubuntu/linux-gcp<5.15.0-1016.21
5.15.0-1016.21
ubuntu/linux-gcp<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-gcp<4.15.0-1134.150~16.04.2
4.15.0-1134.150~16.04.2
ubuntu/linux-gcp-4.15<4.15.0-1134.150
4.15.0-1134.150
ubuntu/linux-gcp-4.15<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-gcp-5.11<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-gcp-5.13<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-gcp-5.15<5.15.0-1016.21~20.04.1
5.15.0-1016.21~20.04.1
ubuntu/linux-gcp-5.15<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-gcp-5.3<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-gcp-5.4<5.4.0-1086.94~18.04.1
5.4.0-1086.94~18.04.1
ubuntu/linux-gcp-5.8<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-gcp-6.5<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-gcp-fips<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-gke<5.4.0-1080.86
5.4.0-1080.86
ubuntu/linux-gke<5.15.0-1014.17
5.15.0-1014.17
ubuntu/linux-gke<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-gke-4.15<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-gke-5.0<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-gke-5.15<5.15.0-1014.17~20.04.1
5.15.0-1014.17~20.04.1
ubuntu/linux-gke-5.15<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-gke-5.3<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-gke-5.4<5.4.0-1080.86~18.04.1
5.4.0-1080.86~18.04.1
ubuntu/linux-gke-5.4<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-gkeop<5.4.0-1051.54
5.4.0-1051.54
ubuntu/linux-gkeop<5.15.0-1002.4
5.15.0-1002.4
ubuntu/linux-gkeop<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-gkeop-5.15<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-gkeop-5.4<5.4.0-1051.54~18.04.1
5.4.0-1051.54~18.04.1
ubuntu/linux-gkeop-5.4<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-hwe<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-hwe<4.15.0-191.202~16.04.1
4.15.0-191.202~16.04.1
ubuntu/linux-hwe-5.11<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-hwe-5.13<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-hwe-5.15<5.15.0-43.46~20.04.1
5.15.0-43.46~20.04.1
ubuntu/linux-hwe-5.15<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-hwe-5.4<5.4.0-124.140~18.04.1
5.4.0-124.140~18.04.1
ubuntu/linux-hwe-5.4<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-hwe-5.8<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-hwe-6.5<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-hwe-edge<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-ibm<5.4.0-1031.35
5.4.0-1031.35
ubuntu/linux-ibm<5.15.0-1012.14
5.15.0-1012.14
ubuntu/linux-ibm<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-ibm-5.15<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-ibm-5.4<5.4.0-1031.35~18.04.1
5.4.0-1031.35~18.04.1
ubuntu/linux-ibm-5.4<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-intel<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-intel-5.13<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-intel-iotg<5.15.0-1013.17
5.15.0-1013.17
ubuntu/linux-intel-iotg<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-intel-iotg-5.15<5.15.0-1015.20~20.04.2
5.15.0-1015.20~20.04.2
ubuntu/linux-intel-iotg-5.15<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-iot<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-kvm<4.15.0-1125.130
4.15.0-1125.130
ubuntu/linux-kvm<5.4.0-1073.78
5.4.0-1073.78
ubuntu/linux-kvm<5.15.0-1016.19
5.15.0-1016.19
ubuntu/linux-kvm<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-kvm<4.4.0-1111.121
4.4.0-1111.121
ubuntu/linux-laptop<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-lowlatency<5.15.0-43.46
5.15.0-43.46
ubuntu/linux-lowlatency<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-lowlatency-hwe-5.15<5.15.0-43.46~20.04.1
5.15.0-43.46~20.04.1
ubuntu/linux-lowlatency-hwe-5.15<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-lowlatency-hwe-6.5<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-lts-xenial<4.4.0-230.264~14.04.1
4.4.0-230.264~14.04.1
ubuntu/linux-lts-xenial<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-nvidia<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-nvidia-6.5<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-oem<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-oem-5.10<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-oem-5.13<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-oem-5.14<5.14.0-1046.53
5.14.0-1046.53
ubuntu/linux-oem-5.17<5.17.0-1014.15
5.17.0-1014.15
ubuntu/linux-oem-5.17<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-oem-5.6<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-oem-6.0<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-oem-6.5<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-oem-6.8<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-oem-osp1<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-oracle<4.15.0-1104.115
4.15.0-1104.115
ubuntu/linux-oracle<5.4.0-1081.89
5.4.0-1081.89
ubuntu/linux-oracle<5.15.0-1016.20
5.15.0-1016.20
ubuntu/linux-oracle<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-oracle<4.15.0-1104.115~16.04.1
4.15.0-1104.115~16.04.1
ubuntu/linux-oracle-5.0<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-oracle-5.11<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-oracle-5.13<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-oracle-5.15<5.15.0-1016.20~20.04.1
5.15.0-1016.20~20.04.1
ubuntu/linux-oracle-5.15<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-oracle-5.3<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-oracle-5.4<5.4.0-1081.89~18.04.1
5.4.0-1081.89~18.04.1
ubuntu/linux-oracle-6.5<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-raspi<5.4.0-1068.78
5.4.0-1068.78
ubuntu/linux-raspi<5.15.0-1013.15
5.15.0-1013.15
ubuntu/linux-raspi<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-raspi-5.4<5.4.0-1068.78~18.04.1
5.4.0-1068.78~18.04.1
ubuntu/linux-raspi-5.4<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-raspi2<4.15.0-1117.125
4.15.0-1117.125
ubuntu/linux-raspi2<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-raspi2-5.3<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-riscv<5.15.0-1016.18
5.15.0-1016.18
ubuntu/linux-riscv<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-riscv-5.11<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-riscv-5.15<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-riscv-5.8<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-riscv-6.5<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-snapdragon<4.15.0-1135.145
4.15.0-1135.145
ubuntu/linux-snapdragon<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-starfive<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-starfive-6.5<5.19~<5.15.54
5.19~
5.15.54
ubuntu/linux-xilinx-zynqmp<5.19~<5.15.54
5.19~
5.15.54
debian/linux
5.10.218-1
6.1.94-1
6.1.90-1
6.9.8-1
6.9.9-1

Remedy

In order to trigger the issue, it requires the ability to create user/net namespaces. On non-containerized deployments of Red Hat Enterprise Linux, you can disable user namespaces by setting user.max_user_namespaces to 0: # echo "user.max_user_namespaces=0" > /etc/sysctl.d/userns.conf # sysctl -p /etc/sysctl.d/userns.conf On containerized deployments, such as Red Hat OpenShift Container Platform, do not use this mitigation as the functionality is needed to be enabled.

Remedy

Unprivileged user namespaces can be disabled via: sudo sysctl kernel.unprivileged_userns_clone=0 This will affect browser sandboxing, container runtimes, etc. so may not be appropriate for all environments.

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.

Reference Links

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