{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-138926",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.904Z",
        "datePublished": "2026-11-30T13:26:16.203Z",
        "dateUpdated": "2026-11-30T13:26:16.203Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:26:16.203Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndm: fix a bug in dm_accept_partial_bio\n\ndm-writecache doesn't work in pmem mode - mkfs.ext4 and the following\nfsck.ext4 fail with data corruption reported.\n\nThe commit 7dd76d1feec7 (\"dm: improve bio splitting and associated IO\naccounting\") introduced a latent bug in dm_accept_partial_bio - it set\ntio->io->sectors = n_sectors;. This is incorrect, according to the\ndiagram in the source code at dm_accept_partial_bio, it should be the\nsize of regions 1+2, not the region 2 alone.\n\nThe latent bug become real bug with the commit 8b211aaccb91 (\"dm: add two\nstage requeue mechanism\").\n\ndm-writecache in pmem mode is the only target that actually advances bio\nwith bio_advance and then calls dm_accept_partial_bio (so, the region 1\nis non-empty). All the other targets call dm_accept_partial_bio with\nregion 1 empty, so bug went unnoticed for so long."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/md/dm.c"
                    ],
                    "versions": [
                        {
                            "version": "8b211aaccb915bbf4f4a68f1910c4de701df393b",
                            "lessThan": "423436c324664aa98dcfca2042832eba3a9c746d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8b211aaccb915bbf4f4a68f1910c4de701df393b",
                            "lessThan": "182b0763365ddf3a7254a6df7a125ebb361499a2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8b211aaccb915bbf4f4a68f1910c4de701df393b",
                            "lessThan": "ae3cf25c6fbed9ad71d5cdb5409d0f5f9bdd9d51",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8b211aaccb915bbf4f4a68f1910c4de701df393b",
                            "lessThan": "affc1ebd65f517897f1c092fb87f2c42f0fc41f5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8b211aaccb915bbf4f4a68f1910c4de701df393b",
                            "lessThan": "16802c8e3d7f63833f8bb96d159450544c529e50",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8b211aaccb915bbf4f4a68f1910c4de701df393b",
                            "lessThan": "a279804752e6c767b7f9ecbb32a15bdfd2b80aea",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/md/dm.c"
                    ],
                    "versions": [
                        {
                            "version": "6.0",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.0",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.117",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.63",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.4",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.12.117"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.18.63"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/423436c324664aa98dcfca2042832eba3a9c746d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/182b0763365ddf3a7254a6df7a125ebb361499a2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ae3cf25c6fbed9ad71d5cdb5409d0f5f9bdd9d51"
                },
                {
                    "url": "https://git.kernel.org/stable/c/affc1ebd65f517897f1c092fb87f2c42f0fc41f5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/16802c8e3d7f63833f8bb96d159450544c529e50"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a279804752e6c767b7f9ecbb32a15bdfd2b80aea"
                }
            ],
            "title": "dm: fix a bug in dm_accept_partial_bio",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}