{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2022-50501",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-10-04T15:39:19.465Z",
        "datePublished": "2025-10-04T15:43:51.498Z",
        "dateUpdated": "2026-05-11T19:20:40.366Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-05-11T19:20:40.366Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: coda: Add check for dcoda_iram_alloc\n\nAs the coda_iram_alloc may return NULL pointer,\nit should be better to check the return value\nin order to avoid NULL poineter dereference,\nsame as the others."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/media/platform/chips-media/coda-bit.c"
                    ],
                    "versions": [
                        {
                            "version": "b313bcc9a46795c0233a765411cef9a15caaa7fb",
                            "lessThan": "5688d33aa293dfa122d66bef9c0258ddf7ef11e7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b313bcc9a46795c0233a765411cef9a15caaa7fb",
                            "lessThan": "2c6887d5a29024bada6928d1d0959c9990401384",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b313bcc9a46795c0233a765411cef9a15caaa7fb",
                            "lessThan": "45f57abaee136a1e39d2b04443a1bd5311ba7d94",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b313bcc9a46795c0233a765411cef9a15caaa7fb",
                            "lessThan": "2b436f1410245412ea5e4c356a175a928d73eed3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b313bcc9a46795c0233a765411cef9a15caaa7fb",
                            "lessThan": "35ddd00b36589cf948875b825eedaab1aefd5ad5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b313bcc9a46795c0233a765411cef9a15caaa7fb",
                            "lessThan": "b99872178e7473f21904fdeea38109275aad8ae8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b313bcc9a46795c0233a765411cef9a15caaa7fb",
                            "lessThan": "532417dc98cb9c1185ada4ea4e7ccf965c06bcb5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b313bcc9a46795c0233a765411cef9a15caaa7fb",
                            "lessThan": "05f165ded4a7baec31b65aba88e2cd1fb9b91db2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b313bcc9a46795c0233a765411cef9a15caaa7fb",
                            "lessThan": "6b8082238fb8bb20f67e46388123e67a5bbc558d",
                            "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/media/platform/chips-media/coda-bit.c"
                    ],
                    "versions": [
                        {
                            "version": "3.17",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "3.17",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.9.337",
                            "lessThanOrEqual": "4.9.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.14.303",
                            "lessThanOrEqual": "4.14.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.19.270",
                            "lessThanOrEqual": "4.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.229",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.163",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.86",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.0.16",
                            "lessThanOrEqual": "6.0.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.2",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.2",
                            "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": "3.17",
                                    "versionEndExcluding": "4.9.337"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.17",
                                    "versionEndExcluding": "4.14.303"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.17",
                                    "versionEndExcluding": "4.19.270"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.17",
                                    "versionEndExcluding": "5.4.229"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.17",
                                    "versionEndExcluding": "5.10.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.17",
                                    "versionEndExcluding": "5.15.86"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.17",
                                    "versionEndExcluding": "6.0.16"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.17",
                                    "versionEndExcluding": "6.1.2"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.17",
                                    "versionEndExcluding": "6.2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/5688d33aa293dfa122d66bef9c0258ddf7ef11e7"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2c6887d5a29024bada6928d1d0959c9990401384"
                },
                {
                    "url": "https://git.kernel.org/stable/c/45f57abaee136a1e39d2b04443a1bd5311ba7d94"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2b436f1410245412ea5e4c356a175a928d73eed3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/35ddd00b36589cf948875b825eedaab1aefd5ad5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b99872178e7473f21904fdeea38109275aad8ae8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/532417dc98cb9c1185ada4ea4e7ccf965c06bcb5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/05f165ded4a7baec31b65aba88e2cd1fb9b91db2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6b8082238fb8bb20f67e46388123e67a5bbc558d"
                }
            ],
            "title": "media: coda: Add check for dcoda_iram_alloc",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}