First published: Tue May 31 2022(Updated: )
net/netfilter/nf_tables_api.c in the Linux kernel through 5.18.1 allows a local user (able to create user/net namespaces) to escalate privileges to root because an incorrect NFT_STATEFUL_EXPR check leads to a use-after-free.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/kernel-rt | <0:3.10.0-1160.71.1.rt56.1212.el7 | 0:3.10.0-1160.71.1.rt56.1212.el7 |
redhat/kernel | <0:3.10.0-1160.71.1.el7 | 0:3.10.0-1160.71.1.el7 |
redhat/kernel | <0:3.10.0-514.104.1.el7 | 0:3.10.0-514.104.1.el7 |
redhat/kernel | <0:3.10.0-693.104.1.el7 | 0:3.10.0-693.104.1.el7 |
redhat/kernel | <0:3.10.0-957.95.1.el7 | 0:3.10.0-957.95.1.el7 |
redhat/kernel | <0:3.10.0-1062.68.1.el7 | 0:3.10.0-1062.68.1.el7 |
redhat/kernel-rt | <0:4.18.0-372.19.1.rt7.176.el8_6 | 0:4.18.0-372.19.1.rt7.176.el8_6 |
redhat/kernel | <0:4.18.0-372.19.1.el8_6 | 0:4.18.0-372.19.1.el8_6 |
redhat/kernel | <0:4.18.0-147.70.1.el8_1 | 0:4.18.0-147.70.1.el8_1 |
redhat/kernel-rt | <0:4.18.0-193.87.1.rt13.137.el8_2 | 0:4.18.0-193.87.1.rt13.137.el8_2 |
redhat/kernel | <0:4.18.0-193.87.1.el8_2 | 0:4.18.0-193.87.1.el8_2 |
redhat/kernel-rt | <0:4.18.0-305.57.1.rt7.129.el8_4 | 0:4.18.0-305.57.1.rt7.129.el8_4 |
redhat/kernel | <0:4.18.0-305.57.1.el8_4 | 0:4.18.0-305.57.1.el8_4 |
redhat/kernel | <0:5.14.0-70.17.1.el9_0 | 0:5.14.0-70.17.1.el9_0 |
redhat/kernel-rt | <0:5.14.0-70.17.1.rt21.89.el9_0 | 0:5.14.0-70.17.1.rt21.89.el9_0 |
redhat/redhat-virtualization-host | <0:4.3.23-20220622.0.el7_9 | 0:4.3.23-20220622.0.el7_9 |
debian/linux | 4.19.249-2 4.19.289-2 5.10.197-1 5.10.205-2 6.1.66-1 6.1.69-1 6.5.13-1 6.6.9-1 | |
redhat/kernel | <5.19 | 5.19 |
Linux Linux kernel | >=4.1<4.9.318 | |
Linux Linux kernel | >=4.10<4.14.283 | |
Linux Linux kernel | >=4.15<4.19.247 | |
Linux Linux kernel | >=4.20<5.4.198 | |
Linux Linux kernel | >=5.5<5.10.120 | |
Linux Linux kernel | >=5.11<5.15.45 | |
Linux Linux kernel | >=5.16<5.17.13 | |
Linux Linux kernel | >=5.18<5.18.2 | |
Fedoraproject Fedora | =35 | |
Fedoraproject Fedora | =36 | |
Debian Debian Linux | =9.0 | |
Debian Debian Linux | =10.0 | |
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 |
In order to trigger the issue, it requires the ability to create user/net namespaces. On non-containerized deployments of Red Hat Enterprise Linux 8, 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.
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Appears in the following advisories)