cve.bz

CVE-2022-2873 Incorrect Calculation of Buffer Size

5.5 mediumEPSS 0.3%

Medium (5.5). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
An out-of-bounds memory access flaw was found in the Linux kernel Intel’s iSMT SMBus host controller driver in the way a user triggers the I2C_SMBUS_BLOCK_DATA (with the ioctl I2C_SMBUS) with malicious input data. This flaw allows a local user to crash the system.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 25th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
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-2873 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-2873?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-2873?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-2873 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_kernelbefore 5.19
linux:linux_kernel5.19:rc1
linux:linux_kernel5.19:rc2
linux:linux_kernel5.19:rc3
linux:linux_kernel5.19:rc4
linux:linux_kernel5.19:rc5
linux:linux_kernel5.19:rc6
linux:linux_kernel5.19:rc7
fedoraproject:fedora36
redhat:enterprise_linux6.0
redhat:enterprise_linux7.0
redhat:enterprise_linux8.0
redhat:enterprise_linux9.0
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux4.19.282-1DLA-3403-1
Debian10linux-5.105.10.162-1~deb10u1DLA-3349-1
Debian11linux5.10.162-1DSA-5324-1
Debian12, 13, 14linux6.1.4-1DEBIAN-CVE-2022-2873
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-2873
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 11 moreno fix listedUBUNTU-CVE-2022-2873
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1019.23~20.04.1UBUNTU-CVE-2022-2873 USN-5594-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1019.24~20.04.1UBUNTU-CVE-2022-2873 USN-5594-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1017.23~20.04.2UBUNTU-CVE-2022-2873 USN-5594-1
Ubuntu20.04:LTSlinux-gke-5.155.15.0-1015.18~20.04.1UBUNTU-CVE-2022-2873 USN-5594-1
Ubuntu20.04:LTSlinux-hwe-5.15, linux-lowlatency-hwe-5.155.15.0-48.54~20.04.1UBUNTU-CVE-2022-2873 USN-5623-1
Ubuntu20.04:LTSlinux-intel-iotg-5.155.15.0-1015.20~20.04.2UBUNTU-CVE-2022-2873
Ubuntu20.04:LTSlinux-oem-5.145.14.0-1044.49UBUNTU-CVE-2022-2873
Ubuntu20.04:LTSlinux-oracle-5.155.15.0-1017.22~20.04.1UBUNTU-CVE-2022-2873
Ubuntu20.04:LTSlinux-riscv, linux-raspi2, linux-aws-5.8 and 20 moreno fix listedUBUNTU-CVE-2022-2873
Ubuntu20.04:LTSlinux-riscv-5.155.15.0-1018.21~20.04.1UBUNTU-CVE-2022-2873
18 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-425.13.1.el8_7RHSA-2023:0832
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-425.13.1.el8_7RHSA-2023:0832
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-425.13.1.rt7.223.el8_7RHSA-2023:0854
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-425.13.1.rt7.223.el8_7RHSA-2023:0854
Red Hatenterprise_linux:9::appstreamperf, kernel-doc, kernel-devel and 16 more0:5.14.0-162.18.1.el9_1RHSA-2023:0951
Red Hatenterprise_linux:9::baseoskernel, bpftool, kernel-core and 25 more0:5.14.0-162.18.1.el9_1RHSA-2023:0951
Red Hatenterprise_linux:9::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 9 more0:5.14.0-162.18.1.el9_1RHSA-2023:0951
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:5.14.0-162.18.1.rt21.181.el9_1RHSA-2023:0979
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:5.14.0-162.18.1.rt21.181.el9_1RHSA-2023:0979
Red Hatrhel_eus:8.6::baseosperf, kernel, bpftool and 30 more0:4.18.0-372.75.1.el8_6RHSA-2023:5627
Red Hatrhel_eus:8.6::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-372.75.1.el8_6RHSA-2023:5627
Red Hatrhev_hypervisor:4.4::el8perf, kernel-devel, perf-debuginfo and 6 more0:4.18.0-372.75.1.el8_6RHSA-2023:5627
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.21.2SUSE-SU-2022:3293-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4-RT_Update_11-150400.1.3.1SUSE-SU-2022:4617-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_31-150400.9.3.2SUSE-SU-2022:3293-1
SUSELinux Enterprise Module for Basesystem 15 SP4kernel-64kb, kernel-source, kernel-default and 1 more5.14.21-150400.24.21.2SUSE-SU-2022:3293-1
SUSELinux Enterprise Module for Basesystem 15 SP4kernel-default-base5.14.21-150400.24.21.2.150400.24.7.2SUSE-SU-2022:3293-1
SUSELinux Enterprise Module for Development Tools 15 SP4kernel-docs5.14.21-150400.24.21.3SUSE-SU-2022:3293-1
SUSELinux Enterprise Module for Development Tools 15 SP4kernel-source, kernel-obs-build5.14.21-150400.24.21.2SUSE-SU-2022:3293-1
SUSELinux Enterprise Module for Development Tools 15 SP4kernel-syms5.14.21-150400.24.21.1SUSE-SU-2022:3293-1
SUSELinux Enterprise Module for Public Cloud 15 SP4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.13.1SUSE-SU-2022:3288-1
SUSEReal Time Module 15 SP4kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150400.15.5.1SUSE-SU-2022:4617-1
openSUSELeap 15.4dtb-aarch64, kernel-syms, kernel-obs-qa5.14.21-150400.24.21.1SUSE-SU-2022:3293-1
openSUSELeap 15.4kernel-64kb, kernel-debug, kernel-source and 4 more5.14.21-150400.24.21.2SUSE-SU-2022:3293-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.13.1SUSE-SU-2022:3288-1
openSUSELeap 15.4kernel-default-base5.14.21-150400.24.21.2.150400.24.7.2SUSE-SU-2022:3293-1
openSUSELeap 15.4kernel-docs5.14.21-150400.24.21.3SUSE-SU-2022:3293-1
openSUSELeap 15.4kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150400.15.5.1SUSE-SU-2022:4617-1
AlmaLinux8kernel-rt, kernel-rt-kvm, kernel-rt-core and 9 more4.18.0-425.13.1.rt7.223.el8_7ALSA-2023:0854
AlmaLinux8perf, kernel, bpftool and 21 more4.18.0-425.13.1.el8_7ALSA-2023:0832
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.13.1.el8_7RLSA-2023:0832
Rocky Linux8kernel0:4.18.0-425.13.1.el8_7.cloudRXSA-2023:0832
Rocky Linux8kernel-rt0:4.18.0-425.13.1.rt7.223.el8_7RLSA-2023:0854
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
Azure Linux2kernel5.15.70.1-1AZL-10617

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; Microsoft's Azure Linux vulnerability data, MIT. 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 Moderate.

Red Hat's mitigation

To mitigate this issue, prevent module i2c-ismt from being loaded. Please see https://access.redhat.com/solutions/41278 for information on how to blacklist a kernel module to prevent it from loading automatically.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-425.13.1.rt7.223.el8_7Fixed 2023-02-21RHSA-2023:0854
Red Hat Enterprise Linux 8kernel-0:4.18.0-425.13.1.el8_7Fixed 2023-02-21RHSA-2023:0832
Red Hat Enterprise Linux 8.6 Extended Update Supportkernel-0:4.18.0-372.75.1.el8_6Fixed 2023-10-10RHSA-2023:5627
Red Hat Enterprise Linux 9kernel-0:5.14.0-162.18.1.el9_1Fixed 2023-02-28RHSA-2023:0951
Red Hat Enterprise Linux 9kernel-rt-0:5.14.0-162.18.1.rt21.181.el9_1Fixed 2023-02-28RHSA-2023:0979
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8kernel-0:4.18.0-372.75.1.el8_6Fixed 2023-10-10RHSA-2023:5627
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope

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

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