{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2023-54049",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-12-24T12:21:05.090Z",
        "datePublished": "2025-12-24T12:22:59.585Z",
        "dateUpdated": "2026-05-11T19:54:31.858Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-05-11T19:54:31.858Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nrpmsg: glink: Add check for kstrdup\n\nAdd check for the return value of kstrdup() and return the error\nif it fails in order to avoid NULL pointer dereference."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/rpmsg/qcom_glink_native.c"
                    ],
                    "versions": [
                        {
                            "version": "b4f8e52b89f69f5563ac4cb9ffdacc4418917af1",
                            "lessThan": "5197498c902502127a47abda5359dd7f1d41946f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b4f8e52b89f69f5563ac4cb9ffdacc4418917af1",
                            "lessThan": "13928a837e0f014dac0322dd9f8a67c486e7f232",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b4f8e52b89f69f5563ac4cb9ffdacc4418917af1",
                            "lessThan": "efa7f31669f04084ed5996ed467ba529f4c90467",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b4f8e52b89f69f5563ac4cb9ffdacc4418917af1",
                            "lessThan": "71ac2ffd7f80fdd350486f6645dc48456e55a59b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b4f8e52b89f69f5563ac4cb9ffdacc4418917af1",
                            "lessThan": "abd740db896b3c588dced175af98b95852c1854b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b4f8e52b89f69f5563ac4cb9ffdacc4418917af1",
                            "lessThan": "cae0787e408c30a575760a531ccb69a6b48bbfaf",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b4f8e52b89f69f5563ac4cb9ffdacc4418917af1",
                            "lessThan": "174cf8853857c190a3c4f1f1d2d06cfd095fe859",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b4f8e52b89f69f5563ac4cb9ffdacc4418917af1",
                            "lessThan": "e3734a9558afac91df3c655a6f2376b9d14933b7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b4f8e52b89f69f5563ac4cb9ffdacc4418917af1",
                            "lessThan": "b5c9ee8296a3760760c7b5d2e305f91412adc795",
                            "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/rpmsg/qcom_glink_native.c"
                    ],
                    "versions": [
                        {
                            "version": "4.13",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.13",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.14.326",
                            "lessThanOrEqual": "4.14.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.19.295",
                            "lessThanOrEqual": "4.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.257",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.195",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.132",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.53",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.4.16",
                            "lessThanOrEqual": "6.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.5.3",
                            "lessThanOrEqual": "6.5.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6",
                            "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": "4.13",
                                    "versionEndExcluding": "4.14.326"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "4.19.295"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "5.4.257"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "5.10.195"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "5.15.132"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "6.1.53"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "6.4.16"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "6.5.3"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "6.6"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/5197498c902502127a47abda5359dd7f1d41946f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/13928a837e0f014dac0322dd9f8a67c486e7f232"
                },
                {
                    "url": "https://git.kernel.org/stable/c/efa7f31669f04084ed5996ed467ba529f4c90467"
                },
                {
                    "url": "https://git.kernel.org/stable/c/71ac2ffd7f80fdd350486f6645dc48456e55a59b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/abd740db896b3c588dced175af98b95852c1854b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/cae0787e408c30a575760a531ccb69a6b48bbfaf"
                },
                {
                    "url": "https://git.kernel.org/stable/c/174cf8853857c190a3c4f1f1d2d06cfd095fe859"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e3734a9558afac91df3c655a6f2376b9d14933b7"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b5c9ee8296a3760760c7b5d2e305f91412adc795"
                }
            ],
            "title": "rpmsg: glink: Add check for kstrdup",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}