{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2025-71302",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-05-08T13:14:33.087Z",
        "datePublished": "2026-05-08T13:26:11.418Z",
        "dateUpdated": "2026-08-05T12:12:44.474Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T12:12:44.474Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/panthor: fix for dma-fence safe access rules\n\nCommit 506aa8b02a8d6 (\"dma-fence: Add safe access helpers and document\nthe rules\") details the dma-fence safe access rules. The most common\nculprit is that drm_sched_fence_get_timeline_name may race with\ngroup_free_queue."
                }
            ],
            "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 - An attacker reaches the flaw through DRM ioctls on a local Panthor render node and SYNC_IOC_FILE_INFO on an exported sync-file.\nAC:L - The attacker controls both sides by querying the exported fence concurrently with GROUP_DESTROY or file closure and can repeat the race while spraying reclaimed heap objects.\nPR:L - All required Panthor, syncobj, and export operations are DRM_RENDER_ALLOW; ordinary-priority groups require neither DRM master nor a capability.\nUI:N - The attacker independently creates the VM, group, job, syncobj, and sync-file and triggers teardown without victim action.\nS:U - The vulnerability compromises resources governed by the same host kernel and does not inherently cross a VM or IOMMU security boundary.\nC:H - The exported scheduler fence can outlive the freed queue, allowing the timeline callback to dereference reclaimed scheduler and name data. Heap reclamation can provide a chosen source pointer whose contents are copied through SYNC_IOC_FILE_INFO, supporting repeated kernel-memory disclosure.\nI:H - This is a kernel heap use-after-free involving surviving dma-fence references into reclaimed queue state. Under conservative UAF scoring, attacker-influenced heap reuse is treated as potentially enabling arbitrary memory modification or control-flow hijacking.\nA:H - Dereferencing a stale or attacker-influenced scheduler-name pointer can cause a kernel fault, oops, or panic, and an unprivileged attacker can trigger the condition repeatedly."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/gpu/drm/panthor/panthor_sched.c"
                    ],
                    "versions": [
                        {
                            "version": "de85488138247d034eb3241840424a54d660926b",
                            "lessThan": "ab8c0de60f16d7e0b162ccbbb35fcf1f277c97c2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "de85488138247d034eb3241840424a54d660926b",
                            "lessThan": "eae60933abd11df013876f647c9edbd35ce67615",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "de85488138247d034eb3241840424a54d660926b",
                            "lessThan": "efe24898485c5c831e629d9c6fb9350c35cb576f",
                            "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/panthor/panthor_sched.c"
                    ],
                    "versions": [
                        {
                            "version": "6.10",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.10",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.16",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.19.6",
                            "lessThanOrEqual": "6.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.0",
                            "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.10",
                                    "versionEndExcluding": "6.18.16"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.10",
                                    "versionEndExcluding": "6.19.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.10",
                                    "versionEndExcluding": "7.0"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/ab8c0de60f16d7e0b162ccbbb35fcf1f277c97c2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/eae60933abd11df013876f647c9edbd35ce67615"
                },
                {
                    "url": "https://git.kernel.org/stable/c/efe24898485c5c831e629d9c6fb9350c35cb576f"
                }
            ],
            "title": "drm/panthor: fix for dma-fence safe access rules",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}