Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

dm integrity: fix memory corruption when tag_size is less than digest size

cve-program · severity unknownCVSS unknownCheck source for fixed versionsKEV status unknown

cve-program · CVE-2022-49044

Published

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.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2022-49044

Published

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/md/dm-integrity.c"
                    ],
                    "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"
                        }
                    ]
                }

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/md/dm-integrity.c"
                    ],
                    "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"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 22 Nov 04:54 UTC · 273 of 275 readable · 269 fully read · documentation 469/469 current