{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2024-50091",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-10-21T19:36:19.943Z",
        "datePublished": "2024-11-05T17:04:55.311Z",
        "dateUpdated": "2026-08-05T11:41:35.974Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T11:41:35.974Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndm vdo: don't refer to dedupe_context after releasing it\n\nClear the dedupe_context pointer in a data_vio whenever ownership of\nthe context is lost, so that vdo can't examine it accidentally."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - The vulnerable path is reached by submitting block I/O to a local dm-vdo device-mapper target (writes to a VDO-backed filesystem or directly to the block device); no network protocol data is parsed here.\nAC:L - The attacker controls both sides of the race by generating sustained I/O load, which simultaneously drives UDS index query timeouts and exhausts the 2048-entry context pool — exactly the conditions that make query_index() take the early return that leaves the stale dedupe_context pointer live, and the attempt can be repeated indefinitely.\nPR:L - Any unprivileged local user with write access to a filesystem hosted on the VDO volume (the normal deployment) can generate the required I/O; no capability check guards the data path once the device exists.\nUI:N - Exploitation requires only the attacker's own I/O against an already-configured VDO device; no victim action is needed at exploit time.\nS:U - The corruption is confined to kernel memory and VDO state within the same security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - This is a use-after-release of a pooled object: the stale owner reads a recycled context's uds_request contents and follows context->requestor into another request's data_vio, and the resulting dedupe against an attacker-unrelated PBN can map a logical block onto another tenant's physical block, exposing its contents.\nI:H - Context stealing lets one request write dedupe advice into a different live data_vio, release a context still owned by another request, skew the unsigned zone->active counter, and take PBN locks/reference-count operations against an arbitrary physical block — corrupting both kernel structures and stored volume data.\nA:H - The stale pointer leads directly to a NULL/wild dereference of data_vio->duplicate.zone->thread_id (kernel oops), plus work-queue corruption from misdirected completions, the \"all contexts inactive\" assertion, and hung suspend/teardown of the storage device."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/md/dm-vdo/dedupe.c"
                    ],
                    "versions": [
                        {
                            "version": "cfaf07fae7a262865a67b6010eef3bc0a1ae50b2",
                            "lessThan": "63ef073084c67878d7a92e15ad055172da3f05a3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cfaf07fae7a262865a67b6010eef3bc0a1ae50b2",
                            "lessThan": "0808ebf2f80b962e75741a41ced372a7116f1e26",
                            "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-vdo/dedupe.c"
                    ],
                    "versions": [
                        {
                            "version": "6.9",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.9",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.11.4",
                            "lessThanOrEqual": "6.11.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12",
                            "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.9",
                                    "versionEndExcluding": "6.11.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.9",
                                    "versionEndExcluding": "6.12"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/63ef073084c67878d7a92e15ad055172da3f05a3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0808ebf2f80b962e75741a41ced372a7116f1e26"
                }
            ],
            "title": "dm vdo: don't refer to dedupe_context after releasing it",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 5.5,
                            "attackVector": "LOCAL",
                            "baseSeverity": "MEDIUM",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                            "integrityImpact": "NONE",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "NONE"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2024-50091",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2025-10-01T20:23:05.781358Z"
                            }
                        }
                    }
                ],
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "lang": "en",
                                "type": "CWE",
                                "description": "CWE-noinfo Not enough information"
                            }
                        ]
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-10-01T20:27:19.950Z"
                }
            }
        ]
    }
}