{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2022-49359",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-02-26T02:08:31.546Z",
        "datePublished": "2025-02-26T02:11:07.930Z",
        "dateUpdated": "2026-08-05T08:54:53.388Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T08:54:53.388Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/panfrost: Job should reference MMU not file_priv\n\nFor a while now it's been allowed for a MMU context to outlive it's\ncorresponding panfrost_priv, however the job structure still references\npanfrost_priv to get hold of the MMU context. If panfrost_priv has been\nfreed this is a use-after-free which I've been able to trigger resulting\nin a splat.\n\nTo fix this, drop the reference to panfrost_priv in the job structure\nand add a direct reference to the MMU structure which is what's actually\nneeded."
                }
            ],
            "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 bug is reached via DRM ioctls (DRM_IOCTL_PANFROST_SUBMIT) and close() on the Panfrost render node (/dev/dri/renderD*), which requires local process access to the device file rather than network or adjacent-network input.\nAC:L - An attacker controls both sides by submitting GPU jobs then closing the FD; panfrost_postclose frees file_priv while in-flight/hard-stopped jobs still dereference it on the IRQ completion path, and the author reproduced the UAF splat without depending on uncontrolled conditions.\nPR:L - Panfrost ioctls are marked DRM_RENDER_ALLOW on a render node that grants GPU access to unprivileged clients (e.g., Android apps or desktop users with render-node access) without root or DRM master authentication.\nUI:N - The attacker opens the render node, submits jobs, and closes their own FD; no separate victim action is required.\nS:U - Impact is confined to the host kernel authority (heap UAF / potential local privilege escalation); this is not a VM escape or IOMMU/DMA security-boundary bypass.\nC:H - Use-after-free of panfrost_file_priv lets an attacker reclaim the object and corrupt the mmu pointer used by panfrost_mmu_as_get/put, enabling arbitrary kernel memory disclosure per UAF exploitation guidance.\nI:H - The same reclaimed file_priv/MMU pointer is consumed by job submit and IRQ completion paths that mutate MMU address-space state, yielding a controllable write/control-flow primitive suitable for integrity compromise and code execution.\nA:H - Dereferencing the freed file_priv causes a kernel oops/splat (as reported by the fix author) and can panic or hang the system, which is High availability impact."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/gpu/drm/panfrost/panfrost_drv.c",
                        "drivers/gpu/drm/panfrost/panfrost_job.c",
                        "drivers/gpu/drm/panfrost/panfrost_job.h"
                    ],
                    "versions": [
                        {
                            "version": "7fdc48cc63a30fa3480d18bdd8c5fff2b9b15212",
                            "lessThan": "8c8e8cc91a6ffc79865108279a74fd57d9070a17",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7fdc48cc63a30fa3480d18bdd8c5fff2b9b15212",
                            "lessThan": "472dd7ea5e19a1aeabf1711ddc756777e05ee7c2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7fdc48cc63a30fa3480d18bdd8c5fff2b9b15212",
                            "lessThan": "6e516faf04317db2c46cbec4e3b78b4653a5b109",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c29485e34e63198dca6289639aa711f99d88e76e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "626adede2642f00c8918999a2451bd0a644ab9b7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cf461fa9250a634e8afc4433d82ae0decea8136e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5.10.67",
                            "lessThan": "5.11",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.13.19",
                            "lessThan": "5.14",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.14.6",
                            "lessThan": "5.15",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/gpu/drm/panfrost/panfrost_drv.c",
                        "drivers/gpu/drm/panfrost/panfrost_job.c",
                        "drivers/gpu/drm/panfrost/panfrost_job.h"
                    ],
                    "versions": [
                        {
                            "version": "5.15",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.15",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.17.15",
                            "lessThanOrEqual": "5.17.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.18.4",
                            "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": "5.15",
                                    "versionEndExcluding": "5.17.15"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.15",
                                    "versionEndExcluding": "5.18.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.15",
                                    "versionEndExcluding": "5.19"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.10.67"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.13.19"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14.6"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/8c8e8cc91a6ffc79865108279a74fd57d9070a17"
                },
                {
                    "url": "https://git.kernel.org/stable/c/472dd7ea5e19a1aeabf1711ddc756777e05ee7c2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6e516faf04317db2c46cbec4e3b78b4653a5b109"
                }
            ],
            "title": "drm/panfrost: Job should reference MMU not file_priv",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 7.8,
                            "attackVector": "LOCAL",
                            "baseSeverity": "HIGH",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                            "integrityImpact": "HIGH",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "HIGH"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2022-49359",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2025-02-27T18:16:38.134749Z"
                            }
                        }
                    }
                ],
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "lang": "en",
                                "type": "CWE",
                                "cweId": "CWE-416",
                                "description": "CWE-416 Use After Free"
                            }
                        ]
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-02-27T18:22:33.808Z"
                }
            }
        ]
    }
}