cve.bz

CVE-2022-1016 Missing Initialization of Resource

5.5 mediumExploit referenceEPSS 0.4%

Medium (5.5). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in the Linux kernel in net/netfilter/nf_tables_core.c:nft_do_chain, 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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 26th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-909 Missing Initialization of Resource
CWE-824 Access of Uninitialized Pointer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-1016 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-1016?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-1016?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-1016 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelthrough 3.12
linux:linux_kernelfrom 3.13 through 5.17
linux:linux_kernel3.13:rc1
redhat:enterprise_linux8.0
redhat:enterprise_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9linux4.9.320-2DLA-3065-1
Debian10linux4.19.249-2DSA-5173-1
Debian11linux5.10.113-1DSA-5127-1
Debian12, 13, 14linux5.16.18-1DEBIAN-CVE-2022-1016
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-1016
Ubuntu18.04:LTSlinux4.15.0-184.194UBUNTU-CVE-2022-1016 USN-5466-1
Ubuntu18.04:LTSlinux-aws4.15.0-1133.143UBUNTU-CVE-2022-1016 USN-5466-1
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1075.80~18.04.1UBUNTU-CVE-2022-1016
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1142.156UBUNTU-CVE-2022-1016 USN-5466-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1078.81~18.04.1UBUNTU-CVE-2022-1016 USN-5415-1
Ubuntu18.04:LTSlinux-dell300x4.15.0-1047.52UBUNTU-CVE-2022-1016
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 10 moreno fix listedUBUNTU-CVE-2022-1016
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1127.142UBUNTU-CVE-2022-1016 USN-5466-1
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1073.78~18.04.1UBUNTU-CVE-2022-1016 USN-5415-1
Ubuntu18.04:LTSlinux-gke-5.45.4.0-1071.76~18.04.3UBUNTU-CVE-2022-1016
Ubuntu18.04:LTSlinux-gkeop-5.45.4.0-1040.41~18.04.1UBUNTU-CVE-2022-1016 USN-5415-1
65 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-425.3.1.el8RHSA-2022:7683
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-425.3.1.el8RHSA-2022:7683
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-425.3.1.rt7.213.el8RHSA-2022:7444
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-425.3.1.rt7.213.el8RHSA-2022:7444
Red Hatenterprise_linux:9::appstreamperf, kernel-doc, kernel-devel and 16 more0:5.14.0-162.6.1.el9_1RHSA-2022:8267
Red Hatenterprise_linux:9::baseoskernel, bpftool, kernel-core and 25 more0:5.14.0-162.6.1.el9_1RHSA-2022:8267
Red Hatenterprise_linux:9::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 9 more0:5.14.0-162.6.1.el9_1RHSA-2022:8267
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:5.14.0-162.6.1.rt21.168.el9_1RHSA-2022:7933
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:5.14.0-162.6.1.rt21.168.el9_1RHSA-2022:7933
Red Hatrhel_eus:8.6::baseosperf, kernel, bpftool and 30 more0:4.18.0-372.87.1.el8_6RHSA-2024:0412
Red Hatrhel_eus:8.6::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-372.87.1.el8_6RHSA-2024:0412
Red Hatrhel_eus:9.0::appstreamperf, kernel-doc, kernel-devel and 16 more0:5.14.0-70.64.1.el9_0RHSA-2023:4137
5 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 2 morekernel-docs, kernel-syms, kernel-source and 2 more4.12.14-150100.197.111.1SUSE-SU-2022:1256-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 8 morekernel-default-base5.3.18-150200.24.112.1.150200.9.52.2SUSE-SU-2022:1197-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 3 morekernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.112.1SUSE-SU-2022:1197-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.201.1SUSE-SU-2025:1263-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 morekernel-default-base5.3.18-150300.59.201.1.150300.18.120.1SUSE-SU-2025:1263-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP3-LTSS and 3 morekernel-syms, kernel-source, kernel-default4.4.180-94.161.1SUSE-SU-2022:1270-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-LTSS, Linux Enterprise Server for SAP Applications 12 SP3 and 2 morekgraft-patch-SLE12-SP3_Update_441-4.5.1SUSE-SU-2022:1270-1
SUSELinux Enterprise High Availability Extension 12 SP3kernel-default4.4.180-94.161.1SUSE-SU-2022:1270-1
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Live Patching 12 SP4kernel-default4.12.14-95.96.1SUSE-SU-2022:1267-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.116.1SUSE-SU-2022:1196-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Live Patching 15kernel-default4.12.14-150000.150.89.1SUSE-SU-2022:1255-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1kernel-default4.12.14-150100.197.111.1SUSE-SU-2022:1256-1
117 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.3dtb-aarch64, kernel-64kb, kernel-docs and 9 more5.3.18-150300.59.63.1SUSE-SU-2022:1183-1
openSUSELeap 15.3kernel-azure, kernel-syms-azure, kernel-source-azure5.3.18-150300.38.53.1SUSE-SU-2022:1163-1
openSUSELeap 15.3kernel-debug, kernel-default, kernel-vanilla and 2 more4.12.14-150100.197.111.1SUSE-SU-2022:1256-1
openSUSELeap 15.3kernel-default-base5.3.18-150300.59.63.1.150300.18.39.1SUSE-SU-2022:1183-1
openSUSELeap 15.4dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150400.24.11.1SUSE-SU-2022:2520-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.7.1SUSE-SU-2022:2615-1
openSUSELeap 15.4kernel-default-base5.14.21-150400.24.11.1.150400.24.3.6SUSE-SU-2022:2520-1
AlmaLinux8kernel-rt, kernel-rt-kvm, kernel-rt-core and 9 more4.18.0-425.3.1.rt7.213.el8ALSA-2022:7444
AlmaLinux8perf, kernel, bpftool and 22 more4.18.0-425.3.1.el8ALSA-2022:7683
AlmaLinux9kernel-rt, kernel-rt-kvm, kernel-rt-core and 9 more5.14.0-162.6.1.rt21.168.el9_1ALSA-2022:7933
AlmaLinux9perf, kernel, bpftool and 25 more5.14.0-162.6.1.el9_1ALSA-2022:8267
Rocky Linux8kernel0:4.18.0-425.3.1.el8RLSA-2022:7683
Rocky Linux8kernel-rt0:4.18.0-425.3.1.rt7.213.el8RLSA-2022:7444
Azure Linux2kernel5.15.70.1-1AZL-10857

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-425.3.1.rt7.213.el8Fixed 2022-11-08RHSA-2022:7444
Red Hat Enterprise Linux 8kernel-0:4.18.0-425.3.1.el8Fixed 2022-11-08RHSA-2022:7683
Red Hat Enterprise Linux 8.6 Extended Update Supportkernel-0:4.18.0-372.87.1.el8_6Fixed 2024-01-25RHSA-2024:0412
Red Hat Enterprise Linux 9kernel-0:5.14.0-162.6.1.el9_1Fixed 2022-11-15RHSA-2022:8267
Red Hat Enterprise Linux 9kernel-rt-0:5.14.0-162.6.1.rt21.168.el9_1Fixed 2022-11-15RHSA-2022:7933
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-0:5.14.0-70.64.1.el9_0Fixed 2023-07-18RHSA-2023:4137
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-rt-0:5.14.0-70.64.1.rt21.135.el9_0Fixed 2023-07-18RHSA-2023:4138
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8kernel-0:4.18.0-372.87.1.el8_6Fixed 2024-01-25RHSA-2024:0412
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
Red Hat Virtualization 4redhat-virtualization-hostWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-1016.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-075-01Siemens SCALANCE, RUGGEDCOM Third-Party2023-03-14MultipleRUGGEDCOM RM1224 LTE(4G) EU (6GK6108-4AM00-2BA2), RUGGEDCOM RM1224 LTE(4G) NAM (6GK6108-4AM00-2DA2), SCALANCE M804PB (6GK5804-0AP00-2AA2) and 17 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON