CVE-2022-49044
HIGHLinux Kernel 4.12-5.17.4 - Out-of-bounds Write in dm-integrity
Title source: llmDescription
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.
References (6)
Core 6
Core References
Scores
CVSS v3
7.8
EPSS
0.0027
EPSS Percentile
18.3%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-787
Status
published
Products (21)
linux/Kernel
4.12.0 - 4.19.240linux
linux/Kernel
4.20.0 - 5.4.190linux
linux/Kernel
5.11.0 - 5.15.35linux
linux/Kernel
5.16.0 - 5.17.4linux
linux/Kernel
5.5.0 - 5.10.112linux
Linux/Linux
< 4.12
Linux/Linux
4.12
Linux/Linux
4.19.240 - 4.19.*
Linux/Linux
5.10.112 - 5.10.*
Linux/Linux
5.15.35 - 5.15.*
... and 11 more
Published
Feb 26, 2025
Tracked Since
Feb 18, 2026