Skip to content
Fencer Vulns
high 7.8

CVE-2022-4744 json

A double-free flaw was found in the Linux kernel’s TUN/TAP device driver functionality in how a user registers the device when the register…

published 2023-03-30 3 y ago modified 2026-06-17 4 mo ago also EUVD-2022-52042

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

Summary

A double-free flaw was found in the Linux kernel’s TUN/TAP device driver functionality in how a user registers the device when the register_netdevice function fails (NETDEV_REGISTER notifier). This flaw allows a local user to crash or potentially escalate their privileges on the system.

Patch / fix

  • linux linux_kernel 5.10.136, 5.15.12
  • linux Debian 14, Debian 13, Debian 12 5.15.15-1

debian advisories DEBIAN-CVE-2022-4744

  • linux-oem-5.14 Ubuntu 20.04 LTS 5.14.0-1022.24

ubuntu advisories UBUNTU-CVE-2022-4744

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

  • kernel RHEL 8 4.18.0-513.5.1.el8_9
  • perf RHEL 8 4.18.0-513.5.1.el8_9
  • bpftool RHEL 8 4.18.0-513.5.1.el8_9
  • kernel-core RHEL 8 4.18.0-513.5.1.el8_9
  • kernel-tools RHEL 8 4.18.0-513.5.1.el8_9
  • python3-perf RHEL 8 4.18.0-513.5.1.el8_9
  • kernel-modules RHEL 8 4.18.0-513.5.1.el8_9
  • kernel-zfcpdump RHEL 8 4.18.0-513.5.1.el8_9

red hat advisories RHSA-2024:1404RHSA-2023:7077RHSA-2023:6901RHSA-2023:1466RHSA-2023:1470RHSA-2023:1471

  • kernel-azure SLE Module for Public Cloud 15 SP5, openSUSE Leap 15.5 5.14.21-150500.33.48.1
  • kernel-syms-azure SLE Module for Public Cloud 15 SP5, openSUSE Leap 15.5 5.14.21-150500.33.48.1
  • kernel-source-azure SLE Module for Public Cloud 15 SP5, openSUSE Leap 15.5 5.14.21-150500.33.48.1
  • kernel-64kb SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS, Enterprise Storage 7.1 5.3.18-150300.59.158.1
  • kernel-syms SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.158.1
  • kernel-source SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.158.1
  • kernel-default SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +5 more 5.3.18-150300.59.158.1
  • kernel-preempt SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.158.1

suse advisories SUSE-SU-2024:1490-1SUSE-SU-2024:1489-1SUSE-SU-2024:1480-1SUSE-SU-2024:1466-1SUSE-SU-2024:1454-1SUSE-SU-2024:1321-1

  • kernel AlmaLinux 8 4.18.0-513.5.1.el8_9
  • perf AlmaLinux 8 4.18.0-513.5.1.el8_9
  • bpftool AlmaLinux 8 4.18.0-513.5.1.el8_9
  • kernel-core AlmaLinux 8 4.18.0-513.5.1.el8_9
  • kernel-tools AlmaLinux 8 4.18.0-513.5.1.el8_9
  • python3-perf AlmaLinux 8 4.18.0-513.5.1.el8_9
  • kernel-modules AlmaLinux 8 4.18.0-513.5.1.el8_9
  • kernel-zfcpdump AlmaLinux 8 4.18.0-513.5.1.el8_9

almalinux advisories ALSA-2023:7077ALSA-2023:1469ALSA-2023:1470

  • kernel Rocky Linux 9 5.14.0-162.22.2.el9_1
  • kernel-rt Rocky Linux 9 5.14.0-162.22.2.rt21.186.el9_1

rocky linux advisories RLSA-2023:1470RLSA-2023:1469

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-4744 updated cvss 7.8

