Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

drm/panfrost: Job should reference MMU not file_priv

CVSS 3.1 7.8 HIGHCheck source for fixed versionsKEV status unknown

cve-program · CVE-2022-49359

Published

In the Linux kernel, the following vulnerability has been resolved: drm/panfrost: Job should reference MMU not file_priv For a while now it's been allowed for a MMU context to outlive it's corresponding panfrost_priv, however the job structure still references panfrost_priv to get hold of the MMU context. If panfrost_priv has been freed this is a use-after-free which I've been able to trigger resulting in a splat. To fix this, drop the reference to panfrost_priv in the job structure and add a direct reference to the MMU structure which is what's actually needed.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2022-49359

Published

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "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"
                        }
                    ]
                }

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "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"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 23 Nov 05:15 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current