Use-after-free in Linux kernel - CVE-2026-64420
Published: July 27, 2026
Vulnerability details
The vulnerability allows a local user to cause a denial of service.
The vulnerability exists due to a use-after-free in the cros_ec device probe handling in drivers/mfd/cros_ec_dev.c when sub-drivers access platform device drvdata after probe failure. A local user can trigger a failed probe and subsequent access to a stale pointer to cause a denial of service.
The issue occurs because the stale drvdata pointer remains accessible to sub-drivers such as cros_ec_typec after the underlying cros_ec_dev structure has already been released.
Affected software
How to mitigate CVE-2026-64420
External References
- https://git.kernel.org/stable/c/24522713034d521ea4b5f5f36342e2b2f7e73bd6
- https://git.kernel.org/stable/c/257203d83204b192d1265a916b42ca0d499bb117
- https://git.kernel.org/stable/c/729ae27dc2503a7c1f92da1859efb45da03e4fa0
- https://git.kernel.org/stable/c/8b2c1d41bc36c100b38ce5ee6def246c527eaf8a
- https://git.kernel.org/stable/c/b5f41d5bf08e7b1b14fa0bd640975e6d78dc006d
- https://git.kernel.org/stable/c/ed2941e5db016a0c600b25f1972620e6e223d9fa
- https://git.kernel.org/stable/c/f7e81dc181d9fe8ab977158042cd193e8cc12091
- https://git.kernel.org/stable/c/fc030c5b116f668d4ca86dca63742ddbc98d1665