{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2022-48887",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-08-21T06:06:23.290Z",
        "datePublished": "2024-08-21T06:10:19.073Z",
        "dateUpdated": "2024-09-12T17:32:51.743Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2024-08-21T06:10:19.073Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/vmwgfx: Remove rcu locks from user resources\n\nUser resource lookups used rcu to avoid two extra atomics. Unfortunately\nthe rcu paths were buggy and it was easy to make the driver crash by\nsubmitting command buffers from two different threads. Because the\nlookups never show up in performance profiles replace them with a\nregular spin lock which fixes the races in accesses to those shared\nresources.\n\nFixes kernel oops'es in IGT's vmwgfx execution_buffer stress test and\nseen crashes with apps using shared resources."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/gpu/drm/vmwgfx/ttm_object.c",
                        "drivers/gpu/drm/vmwgfx/ttm_object.h",
                        "drivers/gpu/drm/vmwgfx/vmwgfx_bo.c",
                        "drivers/gpu/drm/vmwgfx/vmwgfx_drv.h",
                        "drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c",
                        "drivers/gpu/drm/vmwgfx/vmwgfx_resource.c"
                    ],
                    "versions": [
                        {
                            "version": "e14c02e6b699",
                            "lessThan": "7ac9578e45b2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e14c02e6b699",
                            "lessThan": "a309c7194e8a",
                            "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/vmwgfx/ttm_object.c",
                        "drivers/gpu/drm/vmwgfx/ttm_object.h",
                        "drivers/gpu/drm/vmwgfx/vmwgfx_bo.c",
                        "drivers/gpu/drm/vmwgfx/vmwgfx_drv.h",
                        "drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c",
                        "drivers/gpu/drm/vmwgfx/vmwgfx_resource.c"
                    ],
                    "versions": [
                        {
                            "version": "4.20",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.20",
                            "status": "unaffected",
                            "versionType": "custom"
                        },
                        {
                            "version": "6.1.7",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "custom"
                        },
                        {
                            "version": "6.2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/7ac9578e45b20e3f3c0c8eb71f5417a499a7226a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a309c7194e8a2f8bd4539b9449917913f6c2cd50"
                }
            ],
            "title": "drm/vmwgfx: Remove rcu locks from user resources",
            "x_generator": {
                "engine": "bippy-c9c4e1df01b2"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2022-48887",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2024-09-10T16:04:35.491654Z"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-09-12T17:32:51.743Z"
                }
            }
        ]
    }
}