{"id":"CVE-2025-38634","aliases":["CVE-2025-38634"],"related":[],"kind":"vulnerability","state":"published","title":"power: supply: cpcap-charger: Fix null check for power_supply_get_by_name","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: cpcap-charger: Fix null check for power_supply_get_by_name\n\nIn the cpcap_usb_detect() function, the power_supply_get_by_name()\nfunction may return `NULL` instead of an error pointer.\nTo prevent potential null pointer dereferences, Added a null check.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: cpcap-charger: Fix null check for power_supply_get_by_name\n\nIn the cpcap_usb_detect() function, the power_supply_get_by_name()\nfunction may return `NULL` instead of an error pointer.\nTo prevent potential null pointer dereferences, Added a null check.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: power: supply: cpcap-charger: Se corrige la comprobación de valores nulos para power_supply_get_by_name. En la función cpcap_usb_detect(), la función power_supply_get_by_name() puede devolver `NULL` en lugar de un puntero de error. Para evitar posibles desreferencias de punteros nulos, se ha añadido una comprobación de valores nulos.","source":"nvd"}],"published":"2025-08-22T16:00:42.376Z","modified":"2026-06-17T09:17:15.507Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"eab4e6d953c1059a30ac0f15826abc7dd2374d3c","fixed":"4ebbb9106aaa2fd58e0359bc3a2490953db2ef0c","status":"affected"},{"type":"git","introduced":"eab4e6d953c1059a30ac0f15826abc7dd2374d3c","fixed":"a2436263144980cc99a9860c7b43335847afbe53","status":"affected"},{"type":"git","introduced":"eab4e6d953c1059a30ac0f15826abc7dd2374d3c","fixed":"8e9bdb563916287ba1b4258812434e0585ac6d00","status":"affected"},{"type":"git","introduced":"eab4e6d953c1059a30ac0f15826abc7dd2374d3c","fixed":"f642500aa7ed93d2606e4f929244cce9c7467b3a","status":"affected"},{"type":"git","introduced":"eab4e6d953c1059a30ac0f15826abc7dd2374d3c","fixed":"9784d832d7c103539cd9afb376534eaa35815d3d","status":"affected"},{"type":"git","introduced":"eab4e6d953c1059a30ac0f15826abc7dd2374d3c","fixed":"27001e4f146624c4b3389b029bdc0f8049819560","status":"affected"},{"type":"git","introduced":"eab4e6d953c1059a30ac0f15826abc7dd2374d3c","fixed":"d9fa3aae08f99493e67fb79413c0e95d30fca5e9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","status":"unaffected"},{"type":"semver","introduced":"5.15.190","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.148","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.102","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.42","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.10","lastAffected":"6.15.*","status":"unaffected"},{"type":"semver","introduced":"6.16.1","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.14","fixed":"5.15.190"},{"status":"affected","introduced":"5.16","fixed":"6.1.148"},{"status":"affected","introduced":"6.2","fixed":"6.6.102"},{"status":"affected","introduced":"6.7","fixed":"6.12.42"},{"status":"affected","introduced":"6.13","fixed":"6.15.10"},{"status":"affected","introduced":"6.16","fixed":"6.16.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/4ebbb9106aaa2fd58e0359bc3a2490953db2ef0c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a2436263144980cc99a9860c7b43335847afbe53","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8e9bdb563916287ba1b4258812434e0585ac6d00","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f642500aa7ed93d2606e4f929244cce9c7467b3a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9784d832d7c103539cd9afb376534eaa35815d3d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/27001e4f146624c4b3389b029bdc0f8049819560","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d9fa3aae08f99493e67fb79413c0e95d30fca5e9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38634","url":"https://www.cve.org/CVERecord?id=CVE-2025-38634","licence":"CVE Terms of Use","modified":"2026-05-11T21:32:00.899Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38634","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38634","licence":"Public domain","modified":"2026-06-17T09:17:15.507Z"}],"updatedAt":"2026-11-25T22:59:03.532Z","epss":{"score":0.00189,"percentile":0.08971,"date":"2026-12-01T12:00:22.000Z"}}