cve.bz

CVE-2022-4378 linux linux kernel: Out-of-bounds Write

7.8 highEPSS 0.4%

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

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

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.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 39th 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-04-10. 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-787 Out-of-bounds Write
CWE-131 Incorrect Calculation of Buffer Size
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-4378 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-4378?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-4378?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-4378 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 4.9.0 through 4.9.337
linux:linux_kernelfrom 4.14.0 through 4.14.302
linux:linux_kernelfrom 4.19.0 through 4.19.269
linux:linux_kernelfrom 5.4.0 through 5.4.228
linux:linux_kernelfrom 5.10.0 through 5.10.162
linux:linux_kernelfrom 5.15.0 through 5.15.86
linux:linux_kernelfrom 6.0.0 through 6.0.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux4.19.269-1DLA-3245-1
Debian10linux-5.105.10.158-2~deb10u1DLA-3244-1
Debian12, 13, 14linux6.0.12-1DEBIAN-CVE-2022-4378
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-4378
Ubuntu18.04:LTSlinux4.15.0-206.217USN-5920-1
Ubuntu18.04:LTSlinux-aws4.15.0-1151.164USN-5920-1
Ubuntu18.04:LTSlinux-dell300x4.15.0-1061.66USN-5920-1
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 11 moreno fix listedUBUNTU-CVE-2022-4378
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1146.162USN-5920-1
Ubuntu18.04:LTSlinux-oracle4.15.0-1115.126USN-5920-1
Ubuntu20.04:LTSlinux-aws-5.15, linux-riscv-5.155.15.0-1028.32~20.04.1UBUNTU-CVE-2022-4378 USN-5803-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1031.38~20.04.1UBUNTU-CVE-2022-4378 USN-5803-1
Ubuntu20.04:LTSlinux-azure-fde-5.155.15.0-1031.38~20.04.1.1UBUNTU-CVE-2022-4378
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1027.34~20.04.1UBUNTU-CVE-2022-4378 USN-5803-1
Ubuntu20.04:LTSlinux-gke-5.155.15.0-1027.32~20.04.1UBUNTU-CVE-2022-4378 USN-5877-1
61 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::client, enterprise_linux:7::workstationperf, kernel, bpftool and 16 more0:3.10.0-1160.88.1.el7RHSA-2023:1091
Red Hatenterprise_linux:7::computenodeperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 5 more0:3.10.0-1160.88.1.el7RHSA-2023:1091
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_76_1, kpatch-patch-3_10_0-1160_76_1-debuginfo0:1-3.el7RHSA-2023:1101
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_80_1, kpatch-patch-3_10_0-1160_81_1, kpatch-patch-3_10_0-1160_80_1-debuginfo and 1 more0:1-2.el7RHSA-2023:1101
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_83_1, kpatch-patch-3_10_0-1160_83_1-debuginfo0:1-1.el7RHSA-2023:1101
Red Hatenterprise_linux:7::serverperf, kernel, bpftool and 23 more0:3.10.0-1160.88.1.el7RHSA-2023:1091
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-425_10_1, kpatch-patch-4_18_0-425_10_1-debuginfo, kpatch-patch-4_18_0-425_10_1-debugsource0:1-4.el8_7RHSA-2023:1659
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-425_13_1, kpatch-patch-4_18_0-425_13_1-debuginfo, kpatch-patch-4_18_0-425_13_1-debugsource0:1-2.el8_7RHSA-2023:1659
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-425_3_1, kpatch-patch-4_18_0-425_3_1-debuginfo, kpatch-patch-4_18_0-425_3_1-debugsource0:1-6.el8RHSA-2023:1659
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-425.19.2.el8_7RHSA-2023:1566
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-425.19.2.el8_7RHSA-2023:1566
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-425.19.2.rt7.230.el8_7RHSA-2023:1584
55 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 2 morekernel-docs, kernel-syms, kernel-source and 2 more4.12.14-150100.197.131.1SUSE-SU-2022:4574-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 6 morekernel-default-base5.3.18-150200.24.139.1.150200.9.65.2SUSE-SU-2022:4589-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 3 morekernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.139.1SUSE-SU-2022:4589-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.106.1SUSE-SU-2022:4616-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 10 morekernel-default-base5.3.18-150300.59.106.1.150300.18.60.2SUSE-SU-2022:4616-1
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Live Patching 12 SP4kernel-default4.12.14-95.114.1SUSE-SU-2022:4615-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.144.1SUSE-SU-2022:4566-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Live Patching 15kernel-default4.12.14-150000.150.109.1SUSE-SU-2022:4573-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1kernel-default4.12.14-150100.197.131.1SUSE-SU-2022:4574-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.139.1SUSE-SU-2022:4589-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 2 morekernel-default5.3.18-150300.59.106.1SUSE-SU-2022:4616-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Module for Legacy 15 SP4 and 1 morekernel-default5.14.21-150400.24.38.1SUSE-SU-2022:4585-1
98 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.3dtb-aarch64, kernel-64kb, kernel-docs and 9 more5.3.18-150300.59.106.1SUSE-SU-2022:4616-1
openSUSELeap 15.3kernel-azure, kernel-syms-azure, kernel-source-azure5.3.18-150300.38.88.1SUSE-SU-2022:4503-1
openSUSELeap 15.3kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.3.18-150300.112.1SUSE-SU-2022:4613-1
openSUSELeap 15.3, Leap 15.4kernel-debug, kernel-default, kernel-vanilla and 2 more4.12.14-150100.197.131.1SUSE-SU-2022:4574-1
openSUSELeap 15.3, Leap Micro 5.2kernel-default-base5.3.18-150300.59.106.1.150300.18.60.2SUSE-SU-2022:4616-1
openSUSELeap 15.4dtb-aarch645.3.18-150300.59.106.1SUSE-SU-2022:4616-1
openSUSELeap 15.4dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150400.24.38.1SUSE-SU-2022:4585-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.28.1SUSE-SU-2022:4504-1
openSUSELeap 15.4kernel-default-base5.14.21-150400.24.38.1.150400.24.13.2SUSE-SU-2022:4585-1
openSUSELeap 15.4kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150400.15.5.1SUSE-SU-2022:4617-1
openSUSELeap Micro 5.2kernel-default5.3.18-150300.59.106.1SUSE-SU-2022:4616-1
openSUSELeap Micro 5.2kernel-rt5.3.18-150300.112.1SUSE-SU-2022:4613-1
AlmaLinux8kernel-rt, kernel-rt-kvm, kernel-rt-core and 9 more4.18.0-425.19.2.rt7.230.el8_7ALSA-2023:1584
AlmaLinux8perf, kernel, bpftool and 21 more4.18.0-425.19.2.el8_7ALSA-2023:1566
AlmaLinux9kernel-rt, kernel-rt-kvm, kernel-rt-core and 9 more5.14.0-162.18.1.rt21.181.el9_1ALSA-2023:0979
AlmaLinux9perf, kernel, bpftool and 24 more5.14.0-162.18.1.el9_1ALSA-2023:0951
Rocky Linux8kernel0:4.18.0-425.19.2.el8_7RLSA-2023:1566
Rocky Linux8kernel0:4.18.0-425.19.2.el8_7.cloudRXSA-2023:1566
Rocky Linux8kernel-rt0:4.18.0-425.19.2.rt7.230.el8_7RLSA-2023:1584
Rocky Linux9kernel0:5.14.0-162.18.1.el9_1.cloudRXSA-2023:0951
Rocky Linux9kernel-rt0:5.14.0-162.18.1.rt21.181.el9_1RLSA-2023:0979

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