kernel: tun: avoid double free in tun_free_netdev

  • Red Hat Virtualization 4 redhat-virtualization-host-image-update
    affected: workaround, no fix available “To mitigate this issue, prevent the tun module from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.”
  • Red Hat CodeReady Linux Builder (v. 8) kernel-debuginfo-common-x86_64 4.18.0-513.5.1.el8_9, kernel-debuginfo-common-aarch64 4.18.0-513.5.1.el8_9, kernel-debuginfo-common-ppc64le 4.18.0-513.5.1.el8_9
    fixed: vendor fix “To mitigate this issue, prevent the tun module from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2023:7077
  • Red Hat CodeReady Linux Builder (v. 9) kernel-debuginfo-common-s390x 5.14.0-162.22.2.el9_1, kernel-debuginfo-common-x86_64 5.14.0-162.22.2.el9_1, kernel-debuginfo-common-aarch64 5.14.0-162.22.2.el9_1, kernel-debuginfo-common-ppc64le 5.14.0-162.22.2.el9_1
    fixed: vendor fix “To mitigate this issue, prevent the tun module from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2023:1470
  • Red Hat CodeReady Linux Builder EUS (v.8.8) kernel-debuginfo-common-x86_64 4.18.0-477.51.1.el8_8, kernel-debuginfo-common-aarch64 4.18.0-477.51.1.el8_8, kernel-debuginfo-common-ppc64le 4.18.0-477.51.1.el8_8
    fixed: vendor fix “To mitigate this issue, prevent the tun module from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:1404
  • Red Hat CodeReady Linux Builder EUS (v.9.0) kernel-debuginfo-common-s390x 5.14.0-70.50.2.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.50.2.el9_0, kernel-debuginfo-common-aarch64 5.14.0-70.50.2.el9_0, kernel-debuginfo-common-ppc64le 5.14.0-70.50.2.el9_0
    fixed: vendor fix “To mitigate this issue, prevent the tun module from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2023:1468
  • Red Hat Enterprise Linux AppStream (v. 9) perf 5.14.0-162.22.2.el9_1, kernel-devel-matched 5.14.0-162.22.2.el9_1, kernel-debug-devel-matched 5.14.0-162.22.2.el9_1, kernel-debuginfo-common-s390x 5.14.0-162.22.2.el9_1, kernel-zfcpdump-devel-matched 5.14.0-162.22.2.el9_1, kernel-debuginfo-common-x86_64 5.14.0-162.22.2.el9_1, +2 more
    fixed: vendor fix “To mitigate this issue, prevent the tun module from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2023:1470
  • Red Hat Enterprise Linux AppStream EUS (v.9.0) perf 5.14.0-70.50.2.el9_0, kernel-devel-matched 5.14.0-70.50.2.el9_0, kernel-debug-devel-matched 5.14.0-70.50.2.el9_0, kernel-debuginfo-common-s390x 5.14.0-70.50.2.el9_0, kernel-zfcpdump-devel-matched 5.14.0-70.50.2.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.50.2.el9_0, +2 more
    fixed: vendor fix “To mitigate this issue, prevent the tun module from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2023:1468
  • Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-513.5.1.el8_9, kernel 4.18.0-513.5.1.el8_9, bpftool 4.18.0-513.5.1.el8_9, kernel-core 4.18.0-513.5.1.el8_9, kernel-tools 4.18.0-513.5.1.el8_9, python3-perf 4.18.0-513.5.1.el8_9, +15 more
    fixed: vendor fix “To mitigate this issue, prevent the tun module from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2023:7077
