{"id":"CVE-2026-89470","summary":"power: supply: cros_usbpd: Limit port counts to EC_USB_PD_MAX_PORTS","details":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: cros_usbpd: Limit port counts to EC_USB_PD_MAX_PORTS\n\nCurrently the cros_usbpd-charger driver probe iterates based on raw\ncharger port count returned by the embedded controller. The only check\nis against the number of USB PD ports which the embedded controller\nalso defines. A malicious embedded controller could return an inaccurate\nport count (up to 255) resulting in an out of bounds write and\nsubsequent memory corruption.\n\nUpdate helper functions in cros_usbpd-charger to limit port counts to\nEC_USB_PD_MAX_PORTS.","modified":"2026-09-13T03:47:18.182753400Z","published":"2026-09-11T19:43:29.206Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89470.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/304a29ac55ba3ee6eceaf7d83d09cd9709f3bf60"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4b1f2be1e1b74a50386ba718de3d62bfcf5ee701"},{"type":"WEB","url":"https://git.kernel.org/stable/c/657cd3a42e937276262c0a8ae6b01a87004309de"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fd5f289cca04ad869b34fc9ccb647670bfdb60ac"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89470.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89470"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3af15cfacd1eef7f223802d49a88cae23c509183"},{"fixed":"fd5f289cca04ad869b34fc9ccb647670bfdb60ac"},{"fixed":"4b1f2be1e1b74a50386ba718de3d62bfcf5ee701"},{"fixed":"304a29ac55ba3ee6eceaf7d83d09cd9709f3bf60"},{"fixed":"657cd3a42e937276262c0a8ae6b01a87004309de"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89470.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"6.12.109"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.50"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89470.json"}}],"schema_version":"1.9.0"}