CVE-2022-49044 json
dm integrity: fix memory corruption when tag_size is less than digest size
published 2025-02-26 20 mo ago modified 2026-08-13 2 mo ago also EUVD-2022-55159
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 20%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
dm integrity: fix memory corruption when tag_size is less than digest size
It is possible to set up dm-integrity in such a way that the "tag_size" parameter is less than the actual digest size. In this situation, a part of the digest beyond tag_size is ignored.
In this case, dm-integrity would write beyond the end of the ic->recalc_tags array and corrupt memory. The corruption happened in integrity_recalc->integrity_sector_checksum->crypto_shash_final.
Fix this corruption by increasing the tags array so that it has enough padding at the end to accomodate the loop in integrity_recalc() being able to write a full digest size for the last member of the tags array.
Patch / fix
- Linux Linux 4.19.240, 5.4.190, 5.10.112, 5.15.35, 5.17.4, 5.18
- linux Debian 14, Debian 13, Debian 12 5.17.6-1
debian advisories DEBIAN-CVE-2022-49044
- linux Ubuntu 20.04 LTS 5.4.0-122.138
- linux Ubuntu 22.04 LTS 5.15.0-37.39
- linux-aws Ubuntu 20.04 LTS 5.4.0-1081.88
- linux-aws Ubuntu 22.04 LTS 5.15.0-1011.14
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1084.92
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1008.12
- linux-gke Ubuntu 22.04 LTS 5.15.0-1008.10
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1029.33
ubuntu advisories UBUNTU-CVE-2022-49044
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 8 4.18.0-425.3.1.el8
- perf RHEL 8 4.18.0-425.3.1.el8
- bpftool RHEL 8 4.18.0-425.3.1.el8
- kernel-core RHEL 8 4.18.0-425.3.1.el8
- kernel-tools RHEL 8 4.18.0-425.3.1.el8
- python3-perf RHEL 8 4.18.0-425.3.1.el8
- kernel-modules RHEL 8 4.18.0-425.3.1.el8
- kernel-zfcpdump RHEL 8 4.18.0-425.3.1.el8
red hat advisories RHSA-2022:7683RHSA-2022:5249RHSA-2022:5564
- kernel-64kb SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS, Enterprise Storage 7.1 5.3.18-150300.59.201.1
- kernel-syms SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.201.1
- kernel-source SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.201.1
- kernel-default SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +5 more 5.3.18-150300.59.201.1
- kernel-preempt SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.201.1
- kernel-obs-build SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.201.1
- kernel-default-base SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +3 more 5.3.18-150300.59.201.1.150300.18.120.1
- kernel-64kb SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS, SLE High Performance Computing 15 SP5-ESPOS 5.14.21-150500.55.100.1
suse advisories SUSE-SU-2025:01600-1SUSE-SU-2025:1263-1SUSE-SU-2025:1241-1SUSE-SU-2025:1194-1SUSE-SU-2025:1183-1SUSE-SU-2025:1176-1
- git.kernel.org/stable/c/6a95d91c0b315c965198f6ab7dec7c94129e17e0 commit
- git.kernel.org/stable/c/7f84c937222944c03f4615ca4742df6bed0e5adf commit
- git.kernel.org/stable/c/cd02b2687d66f0a8e716384de4b9a0671331f1dc commit
- git.kernel.org/stable/c/6b4bf97587ef6c1927a78934b700204920655123 commit
- git.kernel.org/stable/c/4d485cf9b609709e45d5113e6e2b1b01254b2fe9 commit
- git.kernel.org/stable/c/08c1af8f1c13bbf210f1760132f4df24d0ed46d6 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-49044 updated cvss 7.3
kernel: dm integrity: fix memory corruption when tag_size is less than digest size
-
Red Hat Enterprise Linux 8 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +6 more Red Hat Enterprise Linux 9 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +12 moreaffected: no fix available
-
Red Hat CodeReady Linux Builder (v. 8) kernel-debuginfo-common-x86_64 4.18.0-425.3.1.el8, kernel-debuginfo-common-aarch64 4.18.0-425.3.1.el8, kernel-debuginfo-common-ppc64le 4.18.0-425.3.1.el8fixed: vendor fix RHSA-2022:7683
-
Red Hat CodeReady Linux Builder (v. 9) kernel-debuginfo-common-s390x 5.14.0-70.17.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.17.1.el9_0, kernel-debuginfo-common-aarch64 5.14.0-70.17.1.el9_0, kernel-debuginfo-common-ppc64le 5.14.0-70.17.1.el9_0 Red Hat Enterprise Linux AppStream (v. 9) perf 5.14.0-70.17.1.el9_0, kernel-devel-matched 5.14.0-70.17.1.el9_0, kernel-debug-devel-matched 5.14.0-70.17.1.el9_0, kernel-debuginfo-common-s390x 5.14.0-70.17.1.el9_0, kernel-zfcpdump-devel-matched 5.14.0-70.17.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.17.1.el9_0, +2 morefixed: vendor fix RHSA-2022:5249
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-425.3.1.el8, kernel 4.18.0-425.3.1.el8, bpftool 4.18.0-425.3.1.el8, perf 4.18.0-372.16.1.el8_6, kernel 4.18.0-372.16.1.el8_6, bpftool 4.18.0-372.16.1.el8_6, +36 morefixed: vendor fix RHSA-2022:5564
-
Red Hat Enterprise Linux BaseOS (v. 9) kernel 5.14.0-70.17.1.el9_0, bpftool 5.14.0-70.17.1.el9_0, kernel-core 5.14.0-70.17.1.el9_0, kernel-tools 5.14.0-70.17.1.el9_0, python3-perf 5.14.0-70.17.1.el9_0, kernel-modules 5.14.0-70.17.1.el9_0, +14 morefixed: vendor fix RHSA-2022:5249
-
Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-372.16.1.el8_6, kernel-debuginfo-common-aarch64 4.18.0-372.16.1.el8_6, kernel-debuginfo-common-ppc64le 4.18.0-372.16.1.el8_6 Red Hat Virtualization 4 Hypervisor for RHEL 8 perf 4.18.0-372.16.1.el8_6, kernel-debuginfo-common-x86_64 4.18.0-372.16.1.el8_6fixed: vendor fix RHSA-2022:5564
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.28% chance of exploitation in the next 30 days, higher than 20% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
- Technology feeds
References
-
git.kernel.org
/stable/c/6a95d91c0b315c965198f6ab7dec7c94129e17e0
patch
-
git.kernel.org
/stable/c/7f84c937222944c03f4615ca4742df6bed0e5adf
patch
-
git.kernel.org
/stable/c/cd02b2687d66f0a8e716384de4b9a0671331f1dc
patch
-
git.kernel.org
/stable/c/6b4bf97587ef6c1927a78934b700204920655123
patch
-
git.kernel.org
/stable/c/4d485cf9b609709e45d5113e6e2b1b01254b2fe9
patch
-
git.kernel.org
/stable/c/08c1af8f1c13bbf210f1760132f4df24d0ed46d6
patch
Sources
- CVE List CVE-2022-49044
- NVD CVE-2022-49044
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.