{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2025-38143",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-04-16T04:51:23.987Z",
        "datePublished": "2025-07-03T08:35:44.224Z",
        "dateUpdated": "2026-05-11T21:22:05.663Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-05-11T21:22:05.663Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbacklight: pm8941: Add NULL check in wled_configure()\n\ndevm_kasprintf() returns NULL when memory allocation fails. Currently,\nwled_configure() does not check for this case, which results in a NULL\npointer dereference.\n\nAdd NULL check after devm_kasprintf() to prevent this issue."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/video/backlight/qcom-wled.c"
                    ],
                    "versions": [
                        {
                            "version": "f86b77583d88c8402e8d89a339d96f847318f8a8",
                            "lessThan": "6a56446595730a5e3f06a30902e23cb037d28146",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f86b77583d88c8402e8d89a339d96f847318f8a8",
                            "lessThan": "9d06ac32c202142da40904180f2669ed4f5073ac",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f86b77583d88c8402e8d89a339d96f847318f8a8",
                            "lessThan": "21528806560510458378ea52c37e35b0773afaea",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f86b77583d88c8402e8d89a339d96f847318f8a8",
                            "lessThan": "fde314445332015273c8f51d2659885c606fe135",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f86b77583d88c8402e8d89a339d96f847318f8a8",
                            "lessThan": "1be2000b703b02e149f8f2061054489f6c18c972",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f86b77583d88c8402e8d89a339d96f847318f8a8",
                            "lessThan": "4a715be3fe80b68fa55cb3569af3d294be101626",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f86b77583d88c8402e8d89a339d96f847318f8a8",
                            "lessThan": "e12d3e1624a02706cdd3628bbf5668827214fa33",
                            "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/video/backlight/qcom-wled.c"
                    ],
                    "versions": [
                        {
                            "version": "5.0",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.0",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.239",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.186",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.142",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.94",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.34",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.15.3",
                            "lessThanOrEqual": "6.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.16",
                            "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": "5.0",
                                    "versionEndExcluding": "5.10.239"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "5.15.186"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "6.1.142"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "6.6.94"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "6.12.34"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "6.15.3"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "6.16"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/6a56446595730a5e3f06a30902e23cb037d28146"
                },
                {
                    "url": "https://git.kernel.org/stable/c/9d06ac32c202142da40904180f2669ed4f5073ac"
                },
                {
                    "url": "https://git.kernel.org/stable/c/21528806560510458378ea52c37e35b0773afaea"
                },
                {
                    "url": "https://git.kernel.org/stable/c/fde314445332015273c8f51d2659885c606fe135"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1be2000b703b02e149f8f2061054489f6c18c972"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4a715be3fe80b68fa55cb3569af3d294be101626"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e12d3e1624a02706cdd3628bbf5668827214fa33"
                }
            ],
            "title": "backlight: pm8941: Add NULL check in wled_configure()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"
                    },
                    {
                        "url": "https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"
                    }
                ],
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2025-11-03T17:34:33.856Z"
                }
            }
        ]
    }
}