cve.bz

CVE-2022-4744 linux linux kernel: Double Free

7.8 highEPSS 0.5%

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

On this page
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.

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
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 40th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-02-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-415 Double Free
CWE-460 Improper Cleanup on Thrown Exception
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
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-4744 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-4744?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-4744?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-4744 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.5 before 5.10.136
linux:linux_kernelfrom 5.11 before 5.15.12

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux4.19.282-1DLA-3403-1
Debian12, 13, 14linux5.15.15-1DEBIAN-CVE-2022-4744
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-4744
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2022-4744
Ubuntu20.04:LTSlinux-oem-5.145.14.0-1022.24UBUNTU-CVE-2022-4744
Ubuntu20.04:LTSlinux-riscv, linux-raspi2, linux-aws-5.8 and 20 moreno fix listedUBUNTU-CVE-2022-4744
Ubuntu22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2022-4744
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-513.5.1.rt7.307.el8_9RHSA-2023:6901
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-513.5.1.rt7.307.el8_9RHSA-2023:6901
Red Hatenterprise_linux:9::appstreamperf, kernel-doc, kernel-devel and 16 more0:5.14.0-162.22.2.el9_1RHSA-2023:1470
Red Hatenterprise_linux:9::baseoskernel, bpftool, kernel-core and 25 more0:5.14.0-162.22.2.el9_1RHSA-2023:1470
Red Hatenterprise_linux:9::baseoskpatch-patch-5_14_0-162_12_1, kpatch-patch-5_14_0-162_12_1-debuginfo, kpatch-patch-5_14_0-162_12_1-debugsource0:1-2.el9_1RHSA-2023:1471
Red Hatenterprise_linux:9::baseoskpatch-patch-5_14_0-162_18_1, kpatch-patch-5_14_0-162_18_1-debuginfo, kpatch-patch-5_14_0-162_18_1-debugsource0:1-1.el9_1RHSA-2023:1471
Red Hatenterprise_linux:9::baseoskpatch-patch-5_14_0-162_6_1, kpatch-patch-5_14_0-162_6_1-debuginfo, kpatch-patch-5_14_0-162_6_1-debugsource0:1-3.el9_1RHSA-2023:1471
Red Hatenterprise_linux:9::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 9 more0:5.14.0-162.22.2.el9_1RHSA-2023:1470
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:5.14.0-162.22.2.rt21.186.el9_1RHSA-2023:1469
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:5.14.0-162.22.2.rt21.186.el9_1RHSA-2023:1469
12 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS and 1 morekernel-default-base5.3.18-150200.24.148.1.150200.9.71.1SUSE-SU-2023:1800-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS and 1 morekernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.148.1SUSE-SU-2023:1800-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.118.1SUSE-SU-2023:1811-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 7 morekernel-default-base5.3.18-150300.59.118.1.150300.18.68.1SUSE-SU-2023:1811-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.158.1SUSE-SU-2024:1489-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.158.1.150300.18.92.5SUSE-SU-2024:1489-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.148.1SUSE-SU-2023:1800-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.188.1SUSE-SU-2024:1454-1
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.118.1SUSE-SU-2023:1811-1
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.158.1SUSE-SU-2024:1489-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 1 morekernel-default5.14.21-150400.24.116.1SUSE-SU-2024:1321-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 3 morekernel-default5.14.21-150400.24.60.1SUSE-SU-2023:1897-1
57 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4dtb-aarch645.3.18-150300.59.118.1SUSE-SU-2023:1811-1
openSUSELeap 15.4dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150400.24.60.1SUSE-SU-2023:1897-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.43.1SUSE-SU-2023:1802-1
openSUSELeap 15.4kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150400.15.23.1SUSE-SU-2023:1992-1
openSUSELeap 15.4, Leap Micro 5.3kernel-default-base5.14.21-150400.24.60.1.150400.24.24.3SUSE-SU-2023:1897-1
openSUSELeap 15.5dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150500.55.59.1SUSE-SU-2024:1480-1
openSUSELeap 15.5dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150500.55.7.1SUSE-SU-2023:2871-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.3.1SUSE-SU-2023:2646-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.48.1SUSE-SU-2024:1490-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.59.1.150500.6.25.7SUSE-SU-2024:1480-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.7.1.150500.6.2.5SUSE-SU-2023:2871-1
openSUSELeap 15.5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.47.1SUSE-SU-2024:1466-1
5 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8perf, kernel, bpftool and 22 more4.18.0-513.5.1.el8_9ALSA-2023:7077
AlmaLinux9kernel-rt, kernel-rt-kvm, kernel-rt-core and 9 more5.14.0-162.22.2.rt21.186.el9_1ALSA-2023:1469
AlmaLinux9perf, kernel, bpftool and 24 more5.14.0-162.22.2.el9_1ALSA-2023:1470
Rocky Linux9kernel0:5.14.0-162.22.2.el9_1RLSA-2023:1470
Rocky Linux9kernel-rt0:5.14.0-162.22.2.rt21.186.el9_1RLSA-2023:1469

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

Keeping Red Hat Enterprise Linux version 8 with Moderate severity, because required patch 158b515f703e (see reference) missed. However, currently Red Hat Enterprise Linux version 8 not affected, because previous patch not backported too: 766b0515d5be ("net: make sure devices go through netdev_wait_all_refs"). Means that it is not possible to trigger the issue for the Red Hat Enterprise Linux 8, but potentially Red Hat Enterprise Linux version 8 could be vulnerable in future, so still need to fix. For the Red Hat Enterprise Linux version 9 there is known way to reproduce the issue.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-513.5.1.rt7.307.el8_9Fixed 2023-11-14RHSA-2023:6901
Red Hat Enterprise Linux 8kernel-0:4.18.0-513.5.1.el8_9Fixed 2023-11-14RHSA-2023:7077
Red Hat Enterprise Linux 8.8 Extended Update Supportkernel-0:4.18.0-477.51.1.el8_8Fixed 2024-03-19RHSA-2024:1404
Red Hat Enterprise Linux 9kernel-0:5.14.0-162.22.2.el9_1Fixed 2023-03-27RHSA-2023:1470
Red Hat Enterprise Linux 9kernel-rt-0:5.14.0-162.22.2.rt21.186.el9_1Fixed 2023-03-27RHSA-2023:1469
Red Hat Enterprise Linux 9kpatch-patchFixed 2023-03-27RHSA-2023:1471
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-0:5.14.0-70.50.2.el9_0Fixed 2023-03-27RHSA-2023:1468
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-rt-0:5.14.0-70.50.2.rt21.122.el9_0Fixed 2023-03-27RHSA-2023:1467
Red Hat Enterprise Linux 9.0 Extended Update Supportkpatch-patchFixed 2023-03-27RHSA-2023:1466
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Virtualization 4redhat-virtualization-hostAffected

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

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 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