CVE-2022-49044
HighIn 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.
CVSS 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-787CVE-2022-49044 is a Out-of-bounds Write vulnerability
What is Out-of-bounds Write?
The product writes data past the end or before the beginning of the intended buffer. Learn more on MITRE CWE
Affected versions
Linux kernel versions
4.12
and later are affected. Fixed in
4.19.240,
5.4.190,
5.10.112,
5.15.35,
5.17.4,
5.18
and their respective stable series.
References
The following references provide additional information about CVE-2022-49044 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/08c1af8f1c13bbf210f1760132f4df24d0ed46d6
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4d485cf9b609709e45d5113e6e2b1b01254b2fe9
-
PatchKernel patch commithttps://git.kernel.org/stable/c/6a95d91c0b315c965198f6ab7dec7c94129e17e0
Frequently asked questions
-
What is CVE-2022-49044?
CVE-2022-49044 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 , classified as an Out-of-bounds Write flaw (CWE-787) . It affects Linux kernel versions from 4.12 onward and has been patched in 4.19.240, 5.4.190, 5.10.112 and others. CVE-2022-49044 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-49044?
CVE-2022-49044 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2022-49044?
Yes — CVE-2022-49044 has been patched. Fixed versions include 4.19.240, 5.4.190, 5.10.112 and others. If you are running Linux kernel 4.12 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-49044 actively exploited?
No — CVE-2022-49044 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Out-of-bounds Write (CWE-787)?
The product writes data past the end or before the beginning of the intended buffer. View CWE-787 on MITRE CWE →