7.8
CWE
416
Advisory Published
CVE Published
Updated

CVE-2022-32250: Use After Free

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 SoftwareAffected VersionHow 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

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 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.

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