{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143030",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.344Z",
        "datePublished": "2026-12-03T09:18:05.512Z",
        "dateUpdated": "2026-12-04T03:27:24.070Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-04T03:27:24.070Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndm: avoid double-dropping the zone reset submission reference\n\nOn an error in __send_zone_reset_all(), the submission reference\nheld by the dm_io can be decremented there and again by the caller's\nerror path. If another clone is still outstanding, the second drop\ncan release the dm_io before that clone completes.\n\nOnly drop the submission reference in __send_zone_reset_all() on\nsuccess. On failure, leave the reference for the caller's existing\nerror handling to release once.\n\nThe error path was reproduced under KASAN with an injected GFP_NOIO\nallocation failure while another zone-reset clone remained in\nflight. With the change, the same failure was reported normally,\nwithout the observed use-after-free, and ordinary zone resets\ncontinued to work."
                }
            ],
            "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 - REQ_OP_ZONE_RESET_ALL reaches __send_zone_reset_all() from a local BLKRESETZONE ioctl (blkdev_zone_mgmt_ioctl → blkdev_reset_zone → blkdev_zone_mgmt → blkdev_zone_reset_all) or io_uring BLOCK_URING_CMD_ZONE_RESET_ALL (blkdev_cmd_zone_reset_all), then dm_submit_bio → dm_split_and_process_bio. The bug is an io_count double-drop on struct dm_io, not malformed bytes from a remote protocol.\nAC:H - The extra drop of the alloc_io() submission reference runs only when __send_zone_reset_all_emulated() returns BLK_STS_RESOURCE (bitmap_zalloc with GFP_NOIO fails) or BLK_STS_IOERR (dm_zone_get_reset_bitmap) after an earlier target has already submitted a clone. That state was hit by injecting the allocation failure; a caller of BLKRESETZONE cannot force it on a healthy device.\nPR:L - blkdev_zone_mgmt_ioctl() for BLKRESETZONE and blkdev_cmd_zone_reset_all() check only BLK_OPEN_WRITE, not capable(). A local user who can open the zoned dm device node for write (disk-group member, or a container given that node) can submit the whole-device reset that enters __send_zone_reset_all().\nUI:N - The attacker opens the mapped device and issues BLKRESETZONE covering the whole capacity, or BLOCK_URING_CMD_ZONE_RESET_ALL. No second user has to mount media or open a file.\nS:U - The freed object is the dm_io allocated in alloc_io() for this bio, and clone_endio() runs in the same host kernel. Nothing crosses a guest, IOMMU, or sandbox boundary.\nC:H - When an earlier target's clone is still outstanding, the second io_count drop makes dm_io_dec_pending() call free_io() and bio_put() the in-flight embedded clone. clone_endio() then reads the freed dm_io (io->md, tio->ti), which is a use-after-free read of recycled bioset memory.\nI:H - free_io() drops the bio that __send_zone_reset_all_native() or the emulated loop already passed to __map_bio(). Completion invokes clone_endio() and, through tio->ti, ti->type->end_io on that freed object, so reclaiming it is a function-pointer control-flow primitive.\nA:H - The fix commit records a KASAN use-after-free of the dm_io when the second drop frees it before the outstanding zone-reset clone completes, which faults in clone_endio(). The same imbalance can also leave the original bio stuck in submit_bio_wait()."
                        }
                    ]
                }
            ],
            "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": "81e7706345f06e1e97a092f59697b7e20a0ee868",
                            "lessThan": "46170cf6bf08a04ccea5ef1a869e1f41b487c29d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "81e7706345f06e1e97a092f59697b7e20a0ee868",
                            "lessThan": "2fb99690d4eb2895666b04a9537467c13679b5ad",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "81e7706345f06e1e97a092f59697b7e20a0ee868",
                            "lessThan": "10da6a6f2e952462fb89bddb9803fd6866a9dd44",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "81e7706345f06e1e97a092f59697b7e20a0ee868",
                            "lessThan": "c4965effbe15f837a8089e79c0fc17ab19363cce",
                            "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.11",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.11",
                            "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": "6.11",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.11",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.11",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.11",
                                    "versionEndExcluding": "7.4-rc3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/46170cf6bf08a04ccea5ef1a869e1f41b487c29d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2fb99690d4eb2895666b04a9537467c13679b5ad"
                },
                {
                    "url": "https://git.kernel.org/stable/c/10da6a6f2e952462fb89bddb9803fd6866a9dd44"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c4965effbe15f837a8089e79c0fc17ab19363cce"
                }
            ],
            "title": "dm: avoid double-dropping the zone reset submission reference",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}