CVE-2022-4378 Memory corruption in kernel

High 7.8 Published Updated

A local attacker can exploit a stack overflow in the Linux kernel SYSCTL subsystem 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-4378?

CVE-2022-4378 is a high-severity memory corruption vulnerability in Linux kernel, published on 5 Jan 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A stack overflow flaw was found in the Linux kernel's SYSCTL subsystem in how a user changes certain kernel parameters and variables. This flaw allows a local user to crash or potentially escalate their privileges on the system.

Weakness: CWE-787, CWE-131

Which versions are affected by CVE-2022-4378?

It affects 1 product.

Linux distribution packages (40)
kpatch-patch-3_10_0-1160_76_1 Red Hat:enterprise_linux:7::serverAll versions0:1-3.el7
kpatch-patch-3_10_0-1160_76_1-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:1-3.el7
kpatch-patch-3_10_0-1160_80_1 Red Hat:enterprise_linux:7::serverAll versions0:1-2.el7
kpatch-patch-3_10_0-1160_80_1-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:1-2.el7
kpatch-patch-3_10_0-1160_81_1 Red Hat:enterprise_linux:7::serverAll versions0:1-2.el7
kpatch-patch-3_10_0-1160_81_1-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:1-2.el7
kpatch-patch-3_10_0-1160_83_1 Red Hat:enterprise_linux:7::serverAll versions0:1-1.el7
kpatch-patch-3_10_0-1160_83_1-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:1-1.el7
kernel Red Hat:rhel_aus:7.4::serverAll versions0:3.10.0-693.107.1.el7
kernel-abi-whitelists Red Hat:rhel_aus:7.4::serverAll versions0:3.10.0-693.107.1.el7
kernel-debug Red Hat:rhel_aus:7.4::serverAll versions0:3.10.0-693.107.1.el7
kernel-debug-debuginfo Red Hat:rhel_aus:7.4::serverAll versions0:3.10.0-693.107.1.el7
kernel-debug-devel Red Hat:rhel_aus:7.4::serverAll versions0:3.10.0-693.107.1.el7
kernel-debuginfo Red Hat:rhel_aus:7.4::serverAll versions0:3.10.0-693.107.1.el7
kernel-debuginfo-common-x86_64 Red Hat:rhel_aus:7.4::serverAll versions0:3.10.0-693.107.1.el7
kernel-devel Red Hat:rhel_aus:7.4::serverAll versions0:3.10.0-693.107.1.el7
kernel-doc Red Hat:rhel_aus:7.4::serverAll versions0:3.10.0-693.107.1.el7
kernel-tools Red Hat:rhel_aus:7.4::serverAll versions0:3.10.0-693.107.1.el7
kernel-tools-debuginfo Red Hat:rhel_aus:7.4::serverAll versions0:3.10.0-693.107.1.el7
kernel-tools-libs Red Hat:rhel_aus:7.4::serverAll versions0:3.10.0-693.107.1.el7
kernel-tools-libs-devel Red Hat:rhel_aus:7.4::serverAll versions0:3.10.0-693.107.1.el7
perf Red Hat:rhel_aus:7.4::serverAll versions0:3.10.0-693.107.1.el7
perf-debuginfo Red Hat:rhel_aus:7.4::serverAll versions0:3.10.0-693.107.1.el7
python-perf Red Hat:rhel_aus:7.4::serverAll versions0:3.10.0-693.107.1.el7
python-perf-debuginfo Red Hat:rhel_aus:7.4::serverAll versions0:3.10.0-693.107.1.el7
bpftool Red Hat:rhel_aus:7.6::serverAll versions0:3.10.0-957.100.1.el7
kernel Red Hat:rhel_aus:7.6::serverAll versions0:3.10.0-957.100.1.el7
kernel-abi-whitelists Red Hat:rhel_aus:7.6::serverAll versions0:3.10.0-957.100.1.el7
kernel-debug Red Hat:rhel_aus:7.6::serverAll versions0:3.10.0-957.100.1.el7
kernel-debug-debuginfo Red Hat:rhel_aus:7.6::serverAll versions0:3.10.0-957.100.1.el7
kernel-debug-devel Red Hat:rhel_aus:7.6::serverAll versions0:3.10.0-957.100.1.el7
kernel-debuginfo Red Hat:rhel_aus:7.6::serverAll versions0:3.10.0-957.100.1.el7
kernel-debuginfo-common-x86_64 Red Hat:rhel_aus:7.6::serverAll versions0:3.10.0-957.100.1.el7
kernel-devel Red Hat:rhel_aus:7.6::serverAll versions0:3.10.0-957.100.1.el7
kernel-doc Red Hat:rhel_aus:7.6::serverAll versions0:3.10.0-957.100.1.el7
kernel-tools Red Hat:rhel_aus:7.6::serverAll versions0:3.10.0-957.100.1.el7
kernel-tools-debuginfo Red Hat:rhel_aus:7.6::serverAll versions0:3.10.0-957.100.1.el7
kernel-tools-libs Red Hat:rhel_aus:7.6::serverAll versions0:3.10.0-957.100.1.el7
kernel-tools-libs-devel Red Hat:rhel_aus:7.6::serverAll versions0:3.10.0-957.100.1.el7
perf Red Hat:rhel_aus:7.6::serverAll versions0:3.10.0-957.100.1.el7

Products include Linux kernel.

How do I fix CVE-2022-4378?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-4378 being exploited?

There is no known exploitation of CVE-2022-4378 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-4378, GHSA-v2c8-m646-2q5c, RHSA-2023:0944, RHSA-2023:0945, RHSA-2023:1101, RHSA-2023:1103 and 7 more.

Is CVE-2022-4378 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free