Skip to content
Fencer Intel
high 7.8

CVE-2022-25636 json

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…

published 4y ago modified 4mo ago also EUVD-2022-30296

cvss
7.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.6%
EPSS 2.6% chance of exploitation in 30 days, percentile 85%
public exploits
0
none known

Summary

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.

Patch / fix

  • linux linux_kernel 5.4.182, 5.10.103, 5.15.26, 5.16.12
  • linux Debian 14, Debian 13, Debian 12 5.16.11-1

debian advisories DEBIAN-CVE-2022-25636

  • linux Ubuntu 20.04 LTS 5.4.0-104.118
  • linux-aws Ubuntu 20.04 LTS 5.4.0-1068.72
  • linux-gcp Ubuntu 20.04 LTS 5.4.0-1067.71
  • linux-gke Ubuntu 20.04 LTS 5.4.0-1065.68
  • linux-ibm Ubuntu 20.04 LTS 5.4.0-1017.19
  • linux-kvm Ubuntu 20.04 LTS 5.4.0-1058.61
  • linux-azure Ubuntu 20.04 LTS 5.4.0-1072.75
  • linux-gkeop Ubuntu 20.04 LTS 5.4.0-1036.37

ubuntu advisories UBUNTU-CVE-2022-25636

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • redhat-virtualization-host rhev hypervisor 4.4 4.5.0-202205291010_8.6
  • redhat-virtualization-host-image-update rhev hypervisor 4.4 4.5.0-202205291010_8.6
  • kpatch-patch-4_18_0-348 RHEL 8 1-4.el8
  • kpatch-patch-4_18_0-348_2_1 RHEL 8 1-3.el8_5
  • kpatch-patch-4_18_0-348_7_1 RHEL 8 1-3.el8_5
  • kpatch-patch-4_18_0-348_12_2 RHEL 8 1-2.el8_5
  • kpatch-patch-4_18_0-348_20_1 RHEL 8 1-1.el8_5
  • kernel RHEL 8 4.18.0-348.23.1.el8_5

red hat advisories RHSA-2022:4896RHSA-2022:1535RHSA-2022:1418RHSA-2022:1550RHSA-2022:1413RHSA-2022:1555

  • kernel-64kb SLE Module for Basesystem 15 SP3 5.3.18-150300.59.60.4
  • kernel-syms SLE Module for Development Tools 15 SP3 5.3.18-150300.59.60.4
  • kernel-source SLE Module for Development Tools 15 SP3, SLE Module for Basesystem 15 SP3 5.3.18-150300.59.60.4
  • kernel-default SLE Workstation Extension 15 SP3, SLE Module for Legacy 15 SP3, SLE Module for Basesystem 15 SP3 +3 more 5.3.18-150300.59.60.4
  • kernel-preempt SLE Workstation Extension 15 SP3, SLE Module for Development Tools 15 SP3, SLE Module for Basesystem 15 SP3 5.3.18-150300.59.60.4
  • kernel-zfcpdump SLE Module for Basesystem 15 SP3 5.3.18-150300.59.60.4
  • kernel-obs-build SLE Module for Development Tools 15 SP3 5.3.18-150300.59.60.4
  • kernel-default-base SLE Module for Basesystem 15 SP3, SLE Micro 5.1 5.3.18-150300.59.60.4.150300.18.37.5

suse advisories SUSE-SU-2022:1039-1SUSE-SU-2022:1038-1SUSE-SU-2022:1037-1SUSE-SU-2022:1034-1SUSE-SU-2022:0998-1SUSE-SU-2022:0984-1

  • dtb-aarch64 openSUSE Leap 15.3 5.3.18-150300.59.60.4
  • kernel-64kb openSUSE Leap 15.3 5.3.18-150300.59.60.4
  • kernel-syms openSUSE Leap 15.3 5.3.18-150300.59.60.4
  • kernel-obs-qa openSUSE Leap 15.3 5.3.18-150300.59.60.4
  • kernel-source openSUSE Leap 15.3 5.3.18-150300.59.60.4
  • kernel-default openSUSE Leap 15.3 5.3.18-150300.59.60.4
  • kernel-preempt openSUSE Leap 15.3 5.3.18-150300.59.60.4
  • kernel-kvmsmall openSUSE Leap 15.3 5.3.18-150300.59.60.4

opensuse advisories openSUSE-SU-2022:1039-1openSUSE-SU-2022:1037-1

  • kernel-rt Rocky Linux 8 4.18.0-348.23.1.rt7.153.el8_5
  • kernel Rocky Linux 8 4.18.0-348.23.1.el8_5

rocky linux advisories RLSA-2022:1555RLSA-2022:1550

  • linux Arch Linux 5.16.12.arch1-1

arch linux advisories AVG-2653

Is CVE-2022-25636 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-25636 updated cvss 7.8

