7.8
CWE
269 787
Advisory Published
CVE Published
Updated

CVE-2022-25636

First published: Tue Feb 22 2022(Updated: )

An out-of-bounds (OOB) memory access flaw was found in nft_fwd_dup_netdev_offload in net/netfilter/nf_dup_netdev.c in netfilter subcomponent in the Linux kernel due to a heap out of bounds write problem. In this flaw, an attacker with a user account on the system to gain access to out-of-bounds memory leads to a system crash or a privilege escalation threat. Reference: <a href="https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git/commit/?id=b1a5983f56e371046dcf164f90bfaf704d2b89f6">https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git/commit/?id=b1a5983f56e371046dcf164f90bfaf704d2b89f6</a> <a href="https://www.openwall.com/lists/oss-security/2022/02/21/2">https://www.openwall.com/lists/oss-security/2022/02/21/2</a>

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

Affected SoftwareAffected VersionHow to fix
redhat/kernel-rt<0:4.18.0-348.23.1.rt7.153.el8_5
0:4.18.0-348.23.1.rt7.153.el8_5
redhat/kernel<0:4.18.0-348.23.1.el8_5
0:4.18.0-348.23.1.el8_5
redhat/kernel-rt<0:4.18.0-305.45.1.rt7.117.el8_4
0:4.18.0-305.45.1.rt7.117.el8_4
redhat/kernel<0:4.18.0-305.45.1.el8_4
0:4.18.0-305.45.1.el8_4
Linux Linux kernel>=5.4<5.4.182
Linux Linux kernel>=5.5<5.10.103
Linux Linux kernel>=5.11<5.15.26
Linux Linux kernel>=5.16<5.16.12
Debian Debian Linux=11.0
Netapp Baseboard Management Controller H300e
Netapp Baseboard Management Controller H300s
Netapp Baseboard Management Controller H410c
Netapp Baseboard Management Controller H410s
Netapp Baseboard Management Controller H500e
Netapp Baseboard Management Controller H500s
Netapp Baseboard Management Controller H700e
Netapp Baseboard Management Controller H700s
Oracle Communications Cloud Native Core Binding Support Function=22.1.3
Oracle Communications Cloud Native Core Network Exposure Function=22.1.1
Oracle Communications Cloud Native Core Policy=22.2.0
Netapp H300e
Netapp H300s
Netapp H410c
Netapp H410s
Netapp H500e
Netapp H500s
Netapp H700e
Netapp H700s
ubuntu/linux<5.4.0-104.118
5.4.0-104.118
ubuntu/linux<5.13.0-35.40
5.13.0-35.40
ubuntu/linux<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-aws<5.4.0-1068.72
5.4.0-1068.72
ubuntu/linux-aws<5.13.0-1017.19
5.13.0-1017.19
ubuntu/linux-aws<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-aws-5.0<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-aws-5.11<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-aws-5.13<5.13.0-1017.19~20.04.1
5.13.0-1017.19~20.04.1
ubuntu/linux-aws-5.13<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-aws-5.15<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-aws-5.3<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-aws-5.4<5.4.0-1068.72~18.04.1
5.4.0-1068.72~18.04.1
ubuntu/linux-aws-5.4<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-aws-5.8<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-aws-6.5<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-aws-fips<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-aws-hwe<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-azure<5.4.0-1072.75
5.4.0-1072.75
ubuntu/linux-azure<5.13.0-1017.19
5.13.0-1017.19
ubuntu/linux-azure<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-azure-4.15<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-azure-5.11<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-azure-5.13<5.13.0-1017.19~20.04.1
5.13.0-1017.19~20.04.1
ubuntu/linux-azure-5.13<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-azure-5.15<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-azure-5.3<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-azure-5.4<5.4.0-1072.75~18.04.1
5.4.0-1072.75~18.04.1
ubuntu/linux-azure-5.4<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-azure-6.5<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-azure-edge<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-azure-fde<5.4.0-1072.75
5.4.0-1072.75
ubuntu/linux-azure-fde<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-azure-fde-5.15<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-azure-fips<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-bluefield<5.4.0-1030.33
5.4.0-1030.33
ubuntu/linux-bluefield<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-dell300x<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-fips<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-gcp<5.4.0-1067.71
5.4.0-1067.71
ubuntu/linux-gcp<5.13.0-1019.23
5.13.0-1019.23
ubuntu/linux-gcp<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-gcp-4.15<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-gcp-5.11<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-gcp-5.13<5.13.0-1019.23~20.04.1
5.13.0-1019.23~20.04.1
ubuntu/linux-gcp-5.13<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-gcp-5.15<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-gcp-5.3<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-gcp-5.4<5.4.0-1067.71~18.04.1
5.4.0-1067.71~18.04.1
ubuntu/linux-gcp-5.8<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-gcp-6.5<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-gcp-fips<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-gke<5.4.0-1065.68
5.4.0-1065.68
ubuntu/linux-gke<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-gke-4.15<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-gke-5.0<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-gke-5.3<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-gke-5.4<5.4.0-1065.68~18.04.1
5.4.0-1065.68~18.04.1
ubuntu/linux-gke-5.4<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-gkeop<5.4.0-1036.37
5.4.0-1036.37
ubuntu/linux-gkeop<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-gkeop-5.15<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-gkeop-5.4<5.4.0-1036.37~18.04.1
5.4.0-1036.37~18.04.1
ubuntu/linux-gkeop-5.4<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-hwe<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-hwe-5.11<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-hwe-5.13<5.13.0-35.40~20.04.1
5.13.0-35.40~20.04.1
ubuntu/linux-hwe-5.13<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-hwe-5.15<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-hwe-5.4<5.4.0-104.118~18.04.1
5.4.0-104.118~18.04.1
ubuntu/linux-hwe-5.4<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-hwe-5.8<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-hwe-6.5<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-hwe-edge<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-ibm<5.4.0-1017.19
5.4.0-1017.19
ubuntu/linux-ibm<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-ibm-5.15<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-ibm-5.4<5.4.0-1017.19~18.04.1
5.4.0-1017.19~18.04.1
ubuntu/linux-ibm-5.4<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-intel<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-intel-5.13<5.13.0-1010.10
5.13.0-1010.10
ubuntu/linux-intel-5.13<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-intel-iotg<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-intel-iotg-5.15<5.15.0-1008.11~20.04.1
5.15.0-1008.11~20.04.1
ubuntu/linux-intel-iotg-5.15<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-iot<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-kvm<5.4.0-1058.61
5.4.0-1058.61
ubuntu/linux-kvm<5.13.0-1016.17
5.13.0-1016.17
ubuntu/linux-kvm<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-laptop<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-lowlatency<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-lowlatency-hwe-5.15<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-lowlatency-hwe-6.5<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-lts-xenial<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-nvidia<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-nvidia-6.5<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-oem<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-oem-5.10<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-oem-5.13<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-oem-5.14<5.14.0-1027.30
5.14.0-1027.30
ubuntu/linux-oem-5.17<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-oem-5.6<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-oem-6.5<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-oem-6.8<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-oem-osp1<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-oracle<5.4.0-1066.71
5.4.0-1066.71
ubuntu/linux-oracle<5.13.0-1021.26
5.13.0-1021.26
ubuntu/linux-oracle<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-oracle-5.0<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-oracle-5.11<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-oracle-5.13<5.13.0-1021.26~20.04.1
5.13.0-1021.26~20.04.1
ubuntu/linux-oracle-5.13<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-oracle-5.15<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-oracle-5.3<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-oracle-5.4<5.4.0-1066.71~18.04.1
5.4.0-1066.71~18.04.1
ubuntu/linux-oracle-6.5<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-raspi<5.4.0-1055.62
5.4.0-1055.62
ubuntu/linux-raspi<5.13.0-1020.22
5.13.0-1020.22
ubuntu/linux-raspi<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-raspi-5.4<5.4.0-1055.62~18.04.1
5.4.0-1055.62~18.04.1
ubuntu/linux-raspi-5.4<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-raspi2<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-raspi2-5.3<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-riscv<5.13.0-1015.17
5.13.0-1015.17
ubuntu/linux-riscv<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-riscv-5.11<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-riscv-5.15<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-riscv-5.8<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-riscv-6.5<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-snapdragon<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-starfive<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-starfive-6.5<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
ubuntu/linux-xilinx-zynqmp<5.17~<5.4.182<5.15.26
5.17~
5.4.182
5.15.26
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

The mitigation for the Red Hat Enterprise Linux 8 is to disable for unprivileged user possibilities of running unshare(CLONE_NEWUSER) or unshare(CLONE_NEWNET) that could be done with the next command: echo 0 > /proc/sys/user/max_user_namespaces For making this change in configuration permanent. Note: User namespaces are used primarily for Linux containers. If containers are in use, this requirement is not applicable. Configure RHEL 8 to disable the use of user namespaces by adding the following line to a file in the "/etc/sysctl.d/" directory: user.max_user_namespaces = 0 The system configuration files need to be reloaded for the changes to take effect. To reload the contents of the files, run the following command: $ sudo sysctl --system The other mitigation for containers, if without disabling user namespaces, is blocking the pertinent syscalls in a seccomp policy file. For more information about seccomp, please read: https://www.openshift.com/blog/seccomp-for-fun-and-profit

Remedy

Disable unprivileged user namespaces to restrict access to privileged users (have CAP_NET_ADMIN) via the kernel.unprivileged_userns_clone sysctl: $ sudo sysctl kernel.unprivileged_userns_clone=0

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