show 10 more
  • Red Hat Enterprise Linux BaseOS (v. 9) kernel 5.14.0-162.22.2.el9_1, bpftool 5.14.0-162.22.2.el9_1, kernel-core 5.14.0-162.22.2.el9_1, kernel-tools 5.14.0-162.22.2.el9_1, python3-perf 5.14.0-162.22.2.el9_1, kernel-modules 5.14.0-162.22.2.el9_1, +17 more
    fixed: vendor fix “To mitigate this issue, prevent the tun module from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2023:1470
  • Red Hat Enterprise Linux BaseOS EUS (v.8.8) perf 4.18.0-477.51.1.el8_8, kernel 4.18.0-477.51.1.el8_8, bpftool 4.18.0-477.51.1.el8_8, kernel-core 4.18.0-477.51.1.el8_8, kernel-tools 4.18.0-477.51.1.el8_8, python3-perf 4.18.0-477.51.1.el8_8, +15 more
    fixed: vendor fix “To mitigate this issue, prevent the tun module from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:1404
  • Red Hat Enterprise Linux BaseOS EUS (v.9.0) kernel 5.14.0-70.50.2.el9_0, bpftool 5.14.0-70.50.2.el9_0, kernel-core 5.14.0-70.50.2.el9_0, kernel-tools 5.14.0-70.50.2.el9_0, python3-perf 5.14.0-70.50.2.el9_0, kernel-modules 5.14.0-70.50.2.el9_0, +19 more
    fixed: vendor fix “To mitigate this issue, prevent the tun module from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2023:1468
  • Red Hat Enterprise Linux Real Time (v. 8) kernel-rt 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-core 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-modules 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-debug-core 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-debug-modules 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-modules-extra 4.18.0-513.5.1.rt7.307.el8_9, +2 more
    fixed: vendor fix “To mitigate this issue, prevent the tun module from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2023:6901
  • Red Hat Enterprise Linux Real Time (v. 9) kernel-rt 5.14.0-162.22.2.rt21.186.el9_1, kernel-rt-core 5.14.0-162.22.2.rt21.186.el9_1, kernel-rt-modules 5.14.0-162.22.2.rt21.186.el9_1, kernel-rt-debug-core 5.14.0-162.22.2.rt21.186.el9_1, kernel-rt-debug-modules 5.14.0-162.22.2.rt21.186.el9_1, kernel-rt-modules-extra 5.14.0-162.22.2.rt21.186.el9_1, +2 more
    fixed: vendor fix “To mitigate this issue, prevent the tun module from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2023:1469
  • Red Hat Enterprise Linux Real Time EUS (v.9.0) kernel-rt 5.14.0-70.50.2.rt21.122.el9_0, kernel-rt-core 5.14.0-70.50.2.rt21.122.el9_0, kernel-rt-modules 5.14.0-70.50.2.rt21.122.el9_0, kernel-rt-debug-core 5.14.0-70.50.2.rt21.122.el9_0, kernel-rt-debug-modules 5.14.0-70.50.2.rt21.122.el9_0, kernel-rt-modules-extra 5.14.0-70.50.2.rt21.122.el9_0, +2 more
    fixed: vendor fix “To mitigate this issue, prevent the tun module from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2023:1467
  • Red Hat Enterprise Linux Real Time for NFV (v. 8) kernel-rt 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-kvm 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-core 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-modules 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-debug-kvm 4.18.0-513.5.1.rt7.307.el8_9, kernel-rt-debug-core 4.18.0-513.5.1.rt7.307.el8_9, +4 more
    fixed: vendor fix “To mitigate this issue, prevent the tun module from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2023:6901
  • Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt 5.14.0-162.22.2.rt21.186.el9_1, kernel-rt-kvm 5.14.0-162.22.2.rt21.186.el9_1, kernel-rt-core 5.14.0-162.22.2.rt21.186.el9_1, kernel-rt-modules 5.14.0-162.22.2.rt21.186.el9_1, kernel-rt-debug-kvm 5.14.0-162.22.2.rt21.186.el9_1, kernel-rt-debug-core 5.14.0-162.22.2.rt21.186.el9_1, +4 more
    fixed: vendor fix “To mitigate this issue, prevent the tun module from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2023:1469
  • Red Hat Enterprise Linux Real Time for NFV EUS (v.9.0) kernel-rt 5.14.0-70.50.2.rt21.122.el9_0, kernel-rt-kvm 5.14.0-70.50.2.rt21.122.el9_0, kernel-rt-core 5.14.0-70.50.2.rt21.122.el9_0, kernel-rt-modules 5.14.0-70.50.2.rt21.122.el9_0, kernel-rt-debug-kvm 5.14.0-70.50.2.rt21.122.el9_0, kernel-rt-debug-core 5.14.0-70.50.2.rt21.122.el9_0, +4 more
    fixed: vendor fix “To mitigate this issue, prevent the tun module from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2023:1467
  • 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
    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

cisa ICSA-24-046-11 updated cvss 7.8

Siemens SCALANCE XCM-/XRM-300

  • Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) <V2.4 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) <V2.4 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) <V2.4 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) <V2.4 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) <V2.4 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) <V2.4
    +5 more products
    Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) <V2.4
    affected: fixed in V2.4 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
20 mo ago

Exploit prediction

0.46% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

  • n/a Kernel

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns 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.