{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2020-36785",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-02-26T17:07:27.435Z",
        "datePublished": "2024-02-28T08:13:06.032Z",
        "dateUpdated": "2024-08-08T19:00:31.766Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2024-05-29T04:58:30.599Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: atomisp: Fix use after free in atomisp_alloc_css_stat_bufs()\n\nThe \"s3a_buf\" is freed along with all the other items on the\n\"asd->s3a_stats\" list.  It leads to a double free and a use after free."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/staging/media/atomisp/pci/atomisp_ioctl.c"
                    ],
                    "versions": [
                        {
                            "version": "ad85094b293e",
                            "lessThan": "d218c7a0284f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ad85094b293e",
                            "lessThan": "801c1d505894",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ad85094b293e",
                            "lessThan": "8267ccd7b9df",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ad85094b293e",
                            "lessThan": "ba11bbf303fa",
                            "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/staging/media/atomisp/pci/atomisp_ioctl.c"
                    ],
                    "versions": [
                        {
                            "version": "5.8",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.8",
                            "status": "unaffected",
                            "versionType": "custom"
                        },
                        {
                            "version": "5.10.37",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "custom"
                        },
                        {
                            "version": "5.11.21",
                            "lessThanOrEqual": "5.11.*",
                            "status": "unaffected",
                            "versionType": "custom"
                        },
                        {
                            "version": "5.12.4",
                            "lessThanOrEqual": "5.12.*",
                            "status": "unaffected",
                            "versionType": "custom"
                        },
                        {
                            "version": "5.13",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/d218c7a0284f6b92a7b82d2e19706e18663b4193"
                },
                {
                    "url": "https://git.kernel.org/stable/c/801c1d505894008c888bc71d08d5cff5d87f8aba"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8267ccd7b9df7ab682043507dd682fe0621cf045"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ba11bbf303fafb33989e95473e409f6ab412b18d"
                }
            ],
            "title": "media: atomisp: Fix use after free in atomisp_alloc_css_stat_bufs()",
            "x_generator": {
                "engine": "bippy-a5840b7849dd"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-04T17:37:07.332Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://git.kernel.org/stable/c/d218c7a0284f6b92a7b82d2e19706e18663b4193",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/801c1d505894008c888bc71d08d5cff5d87f8aba",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/8267ccd7b9df7ab682043507dd682fe0621cf045",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/ba11bbf303fafb33989e95473e409f6ab412b18d",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            },
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-08-08T19:00:20.730320Z",
                                "id": "CVE-2020-36785",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-08-08T19:00:31.766Z"
                }
            }
        ]
    }
}