CVE-2022-1016: Use After Free

Published Mar 22, 2022
·
Updated

A flaw was found in the Linux kernel in net/netfilter/nftablescore.c:nftdochain, which can cause a use-after-free. This issue needs to handle 'return' with proper preconditions, as it can lead to a kernel information leak problem caused by a local, unprivileged attacker.

Other sources

Uninitialized registers on stack in nftdochain can cause kernel pointer leakage to uninitialized memory.

Red Hat

Affected Software

12 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-425.3.1.rt7.213.el8
0:4.18.0-425.3.1.rt7.213.el8
redhat/kernel<0:4.18.0-425.3.1.el8
0:4.18.0-425.3.1.el8
redhat/kernel<0:5.14.0-162.6.1.el9_1
0:5.14.0-162.6.1.el9_1
redhat/kernel-rt<0:5.14.0-162.6.1.rt21.168.el9_1
0:5.14.0-162.6.1.rt21.168.el9_1
redhat/kernel<0:5.14.0-70.64.1.el9_0
0:5.14.0-70.64.1.el9_0
redhat/kernel-rt<0:5.14.0-70.64.1.rt21.135.el9_0
0:5.14.0-70.64.1.rt21.135.el9_0
Linux Linux kernel<=3.12
Linux Linux kernel>=3.13<=5.17
Linux Linux kernel=3.13-rc1
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Remediation

Information

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.

Event History

Mar 22, 2022
Data Sourced
via Red Hat·07:46 AM
DescriptionSeverityAffected Software
Mar 28, 2022
CVE Published
03:00 PM
Aug 29, 2022
CVE Published
via MITRE·02:03 PM
Data Sourced
via MITRE·02:03 PM
DescriptionWeakness
Jan 12, 2024
Data Sourced
via Launchpad·12:04 AM
Description
May 2, 2025
Data Sourced
via Ubuntu·04:35 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·04:35 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-1016?

CVE-2022-1016 is considered to have high severity due to its potential to allow local unprivileged attackers to exploit a use-after-free condition.

2

How do I fix CVE-2022-1016?

To fix CVE-2022-1016, update to the recommended versions of the kernel as specified by your distribution.

3

What systems are affected by CVE-2022-1016?

CVE-2022-1016 affects various versions of the Linux kernel across distributions like Red Hat and Debian.

4

What type of vulnerability is CVE-2022-1016?

CVE-2022-1016 is a use-after-free vulnerability in the Linux kernel's netfilter subsystem.

5

Can CVE-2022-1016 lead to data exposure?

Yes, CVE-2022-1016 can lead to kernel information leaks, which may expose sensitive data.

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