To trigger this issue, the user needs some privileges (for example, access to the sysctl files), but usually less than root or CAP_NET_ADMIN.

Red Hat's mitigation

A possible workaround is preventing regular users from accessing sysctl files (such as /proc/sys/net/ipv4/tcp_rmem and similar). Also, preventing a user from increasing privileges with commands such as "unshare -rn" (that allows obtaining net namespace privileges required to access /proc/sys/net/ipv4/tcp_rmem).

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6 Extended Lifecycle Supportkernel-0:2.6.32-754.50.1.el6Fixed 2023-04-18RHSA-2023:1822
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-1160.88.1.rt56.1233.el7Fixed 2023-03-07RHSA-2023:1092
Red Hat Enterprise Linux 7kernel-0:3.10.0-1160.88.1.el7Fixed 2023-03-07RHSA-2023:1091
Red Hat Enterprise Linux 7kpatch-patchFixed 2023-03-07RHSA-2023:1101
Red Hat Enterprise Linux 7.4 Advanced Update Supportkernel-0:3.10.0-693.107.1.el7Fixed 2023-04-11RHSA-2023:1706
Red Hat Enterprise Linux 7.6 Advanced Update Supportkernel-0:3.10.0-957.100.1.el7Fixed 2023-04-11RHSA-2023:1705
Red Hat Enterprise Linux 7.7 Advanced Update Supportkernel-0:3.10.0-1062.71.1.el7Fixed 2023-02-28RHSA-2023:0944
Red Hat Enterprise Linux 7.7 Telco Extended Update Supportkernel-0:3.10.0-1062.71.1.el7Fixed 2023-02-28RHSA-2023:0944
Red Hat Enterprise Linux 7.7 Update Services for SAP Solutionskernel-0:3.10.0-1062.71.1.el7Fixed 2023-02-28RHSA-2023:0944
Red Hat Enterprise Linux 7.7 Update Services for SAP Solutionskpatch-patchFixed 2023-02-28RHSA-2023:0945
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-425.19.2.rt7.230.el8_7Fixed 2023-04-04RHSA-2023:1584
Red Hat Enterprise Linux 8kernel-0:4.18.0-425.19.2.el8_7Fixed 2023-04-04RHSA-2023:1566
Red Hat Enterprise Linux 8kpatch-patchFixed 2023-04-05RHSA-2023:1659
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionskernel-0:4.18.0-147.80.1.el8_1Fixed 2023-02-21RHSA-2023:0856
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionskpatch-patchFixed 2023-02-21RHSA-2023:0858
Red Hat Enterprise Linux 8.2 Advanced Update Supportkernel-0:4.18.0-193.100.1.el8_2Fixed 2023-03-07RHSA-2023:1109
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-rt-0:4.18.0-193.100.1.rt13.151.el8_2Fixed 2023-03-07RHSA-2023:1110
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-0:4.18.0-193.100.1.el8_2Fixed 2023-03-07RHSA-2023:1109
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionskpatch-patchFixed 2023-03-07RHSA-2023:1103
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionskernel-0:4.18.0-193.100.1.el8_2Fixed 2023-03-07RHSA-2023:1109
13 more in the JSON and on Red Hat's page.

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

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-105-08ABB M2M Gateway2025-04-07EnergyABB M2M Gateway ARM600, firmware versions = 4.1.2 <= 5.0.3, ABB M2M Gateway SW, software versions = 5.0.1 <= 5.0.3none listed
ICSA-23-166-10Siemens SIMATIC S7-1500 TM MFP BIOS2023-06-13MultipleSIMATIC S7-1500 TM MFP - BIOSnone 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.

Attack patterns (CAPEC)

  • CAPEC-47 Buffer Overflow via Parameter Expansion Likelihood: Medium · Severity: High
  • CAPEC-100 Overflow Buffers Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON