In the Linux kernel, the following vulnerability has been resolved:
drm/panfrost: Fix the error path in panfrostmmumapfaultaddr()
Subject: [PATCH] drm/panfrost: Fix the error path in panfrostmmumapfaultaddr()
If some the pages or sgt allocation failed, we shouldn't release the pages ref we got earlier, otherwise we will end up with unbalanced get/put_pages() calls. We should instead leave everything in place and let the BO release function deal with extra cleanup when the object is destroyed, or let the fault handler try again next time it's called.
[
    {
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@31806711e8a4b75e09b1c43652f2a6420e6e1002",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "221029219821560889431786733704265902321",
                "262092331111467236522521405894411734904",
                "250015090780634213850854141305024600412",
                "139227972655227579469169836693662771855",
                "277315985914217639724342066738672622616",
                "200535674037978996488286721809837597186",
                "210303673598777890558727570516356191877",
                "280770856513263124592663793253302716356",
                "63068051249088958645482416895518098931",
                "77533260701921145823422376938614447183",
                "96617959738956923325123452551286930976",
                "272681183292502883669668629290076653982",
                "265861194187627985800887686118808058467",
                "293905138704660976259666647317483949482",
                "208824235044563661394403581882625606744",
                "299574156709542357513589681010026673799",
                "113136217780203618495328128687798288536",
                "143519166080571141254847520453855143815"
            ]
        },
        "target": {
            "file": "drivers/gpu/drm/panfrost/panfrost_mmu.c"
        },
        "id": "CVE-2024-35951-5dbe5c85",
        "signature_version": "v1",
        "signature_type": "Line"
    },
    {
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@31806711e8a4b75e09b1c43652f2a6420e6e1002",
        "digest": {
            "function_hash": "233706666135925444562110784135480007863",
            "length": 2125.0
        },
        "target": {
            "function": "panfrost_mmu_map_fault_addr",
            "file": "drivers/gpu/drm/panfrost/panfrost_mmu.c"
        },
        "id": "CVE-2024-35951-94dc1669",
        "signature_version": "v1",
        "signature_type": "Function"
    },
    {
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e18070c622c63f0cab170348e320454728c277aa",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "221029219821560889431786733704265902321",
                "262092331111467236522521405894411734904",
                "250015090780634213850854141305024600412",
                "139227972655227579469169836693662771855",
                "277315985914217639724342066738672622616",
                "200535674037978996488286721809837597186",
                "210303673598777890558727570516356191877",
                "280770856513263124592663793253302716356",
                "63068051249088958645482416895518098931",
                "77533260701921145823422376938614447183",
                "96617959738956923325123452551286930976",
                "272681183292502883669668629290076653982",
                "265861194187627985800887686118808058467",
                "293905138704660976259666647317483949482",
                "208824235044563661394403581882625606744",
                "299574156709542357513589681010026673799",
                "113136217780203618495328128687798288536",
                "143519166080571141254847520453855143815"
            ]
        },
        "target": {
            "file": "drivers/gpu/drm/panfrost/panfrost_mmu.c"
        },
        "id": "CVE-2024-35951-ab85a330",
        "signature_version": "v1",
        "signature_type": "Line"
    },
    {
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e18070c622c63f0cab170348e320454728c277aa",
        "digest": {
            "function_hash": "185421946603155608951044874122961979939",
            "length": 2157.0
        },
        "target": {
            "function": "panfrost_mmu_map_fault_addr",
            "file": "drivers/gpu/drm/panfrost/panfrost_mmu.c"
        },
        "id": "CVE-2024-35951-e76590da",
        "signature_version": "v1",
        "signature_type": "Function"
    }
]