{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49044","id":"CVE-2022-49044","title":"dm integrity: fix memory corruption when tag_size is less than digest size","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm integrity: fix memory corruption when tag_size is less than digest size\n\nIt is possible to set up dm-integrity in such a way that the\n\"tag_size\" parameter is less than the actual digest size. In this\nsituation, a part of the digest beyond tag_size is ignored.\n\nIn this case, dm-integrity would write beyond the end of the\nic->re","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm integrity: fix memory corruption when tag_size is less than digest size\n\nIt is possible to set up dm-integrity in such a way that the\n\"tag_size\" parameter is less than the actual digest size. In this\nsituation, a part of the digest beyond tag_size is ignored.\n\nIn this case, dm-integrity would write beyond the end of the\nic->recalc_tags array and corrupt memory. The corruption happened in\nintegrity_recalc->integrity_sector_checksum->crypto_shash_final.\n\nFix this corruption by increasing the tags array so that it has enough\npadding at the end to accomodate the loop in integrity_recalc() being\nable to write a full digest size for the last member of the tags\narray.","published":"2025-02-26T01:54:21.389Z","updated":"2026-10-28T02:30:56.192457691Z","reserved":"2025-02-26T01:49:39.241Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a3fcf7253139609bf9ff901fbf955fba047e75dd","lessThan":"6a95d91c0b315c965198f6ab7dec7c94129e17e0","status":"affected","versionType":"git"},{"version":"a3fcf7253139609bf9ff901fbf955fba047e75dd","lessThan":"7f84c937222944c03f4615ca4742df6bed0e5adf","status":"affected","versionType":"git"},{"version":"a3fcf7253139609bf9ff901fbf955fba047e75dd","lessThan":"cd02b2687d66f0a8e716384de4b9a0671331f1dc","status":"affected","versionType":"git"},{"version":"a3fcf7253139609bf9ff901fbf955fba047e75dd","lessThan":"6b4bf97587ef6c1927a78934b700204920655123","status":"affected","versionType":"git"},{"version":"a3fcf7253139609bf9ff901fbf955fba047e75dd","lessThan":"4d485cf9b609709e45d5113e6e2b1b01254b2fe9","status":"affected","versionType":"git"},{"version":"a3fcf7253139609bf9ff901fbf955fba047e75dd","lessThan":"08c1af8f1c13bbf210f1760132f4df24d0ed46d6","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.19","status":"affected"},{"version":"0","lessThan":"4.19","status":"unaffected","versionType":"semver"},{"version":"4.19.240","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.190","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.112","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.35","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.17.4","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-787"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/6a95d91c0b315c965198f6ab7dec7c94129e17e0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7f84c937222944c03f4615ca4742df6bed0e5adf","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/cd02b2687d66f0a8e716384de4b9a0671331f1dc","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6b4bf97587ef6c1927a78934b700204920655123","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4d485cf9b609709e45d5113e6e2b1b01254b2fe9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/08c1af8f1c13bbf210f1760132f4df24d0ed46d6","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49044.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49044","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00282,"epssPercentile":0.2105,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49044","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49044","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49044","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49044","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}