{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99581","id":"CVE-2026-99581","title":"Linux kernel invalid device pointer access in Chrome USB-PD notification","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/chrome: cros_usbpd_notify: Only use drvdata when parent is GOOG0004\n\ncros_usbpd_notify_probe_acpi() takes the EC device pointer from\ndev_get_drvdata(dev->parent) and assumes it is a struct cros_ec_device.\nThat only holds when GOOG0003 is a child of GOOG0004. On older devices\nwithout that hierarchy, such as Google Nami, G","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/chrome: cros_usbpd_notify: Only use drvdata when parent is GOOG0004\n\ncros_usbpd_notify_probe_acpi() takes the EC device pointer from\ndev_get_drvdata(dev->parent) and assumes it is a struct cros_ec_device.\nThat only holds when GOOG0003 is a child of GOOG0004. On older devices\nwithout that hierarchy, such as Google Nami, GOOG0003 and GOOG0004 are\nsiblings under the ACPI EC (PNP0C09):\n\n  PNP0C09:00 (acpi-ec)\n  |-- GOOG0003:00 (cros-usbpd-notify-acpi)\n  `-- GOOG0004:00 (cros_ec_lpcs)\n\nBefore commit db65a06d10b3 (\"ACPI: EC: Convert the driver to a platform\none\") the parent platform device had no driver data, so the driver\nwarned and continued without an EC pointer, as intended for these\ndevices. Since that commit the ACPI EC driver stores its struct acpi_ec\nthere, so the driver treats a struct acpi_ec as a struct cros_ec_device\nand calls cros_ec_cmd() on it for every USB-C PD host event. Plugging\nor unplugging a charger then intermittently oopses, followed by soft\nlockups and a hung system:\n\n  BUG: unable to handle page fault for address: ffffffff9cf03220\n  #PF: supervisor write access in kernel mode\n  Hardware name: Google Nami/Nami, BIOS  09/19/2019\n  Workqueue: kacpi_notify acpi_os_execute_deferred\n  RIP: 0010:native_queued_spin_lock_slowpath+0x29d/0x330\n  Call Trace:\n   _raw_spin_lock_irqsave+0x59/0x80\n   __mutex_lock.constprop.0+0x129/0x930\n   cros_ec_cmd_xfer+0x2a/0xf0 [cros_ec_proto]\n   cros_ec_cmd_xfer_status+0x1a/0x90 [cros_ec_proto]\n   cros_ec_cmd+0xb7/0x140 [cros_ec_proto]\n   cros_usbpd_get_event_and_notify+0x42/0xc0 [cros_usbpd_notify]\n   acpi_ev_notify_dispatch+0x4e/0x70\n   acpi_os_execute_deferred+0x1a/0x30\n\nOnly read the parent's driver data when the parent's ACPI node is\nGOOG0004, and otherwise continue without an EC pointer. While at it,\ndrop the reference taken by fwnode_get_parent().","published":"2026-11-20T05:49:12.820Z","updated":"2026-11-20T05:49:12.820Z","reserved":"2026-09-25T10:25:14.423Z","status":"PUBLISHED","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e4ee0bb077cd7d70207647a0106f6ea6a74c2636","lessThan":"4de4a28e514ea2cf9a91d198b66cda7f02ad5edb","status":"affected","versionType":"git"},{"version":"e4ee0bb077cd7d70207647a0106f6ea6a74c2636","lessThan":"ca75b38b1a3c2eabe81d231dae4ea180cf6287cd","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.19","status":"affected"},{"version":"0","lessThan":"6.19","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/4de4a28e514ea2cf9a91d198b66cda7f02ad5edb","tags":[]},{"url":"https://git.kernel.org/stable/c/ca75b38b1a3c2eabe81d231dae4ea180cf6287cd","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99581","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99581","ok":false,"note":"unavailable (rate limited?)"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99581","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99581","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}