cve.bz

CVE-2022-25636 Improper Privilege Management

7.8 highExploit referenceEPSS 2.6%Fix available

High (7.8). EPSS 2.6% estimated probability of exploitation activity in the next 30 days.

On this page
net/netfilter/nf_dup_netdev.c in the Linux kernel 5.4 through 5.6.10 allows local users to gain privileges because of a heap out-of-bounds write. This is related to nf_tables_offload.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
2.6% (unchanged from 2.6% a week ago; 2.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 86th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-269 Improper Privilege Management
OWASP Top 10
A06:2025 Insecure Design
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-25636 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-25636?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-25636?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-25636 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_kernelfrom 5.4 before 5.4.182
linux:linux_kernelfrom 5.5 before 5.10.103
linux:linux_kernelfrom 5.11 before 5.15.26
linux:linux_kernelfrom 5.16 before 5.16.12
debian:debian_linux11.0
oracle:communications_cloud_native_core_binding_support_function22.1.3
oracle:communications_cloud_native_core_network_exposure_function22.1.1
oracle:communications_cloud_native_core_policy22.2.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11linux5.10.103-1DSA-5095-1
Debian12, 13, 14linux5.16.11-1DEBIAN-CVE-2022-25636
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-25636
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1068.72~18.04.1UBUNTU-CVE-2022-25636 USN-5318-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1072.75~18.04.1UBUNTU-CVE-2022-25636 USN-5318-1
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 9 moreno fix listedUBUNTU-CVE-2022-25636
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1067.71~18.04.1UBUNTU-CVE-2022-25636 USN-5318-1
Ubuntu18.04:LTSlinux-gke-5.45.4.0-1065.68~18.04.1UBUNTU-CVE-2022-25636 USN-5318-1
Ubuntu18.04:LTSlinux-gkeop-5.45.4.0-1036.37~18.04.1UBUNTU-CVE-2022-25636 USN-5318-1
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-104.118~18.04.1UBUNTU-CVE-2022-25636 USN-5318-1
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1017.19~18.04.1UBUNTU-CVE-2022-25636 USN-5318-1
Ubuntu18.04:LTSlinux-oracle-5.45.4.0-1066.71~18.04.1UBUNTU-CVE-2022-25636 USN-5318-1
Ubuntu18.04:LTSlinux-raspi-5.45.4.0-1055.62~18.04.1UBUNTU-CVE-2022-25636 USN-5318-1
Ubuntu20.04:LTSlinux5.4.0-104.118UBUNTU-CVE-2022-25636 USN-5318-1
46 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-348, kpatch-patch-4_18_0-348-debuginfo, kpatch-patch-4_18_0-348-debugsource0:1-4.el8RHSA-2022:1535
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-348_12_2, kpatch-patch-4_18_0-348_12_2-debuginfo, kpatch-patch-4_18_0-348_12_2-debugsource0:1-2.el8_5RHSA-2022:1535
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-348_20_1, kpatch-patch-4_18_0-348_20_1-debuginfo, kpatch-patch-4_18_0-348_20_1-debugsource0:1-1.el8_5RHSA-2022:1535
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-348_2_1, kpatch-patch-4_18_0-348_7_1, kpatch-patch-4_18_0-348_2_1-debuginfo and 3 more0:1-3.el8_5RHSA-2022:1535
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-348.23.1.el8_5RHSA-2022:1550
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-348.23.1.el8_5RHSA-2022:1550
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-348.23.1.rt7.153.el8_5RHSA-2022:1555
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-348.23.1.rt7.153.el8_5RHSA-2022:1555
Red Hatrhel_eus:8.4::baseoskpatch-patch-4_18_0-305, kpatch-patch-4_18_0-305-debuginfo, kpatch-patch-4_18_0-305-debugsource0:1-12.el8RHSA-2022:1418
Red Hatrhel_eus:8.4::baseoskpatch-patch-4_18_0-305_10_2, kpatch-patch-4_18_0-305_10_2-debuginfo, kpatch-patch-4_18_0-305_10_2-debugsource0:1-9.el8_4RHSA-2022:1418
Red Hatrhel_eus:8.4::baseoskpatch-patch-4_18_0-305_12_1, kpatch-patch-4_18_0-305_12_1-debuginfo, kpatch-patch-4_18_0-305_12_1-debugsource0:1-8.el8_4RHSA-2022:1418
Red Hatrhel_eus:8.4::baseoskpatch-patch-4_18_0-305_17_1, kpatch-patch-4_18_0-305_19_1, kpatch-patch-4_18_0-305_17_1-debuginfo and 3 more0:1-7.el8_4RHSA-2022:1418
11 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.60.4SUSE-SU-2022:1039-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_013-150200.3.1SUSE-SU-2022:0978-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_1, kernel-livepatch-SLE15-SP3_Update_2, kernel-livepatch-SLE15-SP3_Update_311-150300.2.1SUSE-SU-2022:0978-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_105-150300.2.1SUSE-SU-2022:0984-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_115-150300.2.1SUSE-SU-2022:0998-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_12, kernel-livepatch-SLE15-SP3_Update_134-150300.2.1SUSE-SU-2022:0998-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_143-150300.2.1SUSE-SU-2022:0998-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_152-150300.2.1SUSE-SU-2022:1034-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_161-150300.7.5.3SUSE-SU-2022:1039-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_410-150300.2.1SUSE-SU-2022:0978-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_59-150300.2.1SUSE-SU-2022:0984-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_6, kernel-livepatch-SLE15-SP3_Update_77-150300.2.1SUSE-SU-2022:0984-1
8 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.60.4openSUSE-SU-2022:1039-1
openSUSELeap 15.3kernel-azure, kernel-syms-azure, kernel-source-azure5.3.18-150300.38.50.1openSUSE-SU-2022:1037-1
openSUSELeap 15.3kernel-default-base5.3.18-150300.59.60.4.150300.18.37.5openSUSE-SU-2022:1039-1
AlmaLinux8kernel-tools-libs-devel4.18.0-348.23.1.el8_5ALSA-2022:1550
Rocky Linux8kernel0:4.18.0-348.23.1.el8_5RLSA-2022:1550
Rocky Linux8kernel-rt0:4.18.0-348.23.1.rt7.153.el8_5RLSA-2022:1555

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

Red Hat's statement

This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 8.3 GA onwards. Previous Red Hat Enterprise Linux versions are not affected.

Red Hat's mitigation

The mitigation for the Red Hat Enterprise Linux 8 is to disable for unprivileged user possibilities of running unshare(CLONE_NEWUSER) or unshare(CLONE_NEWNET) that could be done with the next command:

echo 0 > /proc/sys/user/max_user_namespaces

For making this change in configuration permanent.

Note: User namespaces are used primarily for Linux containers. If containers are in use, this requirement is not applicable.

Configure RHEL 8 to disable the use of user namespaces by adding the following line to a file in the "/etc/sysctl.d/" directory:

user.max_user_namespaces = 0

The system configuration files need to be reloaded for the changes to take effect. To reload the contents of the files, run the following command:

$ sudo sysctl --system

The other mitigation for containers, if without disabling user namespaces, is blocking the pertinent syscalls in a seccomp policy file. For more information about seccomp, please read: https://www.openshift.com/blog/seccomp-for-fun-and-profit

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-348.23.1.rt7.153.el8_5Fixed 2022-04-26RHSA-2022:1555
Red Hat Enterprise Linux 8kpatch-patchFixed 2022-04-26RHSA-2022:1535
Red Hat Enterprise Linux 8kernel-0:4.18.0-348.23.1.el8_5Fixed 2022-04-26RHSA-2022:1550
Red Hat Enterprise Linux 8.4 Extended Update Supportkernel-rt-0:4.18.0-305.45.1.rt7.117.el8_4Fixed 2022-04-19RHSA-2022:1413
Red Hat Enterprise Linux 8.4 Extended Update Supportkpatch-patchFixed 2022-04-19RHSA-2022:1418
Red Hat Enterprise Linux 8.4 Extended Update Supportkernel-0:4.18.0-305.45.1.el8_4Fixed 2022-04-20RHSA-2022:1455
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8redhat-virtualization-host-0:4.5.0-202205291010_8.6Fixed 2022-06-03RHSA-2022:4896
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected

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

Attack patterns (CAPEC)

  • CAPEC-58 Restful Privilege Elevation Likelihood: High · Severity: High
  • CAPEC-122 Privilege Abuse Likelihood: High · Severity: Medium
  • CAPEC-233 Privilege Escalation

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON