# CVE-2026-64420: mfd: cros\_ec: Delay dev\_set\_drvdata() until probe success

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.15% (percentile 2, 2026-11-26)
- **CWE:** CWE-476, CWE-416
- **Published:** 2026-07-25T08:50:59.115Z
- **Modified:** 2026-10-19T21:17:36.897Z

## Who should check

- Anyone running Linux \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< 24522713034d521ea4b5f5f36342e2b2f7e73bd6; \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< f7e81dc181d9fe8ab977158042cd193e8cc12091; \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< 257203d83204b192d1265a916b42ca0d499bb117; \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< 729ae27dc2503a7c1f92da1859efb45da03e4fa0; \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< ed2941e5db016a0c600b25f1972620e6e223d9fa; \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< b5f41d5bf08e7b1b14fa0bd640975e6d78dc006d; \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< fc030c5b116f668d4ca86dca63742ddbc98d1665; \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< 8b2c1d41bc36c100b38ce5ee6def246c527eaf8a
- Anyone running Linux 4.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

mfd: cros\_ec: Delay dev\_set\_drvdata() until probe success

If ec\_device\_probe() fails, cros\_ec\_class\_release releases memory for the
cros\_ec\_dev structure. However, because the drvdata was already set,
sub-drivers like cros\_ec\_typec can still retrieve the stale pointer via the
platform device. This leads to a use-after-free when cros\_ec\_typec attempts
to access &typec-\>ec-\>ec-\>dev on a device that has already been released.
Move dev\_set\_drvdata() to ensure that the pointer is only made available
once all initialization steps have succeeded.

 sysfs: cannot create duplicate filename '/class/chromeos/cros\_ec'
 Call trace:
  sysfs\_do\_create\_link\_sd+0x94/0xdc
  sysfs\_create\_link+0x30/0x44
  device\_add\_class\_symlinks+0x90/0x13c
  device\_add+0xf0/0x50c
  ec\_device\_probe+0x150/0x4f0
  platform\_probe+0xa0/0xe0
 ...
 BUG: KASAN: invalid-access in \_\_memcpy+0x44/0x230
 Write at addr f5ffff809e2d33ac by task kworker/u32:5/125
 Pointer tag: \[f5\], memory tag: \[fe\]
 Tainted : \[W\]=WARN, \[O\]=OOT\_MODULE
 Hardware name: Google Navi unprovisioned 0x7FFFFFFF/sku0 board/sku3
 Workqueue: events\_unbound deferred\_probe\_work\_func
 Call trace:
  \_\_memcpy+0x44/0x230
  cros\_ec\_check\_features+0x60/0xcc \[cros\_ec\_proto\]
  cros\_typec\_probe+0xe8/0x6e0 \[cros\_ec\_typec\]
  platform\_probe+0xa0/0xe0

## Affected and fixed versions

- Linux: \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< 24522713034d521ea4b5f5f36342e2b2f7e73bd6; \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< f7e81dc181d9fe8ab977158042cd193e8cc12091; \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< 257203d83204b192d1265a916b42ca0d499bb117; \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< 729ae27dc2503a7c1f92da1859efb45da03e4fa0; \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< ed2941e5db016a0c600b25f1972620e6e223d9fa; \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< b5f41d5bf08e7b1b14fa0bd640975e6d78dc006d; \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< fc030c5b116f668d4ca86dca63742ddbc98d1665; \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< 8b2c1d41bc36c100b38ce5ee6def246c527eaf8a (cvelist)
- Linux: 4.12 (cvelist)

## Mitigation

- Upgrade Linux to 8b2c1d41bc36c100b38ce5ee6def246c527eaf8a or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64420. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64420.md
Affected: Linux >= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, < 24522713034d521ea4b5f5f36342e2b2f7e73bd6; >= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, < f7e81dc181d9fe8ab977158042cd193e8cc12091; >= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, < 257203d83204b192d1265a916b42ca0d499bb117; >= 1c1d152cc5ac3a67d199728…
Fixed in: Linux 24522713034d521ea4b5f5f36342e2b2f7e73bd6, Linux 257203d83204b192d1265a916b42ca0d499bb117, Linux 729ae27dc2503a7c1f92da1859efb45da03e4fa0, Linux 8b2c1d41bc36c100b38ce5ee6def246c527eaf8a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64420 being exploited?

There is no confirmed exploitation: CVE-2026-64420 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64420?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-64420?

Linux \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< 24522713034d521ea4b5f5f36342e2b2f7e73bd6; \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< f7e81dc181d9fe8ab977158042cd193e8cc12091; \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< 257203d83204b192d1265a916b42ca0d499bb117; \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< 729ae27dc2503a7c1f92da1859efb45da03e4fa0; \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< ed2941e5db016a0c600b25f1972620e6e223d9fa; \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< b5f41d5bf08e7b1b14fa0bd640975e6d78dc006d; \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< fc030c5b116f668d4ca86dca63742ddbc98d1665; \>= 1c1d152cc5ac3a67d199728a9ba0b4f54a498f8b, \< 8b2c1d41bc36c100b38ce5ee6def246c527eaf8a; Linux 4.12.

### Is there a fix for CVE-2026-64420?

Yes. Fixed in Linux 24522713034d521ea4b5f5f36342e2b2f7e73bd6, Linux 257203d83204b192d1265a916b42ca0d499bb117, Linux 729ae27dc2503a7c1f92da1859efb45da03e4fa0, Linux 8b2c1d41bc36c100b38ce5ee6def246c527eaf8a. Upgrade Linux to 8b2c1d41bc36c100b38ce5ee6def246c527eaf8a or later.

### How do I check if I'm affected by CVE-2026-64420?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/24522713034d521ea4b5f5f36342e2b2f7e73bd6>
- patch: <https://git.kernel.org/stable/c/f7e81dc181d9fe8ab977158042cd193e8cc12091>
- patch: <https://git.kernel.org/stable/c/257203d83204b192d1265a916b42ca0d499bb117>
- patch: <https://git.kernel.org/stable/c/729ae27dc2503a7c1f92da1859efb45da03e4fa0>
- patch: <https://git.kernel.org/stable/c/ed2941e5db016a0c600b25f1972620e6e223d9fa>
- patch: <https://git.kernel.org/stable/c/b5f41d5bf08e7b1b14fa0bd640975e6d78dc006d>
- patch: <https://git.kernel.org/stable/c/fc030c5b116f668d4ca86dca63742ddbc98d1665>
- patch: <https://git.kernel.org/stable/c/8b2c1d41bc36c100b38ce5ee6def246c527eaf8a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64420>

HTML: <https://flawdb.com/CVE-2026-64420> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64420>
