CVE-2022-49336 (GCVE-0-2022-49336)
Vulnerability from cvelistv5
Published
2025-02-26 02:10
Modified
2026-08-05 08:54
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/etnaviv: check for reaped mapping in etnaviv_iommu_unmap_gem When the mapping is already reaped the unmap must be a no-op, as we would otherwise try to remove the mapping twice, corrupting the involved data structures.
Impacted products
Vendor Product Version
Linux Linux Version: a8c21a5451d831e67b7a6fb910f9ca8bc7b43554
Version: a8c21a5451d831e67b7a6fb910f9ca8bc7b43554
Version: a8c21a5451d831e67b7a6fb910f9ca8bc7b43554
Version: a8c21a5451d831e67b7a6fb910f9ca8bc7b43554
Version: a8c21a5451d831e67b7a6fb910f9ca8bc7b43554
Version: a8c21a5451d831e67b7a6fb910f9ca8bc7b43554
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/etnaviv/etnaviv_mmu.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "19323b3671a85788569d15685c8f83a05ec48cbb",
              "status": "affected",
              "version": "a8c21a5451d831e67b7a6fb910f9ca8bc7b43554",
              "versionType": "git"
            },
            {
              "lessThan": "436cff507f2a41230baacc3e2ef1d3b2d2653f40",
              "status": "affected",
              "version": "a8c21a5451d831e67b7a6fb910f9ca8bc7b43554",
              "versionType": "git"
            },
            {
              "lessThan": "03bd455a79f69d97fee3e3b212ab754442f10e5c",
              "status": "affected",
              "version": "a8c21a5451d831e67b7a6fb910f9ca8bc7b43554",
              "versionType": "git"
            },
            {
              "lessThan": "461c0fdf9434188875da9f10cfc86065866bb797",
              "status": "affected",
              "version": "a8c21a5451d831e67b7a6fb910f9ca8bc7b43554",
              "versionType": "git"
            },
            {
              "lessThan": "64f4edec081cb7c97c5e928529d0e1b0dbbffb83",
              "status": "affected",
              "version": "a8c21a5451d831e67b7a6fb910f9ca8bc7b43554",
              "versionType": "git"
            },
            {
              "lessThan": "e168c25526cd0368af098095c2ded4a008007e1b",
              "status": "affected",
              "version": "a8c21a5451d831e67b7a6fb910f9ca8bc7b43554",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/etnaviv/etnaviv_mmu.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.5"
            },
            {
              "lessThan": "4.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.198",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.121",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.46",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.17.*",
              "status": "unaffected",
              "version": "5.17.14",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.18.*",
              "status": "unaffected",
              "version": "5.18.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.19",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.198",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.121",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.46",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.17.14",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18.3",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "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\u0027s 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."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T08:54:46.930Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "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"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-49336",
    "datePublished": "2025-02-26T02:10:55.234Z",
    "dateReserved": "2025-02-26T02:08:31.539Z",
    "dateUpdated": "2026-08-05T08:54:46.930Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…