{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143023",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.343Z",
        "datePublished": "2026-12-03T09:17:58.252Z",
        "dateUpdated": "2026-12-04T03:27:20.567Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-04T03:27:20.567Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndm persistent data: don't ignore writeback errors\n\nAn error returned by ie_cache_writeback could be silently overwritten by\nanother successful ie_cache_writeback. This commit fixes disk_ll_commit,\nso that it doesn't ignore the error and returns it immediatelly."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - disk_ll_commit() is reached from the dm-thin worker commit() via dm_pool_commit_metadata(), __commit_transaction() and dm_sm_commit() on the data space map (sm_disk_commit(), sm_ll_commit()), driven by local thin_bio_map() flushes and alloc_data_block() writeback. No remote protocol message carries the index entry.\nAC:H - disk_ll_commit() loses the error only when an earlier ie_cache_writeback()'s dm_btree_insert() fails and a later slot still returns 0. Overwrite shadows of refcount-1 index nodes are net-zero, so a metadata-full ENOSPC fails every remaining dm_sm_new_block() and the last errno is returned. The mixed result needs a one-slot dm_bm_read_lock() EIO or node_check failure the writer cannot cause.\nPR:L - thin_bio_map() queues the write or REQ_PREFLUSH with no capability check and do_worker()/process_deferred_bios() commits it. An unprivileged user who can write a thin-backed filesystem reaches disk_ll_commit(); creating the pool is the existing deployment, not a CAP_SYS_ADMIN step on this path.\nUI:N - That writer dirties ie_cache slots via alloc_data_block()/sm_ll_insert() and reaches disk_ll_commit() with their own flush or the pool COMMIT_PERIOD waker. No other user has to mount media or load a device-mapper table.\nS:U - The lost update is a disk_index_entry in the host pool's data-space-map btree, and sm_disk_new_block() reissues a thin-pool data block in the same security authority. It does not cross a guest/host or IOMMU boundary.\nC:H - Once the failed ie_cache_writeback() is left clean, disk_ll_load_ie() reloads the pre-shadow disk_index_entry. sm_ll_find_common_free_block() then returns a data block the mapping btree still owns, so a read of the block dm_pool_alloc_data_block() reissues discloses the other thin device's data.\nI:H - provision_block() writes through that reissued mapping and overwrites the original thin device's block, and __commit_transaction() has already persisted the mismatched nr_allocated and bitmap_root through save_sm_roots() and dm_tm_commit().\nA:H - shadow_bitmap()'s dm_tm_shadow_block() drops the old bitmap block's metadata refcount. After that block is reused, dm_bitmap_check() rejects the stale blocknr, alloc_data_block() fails, and metadata_operation_failed() sets PM_READ_ONLY or PM_FAIL, failing further pool I/O."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/md/persistent-data/dm-space-map-common.c"
                    ],
                    "versions": [
                        {
                            "version": "6b06dd5a972288d011a49d63eb9f6a5003d2e932",
                            "lessThan": "a7bc55e6b2dc8119749e2a360b3da73d50d8ab2d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6b06dd5a972288d011a49d63eb9f6a5003d2e932",
                            "lessThan": "eb9fce219e5358b43d13383165e269c638783524",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6b06dd5a972288d011a49d63eb9f6a5003d2e932",
                            "lessThan": "c8f0e981521f65817f8f73dc54f179f4f0120f22",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6b06dd5a972288d011a49d63eb9f6a5003d2e932",
                            "lessThan": "fa887f2ebee7aff97eb87b3365939616ade09774",
                            "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/persistent-data/dm-space-map-common.c"
                    ],
                    "versions": [
                        {
                            "version": "5.14",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.14",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.120",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.66",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc3",
                            "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": "5.14",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14",
                                    "versionEndExcluding": "7.4-rc3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/a7bc55e6b2dc8119749e2a360b3da73d50d8ab2d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/eb9fce219e5358b43d13383165e269c638783524"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c8f0e981521f65817f8f73dc54f179f4f0120f22"
                },
                {
                    "url": "https://git.kernel.org/stable/c/fa887f2ebee7aff97eb87b3365939616ade09774"
                }
            ],
            "title": "dm persistent data: don't ignore writeback errors",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}