CVE-2022-32250: Use After Free

Published May 31, 2022
·
Updated

A use-after-free vulnerability was found in the Linux kernel's Netfilter subsystem in net/netfilter/nftablesapi.c. This flaw allows a local attacker with user access to cause a privilege escalation issue.

Other sources

A use-after-free write vulnerability was identified within the netfilter subsystem which can be exploited to achieve privilege escalation to root. In order to trigger the issue it requires the ability to create user/net namespaces.

Reference:

https://www.openwall.com/lists/oss-security/2022/05/31/1

Red Hat

net/netfilter/nftablesapi.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 NFTSTATEFULEXPR check leads to a use-after-free.

Affected Software

42 affected componentsFixes available
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-24.19.289-25.10.197-15.10.205-26.1.66-16.1.69-16.5.13-16.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
F5 F5OS-A>=1.3.0<=1.3.2
1.4.0
F5 F5OS-C>=1.5.0<=1.5.1, >=1.3.0<=1.3.2
1.6.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-1160.71.1.rt56.1212.el7
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-1160.71.1.el7
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-514.104.1.el7
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-693.104.1.el7
  5. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-957.95.1.el7
  6. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-1062.68.1.el7
  7. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-372.19.1.rt7.176.el8_6
  8. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-372.19.1.el8_6
  9. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-147.70.1.el8_1
  10. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-193.87.1.rt13.137.el8_2
  11. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-193.87.1.el8_2
  12. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-305.57.1.rt7.129.el8_4
  13. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-305.57.1.el8_4
  14. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:5.14.0-70.17.1.el9_0
  15. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:5.14.0-70.17.1.rt21.89.el9_0
  16. Upgrade

    Upgrade redhat/redhat-virtualization-host to a version that resolves this vulnerability.

    Fixed in 0:4.3.23-20220622.0.el7_9
  17. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 4.19.249-2Fixed in 4.19.289-2Fixed in 5.10.197-1Fixed in 5.10.205-2Fixed in 6.1.66-1Fixed in 6.1.69-1Fixed in 6.5.13-1Fixed in 6.6.9-1
  18. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.4.0
  19. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.6.0
  20. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.19
  21. Configuration

    On non-containerized deployments of Red Hat Enterprise Linux 8, disable user namespaces by setting user.max_user_namespaces to 0 (e.g., write "user.max_user_namespaces=0" to /etc/sysctl.d/userns.conf and apply with sysctl -p /etc/sysctl.d/userns.conf). Do not apply this mitigation on containerized deployments (e.g., Red Hat OpenShift Container Platform) where user namespaces must remain enabled.

    Linux kernel (sysctl) user.max_user_namespaces = 0

Event History

May 31, 2022
CVE Published
12:00 AM
Jun 1, 2022
Data Sourced
via Red Hat·02:09 PM
DescriptionSeverityAffected Software
Jun 2, 2022
CVE Published
via MITRE·08:51 PM
Data Sourced
via MITRE·08:51 PM
Description
Apr 11, 2023
Advisory Published
via F5·04:29 PM
Data Sourced
via F5·04:29 PM
DescriptionSeverityWeaknessAffected Software

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203