CVE-2022-4744 Use after free in Kernel
A double-free flaw in the Linux kernel TUN/TAP driver allows local users to crash the system or escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-4744?
CVE-2022-4744 is a high-severity use after free vulnerability in Linux kernel, published on 30 Mar 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2022-4744?
It affects 1 product.
Linux distribution packages (40)
bpftool-debuginfo Red Hat:rhel_eus:9.0::appstream | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-debug-debuginfo Red Hat:rhel_eus:9.0::appstream | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-debug-devel Red Hat:rhel_eus:9.0::appstream | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-debug-devel-matched Red Hat:rhel_eus:9.0::appstream | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-debuginfo Red Hat:rhel_eus:9.0::appstream | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-debuginfo-common-aarch64 Red Hat:rhel_eus:9.0::appstream | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-debuginfo-common-ppc64le Red Hat:rhel_eus:9.0::appstream | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-debuginfo-common-s390x Red Hat:rhel_eus:9.0::appstream | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-debuginfo-common-x86_64 Red Hat:rhel_eus:9.0::appstream | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-devel Red Hat:rhel_eus:9.0::appstream | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-devel-matched Red Hat:rhel_eus:9.0::appstream | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-doc Red Hat:rhel_eus:9.0::appstream | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-tools-debuginfo Red Hat:rhel_eus:9.0::appstream | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-zfcpdump-debuginfo Red Hat:rhel_eus:9.0::appstream | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-zfcpdump-devel Red Hat:rhel_eus:9.0::appstream | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-zfcpdump-devel-matched Red Hat:rhel_eus:9.0::appstream | All versions | 0:5.14.0-70.50.2.el9_0 |
perf Red Hat:rhel_eus:9.0::appstream | All versions | 0:5.14.0-70.50.2.el9_0 |
perf-debuginfo Red Hat:rhel_eus:9.0::appstream | All versions | 0:5.14.0-70.50.2.el9_0 |
python3-perf-debuginfo Red Hat:rhel_eus:9.0::appstream | All versions | 0:5.14.0-70.50.2.el9_0 |
bpftool Red Hat:rhel_eus:9.0::baseos | All versions | 0:5.14.0-70.50.2.el9_0 |
bpftool-debuginfo Red Hat:rhel_eus:9.0::baseos | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel Red Hat:rhel_eus:9.0::baseos | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-abi-stablelists Red Hat:rhel_eus:9.0::baseos | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-core Red Hat:rhel_eus:9.0::baseos | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-debug Red Hat:rhel_eus:9.0::baseos | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-debug-core Red Hat:rhel_eus:9.0::baseos | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-debug-debuginfo Red Hat:rhel_eus:9.0::baseos | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-debug-modules Red Hat:rhel_eus:9.0::baseos | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-debug-modules-extra Red Hat:rhel_eus:9.0::baseos | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-debuginfo Red Hat:rhel_eus:9.0::baseos | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-debuginfo-common-aarch64 Red Hat:rhel_eus:9.0::baseos | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-debuginfo-common-ppc64le Red Hat:rhel_eus:9.0::baseos | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-debuginfo-common-s390x Red Hat:rhel_eus:9.0::baseos | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-debuginfo-common-x86_64 Red Hat:rhel_eus:9.0::baseos | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-modules Red Hat:rhel_eus:9.0::baseos | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-modules-extra Red Hat:rhel_eus:9.0::baseos | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-tools Red Hat:rhel_eus:9.0::baseos | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-tools-debuginfo Red Hat:rhel_eus:9.0::baseos | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-tools-libs Red Hat:rhel_eus:9.0::baseos | All versions | 0:5.14.0-70.50.2.el9_0 |
kernel-zfcpdump Red Hat:rhel_eus:9.0::baseos | All versions | 0:5.14.0-70.50.2.el9_0 |
Products include Linux kernel.
How do I fix CVE-2022-4744?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2022-4744 being exploited?
There is no known exploitation of CVE-2022-4744 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-4744, GHSA-5r2r-5wx4-7x33, RHSA-2023:1466, RHSA-2023:1467, RHSA-2023:1468, UBUNTU-CVE-2022-4744.