In the Linux kernel, the following vulnerability has been resolved:
clk: davinci: Add NULL check in davincilpscclk_register()
devmkasprintf() returns NULL when memory allocation fails. Currently, davincilpscclkregister() does not check for this case, which results in a NULL pointer dereference.
Add NULL check after devm_kasprintf() to prevent this issue and ensuring no resources are left allocated.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7843412e5927dafbb844782c56b6380564064109",
"target": {
"file": "drivers/clk/davinci/psc.c",
"function": "davinci_lpsc_clk_register"
},
"id": "CVE-2025-38635-0b8fd3a9",
"signature_type": "Function",
"digest": {
"function_hash": "35099253474581969553226285336810515575",
"length": 1325.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@105e8115944a9f93e9412abe7bb07ed96725adf9",
"target": {
"file": "drivers/clk/davinci/psc.c",
"function": "davinci_lpsc_clk_register"
},
"id": "CVE-2025-38635-0c84df66",
"signature_type": "Function",
"digest": {
"function_hash": "35099253474581969553226285336810515575",
"length": 1325.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2adc945b70c4d97e9491a6c0c9f3b217a9eecfba",
"target": {
"file": "drivers/clk/davinci/psc.c"
},
"id": "CVE-2025-38635-10ee2796",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"240651923240703730427738645006172783862",
"206490757938072867555229348119304815418",
"200254388256640970731355222672287043258",
"72316284736781159584978304211160683299"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2adc945b70c4d97e9491a6c0c9f3b217a9eecfba",
"target": {
"file": "drivers/clk/davinci/psc.c",
"function": "davinci_lpsc_clk_register"
},
"id": "CVE-2025-38635-2b694f2c",
"signature_type": "Function",
"digest": {
"function_hash": "35099253474581969553226285336810515575",
"length": 1325.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@77e9ad7a2d0e2a771c9e0be04b9d1639413b5f13",
"target": {
"file": "drivers/clk/davinci/psc.c"
},
"id": "CVE-2025-38635-3094425e",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"240651923240703730427738645006172783862",
"206490757938072867555229348119304815418",
"200254388256640970731355222672287043258",
"72316284736781159584978304211160683299"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@105e8115944a9f93e9412abe7bb07ed96725adf9",
"target": {
"file": "drivers/clk/davinci/psc.c"
},
"id": "CVE-2025-38635-319e3efe",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"240651923240703730427738645006172783862",
"206490757938072867555229348119304815418",
"200254388256640970731355222672287043258",
"72316284736781159584978304211160683299"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d92608a29251278015f57f3572bc950db7519f0",
"target": {
"file": "drivers/clk/davinci/psc.c",
"function": "davinci_lpsc_clk_register"
},
"id": "CVE-2025-38635-48d10620",
"signature_type": "Function",
"digest": {
"function_hash": "35099253474581969553226285336810515575",
"length": 1325.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7843412e5927dafbb844782c56b6380564064109",
"target": {
"file": "drivers/clk/davinci/psc.c"
},
"id": "CVE-2025-38635-49dc0f4b",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"240651923240703730427738645006172783862",
"206490757938072867555229348119304815418",
"200254388256640970731355222672287043258",
"72316284736781159584978304211160683299"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6fb19cdcf040e1dec052a9032acb66cc2ad1d43f",
"target": {
"file": "drivers/clk/davinci/psc.c",
"function": "davinci_lpsc_clk_register"
},
"id": "CVE-2025-38635-61526281",
"signature_type": "Function",
"digest": {
"function_hash": "35099253474581969553226285336810515575",
"length": 1325.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@23f564326deaafacfd7adf6104755b15216d8320",
"target": {
"file": "drivers/clk/davinci/psc.c"
},
"id": "CVE-2025-38635-91c4b92f",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"240651923240703730427738645006172783862",
"206490757938072867555229348119304815418",
"200254388256640970731355222672287043258",
"72316284736781159584978304211160683299"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7943ed1f05f5cb7372dca2aa227f848747a98791",
"target": {
"file": "drivers/clk/davinci/psc.c"
},
"id": "CVE-2025-38635-98fd1208",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"240651923240703730427738645006172783862",
"206490757938072867555229348119304815418",
"200254388256640970731355222672287043258",
"72316284736781159584978304211160683299"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d92608a29251278015f57f3572bc950db7519f0",
"target": {
"file": "drivers/clk/davinci/psc.c"
},
"id": "CVE-2025-38635-a6daf10b",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"240651923240703730427738645006172783862",
"206490757938072867555229348119304815418",
"200254388256640970731355222672287043258",
"72316284736781159584978304211160683299"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6fb19cdcf040e1dec052a9032acb66cc2ad1d43f",
"target": {
"file": "drivers/clk/davinci/psc.c"
},
"id": "CVE-2025-38635-b3be71d8",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"240651923240703730427738645006172783862",
"206490757938072867555229348119304815418",
"200254388256640970731355222672287043258",
"72316284736781159584978304211160683299"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@77e9ad7a2d0e2a771c9e0be04b9d1639413b5f13",
"target": {
"file": "drivers/clk/davinci/psc.c",
"function": "davinci_lpsc_clk_register"
},
"id": "CVE-2025-38635-b6881505",
"signature_type": "Function",
"digest": {
"function_hash": "35099253474581969553226285336810515575",
"length": 1325.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@23f564326deaafacfd7adf6104755b15216d8320",
"target": {
"file": "drivers/clk/davinci/psc.c",
"function": "davinci_lpsc_clk_register"
},
"id": "CVE-2025-38635-bd273b88",
"signature_type": "Function",
"digest": {
"function_hash": "35099253474581969553226285336810515575",
"length": 1325.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@13de464f445d42738fe18c9a28bab056ba3a290a",
"target": {
"file": "drivers/clk/davinci/psc.c"
},
"id": "CVE-2025-38635-d8ebf766",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"240651923240703730427738645006172783862",
"206490757938072867555229348119304815418",
"200254388256640970731355222672287043258",
"72316284736781159584978304211160683299"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@13de464f445d42738fe18c9a28bab056ba3a290a",
"target": {
"file": "drivers/clk/davinci/psc.c",
"function": "davinci_lpsc_clk_register"
},
"id": "CVE-2025-38635-fa85aa76",
"signature_type": "Function",
"digest": {
"function_hash": "35099253474581969553226285336810515575",
"length": 1325.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7943ed1f05f5cb7372dca2aa227f848747a98791",
"target": {
"file": "drivers/clk/davinci/psc.c",
"function": "davinci_lpsc_clk_register"
},
"id": "CVE-2025-38635-fb2dcb29",
"signature_type": "Function",
"digest": {
"function_hash": "35099253474581969553226285336810515575",
"length": 1325.0
},
"deprecated": false,
"signature_version": "v1"
}
]