{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2022-49336",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-02-26T02:08:31.539Z",
        "datePublished": "2025-02-26T02:10:55.234Z",
        "dateUpdated": "2026-08-05T08:54:46.930Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T08:54:46.930Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/etnaviv: check for reaped mapping in etnaviv_iommu_unmap_gem\n\nWhen the mapping is already reaped the unmap must be a no-op, as we\nwould otherwise try to remove the mapping twice, corrupting the involved\ndata structures."
                }
            ],
            "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 - Reachable only via local DRM render-node ioctls (GEM_NEW/GEM_SUBMIT/handle close) on the etnaviv GPU driver; not exposed to network or adjacent attackers.\nAC:L - The race is between mapping reaping and GEM free; an unprivileged attacker controls both sides by concurrently submitting mappings that force IOVA reaping while closing buffers with idle mappings.\nPR:L - All relevant ioctls are DRM_RENDER_ALLOW on a DRIVER_RENDER device, so any unprivileged user with access to /dev/dri/renderD* (typical on etnaviv platforms) can trigger the path without root.\nUI:N - Exploitation requires only the attacker's own DRM ioctls and threads; no action by another user is needed.\nS:U - Impact is kernel memory corruption and privilege escalation within the same OS security authority; this is not a VM escape or system-IOMMU isolation bypass.\nC:H - Double list_del and double context kref_put yield list corruption and use-after-free of the IOMMU context, which can be leveraged for arbitrary kernel memory disclosure.\nI:H - The same UAF/list-corruption primitives enable heap manipulation and arbitrary kernel writes or control-flow hijacking, matching other DRM MMU UAF scores (e.g. CVE-2022-49359).\nA:H - Double-free/list corruption reliably causes kernel oops/panic even when not fully exploited for code execution."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/gpu/drm/etnaviv/etnaviv_mmu.c"
                    ],
                    "versions": [
                        {
                            "version": "a8c21a5451d831e67b7a6fb910f9ca8bc7b43554",
                            "lessThan": "19323b3671a85788569d15685c8f83a05ec48cbb",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a8c21a5451d831e67b7a6fb910f9ca8bc7b43554",
                            "lessThan": "436cff507f2a41230baacc3e2ef1d3b2d2653f40",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a8c21a5451d831e67b7a6fb910f9ca8bc7b43554",
                            "lessThan": "03bd455a79f69d97fee3e3b212ab754442f10e5c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a8c21a5451d831e67b7a6fb910f9ca8bc7b43554",
                            "lessThan": "461c0fdf9434188875da9f10cfc86065866bb797",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a8c21a5451d831e67b7a6fb910f9ca8bc7b43554",
                            "lessThan": "64f4edec081cb7c97c5e928529d0e1b0dbbffb83",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a8c21a5451d831e67b7a6fb910f9ca8bc7b43554",
                            "lessThan": "e168c25526cd0368af098095c2ded4a008007e1b",
                            "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/gpu/drm/etnaviv/etnaviv_mmu.c"
                    ],
                    "versions": [
                        {
                            "version": "4.5",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.5",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.198",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.121",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.46",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.17.14",
                            "lessThanOrEqual": "5.17.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.18.3",
                            "lessThanOrEqual": "5.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.19",
                            "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": "4.5",
                                    "versionEndExcluding": "5.4.198"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.5",
                                    "versionEndExcluding": "5.10.121"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.5",
                                    "versionEndExcluding": "5.15.46"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.5",
                                    "versionEndExcluding": "5.17.14"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.5",
                                    "versionEndExcluding": "5.18.3"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.5",
                                    "versionEndExcluding": "5.19"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/19323b3671a85788569d15685c8f83a05ec48cbb"
                },
                {
                    "url": "https://git.kernel.org/stable/c/436cff507f2a41230baacc3e2ef1d3b2d2653f40"
                },
                {
                    "url": "https://git.kernel.org/stable/c/03bd455a79f69d97fee3e3b212ab754442f10e5c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/461c0fdf9434188875da9f10cfc86065866bb797"
                },
                {
                    "url": "https://git.kernel.org/stable/c/64f4edec081cb7c97c5e928529d0e1b0dbbffb83"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e168c25526cd0368af098095c2ded4a008007e1b"
                }
            ],
            "title": "drm/etnaviv: check for reaped mapping in etnaviv_iommu_unmap_gem",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}