kernel: heap out of bounds write in nf_dup_netdev.c

  • Red Hat CodeReady Linux Builder (v. 8) kernel-debuginfo-common-x86_64 4.18.0-348.23.1.el8_5, kernel-debuginfo-common-aarch64 4.18.0-348.23.1.el8_5, kernel-debuginfo-common-ppc64le 4.18.0-348.23.1.el8_5 Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-348.23.1.el8_5, kernel 4.18.0-348.23.1.el8_5, bpftool 4.18.0-348.23.1.el8_5, kpatch-patch-4_18_0-348 1-4.el8, kernel-core 4.18.0-348.23.1.el8_5, kernel-tools 4.18.0-348.23.1.el8_5, +20 more
    fixed: vendor fix RHSA-2022:1550
  • Red Hat Enterprise Linux BaseOS EUS (v.8.4) perf 4.18.0-305.45.1.el8_4, kernel 4.18.0-305.45.1.el8_4, bpftool 4.18.0-305.45.1.el8_4, kpatch-patch-4_18_0-305 1-12.el8, kernel-core 4.18.0-305.45.1.el8_4, kernel-tools 4.18.0-305.45.1.el8_4, +28 more Red Hat Enterprise Linux CRB EUS (v.8.4) kernel-debuginfo-common-x86_64 4.18.0-305.45.1.el8_4, kernel-debuginfo-common-aarch64 4.18.0-305.45.1.el8_4, kernel-debuginfo-common-ppc64le 4.18.0-305.45.1.el8_4
    fixed: vendor fix RHSA-2022:1455
  • Red Hat Enterprise Linux for Real Time (v. 8) kernel-rt 4.18.0-348.23.1.rt7.153.el8_5, kernel-rt-core 4.18.0-348.23.1.rt7.153.el8_5, kernel-rt-modules 4.18.0-348.23.1.rt7.153.el8_5, kernel-rt-debug-core 4.18.0-348.23.1.rt7.153.el8_5, kernel-rt-debug-modules 4.18.0-348.23.1.rt7.153.el8_5, kernel-rt-modules-extra 4.18.0-348.23.1.rt7.153.el8_5, +2 more
    fixed: vendor fix RHSA-2022:1555
  • Red Hat Enterprise Linux NFV EUS (v.8.4) kernel-rt 4.18.0-305.45.1.rt7.117.el8_4, kernel-rt-kvm 4.18.0-305.45.1.rt7.117.el8_4, kernel-rt-core 4.18.0-305.45.1.rt7.117.el8_4, kernel-rt-modules 4.18.0-305.45.1.rt7.117.el8_4, kernel-rt-debug-kvm 4.18.0-305.45.1.rt7.117.el8_4, kernel-rt-debug-core 4.18.0-305.45.1.rt7.117.el8_4, +4 more
    fixed: vendor fix RHSA-2022:1413
  • Red Hat Enterprise Linux Real Time for NFV (v. 8) kernel-rt 4.18.0-348.23.1.rt7.153.el8_5, kernel-rt-kvm 4.18.0-348.23.1.rt7.153.el8_5, kernel-rt-core 4.18.0-348.23.1.rt7.153.el8_5, kernel-rt-modules 4.18.0-348.23.1.rt7.153.el8_5, kernel-rt-debug-kvm 4.18.0-348.23.1.rt7.153.el8_5, kernel-rt-debug-core 4.18.0-348.23.1.rt7.153.el8_5, +4 more
    fixed: vendor fix RHSA-2022:1555
  • Red Hat Enterprise Linux RT EUS (v.8.4) kernel-rt 4.18.0-305.45.1.rt7.117.el8_4, kernel-rt-core 4.18.0-305.45.1.rt7.117.el8_4, kernel-rt-modules 4.18.0-305.45.1.rt7.117.el8_4, kernel-rt-debug-core 4.18.0-305.45.1.rt7.117.el8_4, kernel-rt-debug-modules 4.18.0-305.45.1.rt7.117.el8_4, kernel-rt-modules-extra 4.18.0-305.45.1.rt7.117.el8_4, +2 more
    fixed: vendor fix RHSA-2022:1413
  • Red Hat Virtualization 4 Hypervisor for RHEL 8 redhat-virtualization-host 4.5.0-202205291010_8.6, redhat-virtualization-host-image-update 4.5.0-202205291010_8.6
    fixed: vendor fix RHSA-2022:4896
  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Virtualization 4 Hypervisor for RHEL 8 elfutils 0.186-1.el8, elfutils-debuginfod-client 0.186-1.el8 Red Hat RHEL 8-based RHEV-H for RHEV 4 (build requirements) imgbased 1.2.24-1.el8ev, ovirt-node-ng 4.4.2-1.el8ev, python3-imgbased 1.2.24-1.el8ev, ovirt-node-ng-nodectl 4.4.2-1.el8ev, python3-ovirt-node-ng-nodectl 4.4.2-1.el8ev, redhat-release-virtualization-host 4.5.0-5.el8ev, +3 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.63% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • openwall.com https://www.openwall.com/lists/oss-security/2022/02/21/2 referenced PoC, tagged "exploit" by a source, unverified
  • nickgregory.me https://nickgregory.me/linux/security/2022/03/12/cve-2022-25636/ referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/Bonfee/CVE-2022-25636 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.9 AV:L/AC:M/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-269 Improper Privilege Management
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.