# CVE-2025-40263: Input: cros\_ec\_keyb - fix an invalid memory access

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-04T16:08:23.327Z
- **Modified:** 2026-10-18T18:10:00.100Z

## Who should check

- Anyone running Linux \>= ca1eadbfcd36bec73f2a2111c28e8c7e9e8ae6c0, \< d74864291cb8bd784d44d1d02e87109cf88666bb; \>= ca1eadbfcd36bec73f2a2111c28e8c7e9e8ae6c0, \< 9cf59f4724a9ee06ebb06c76b8678ac322e850b7; \>= ca1eadbfcd36bec73f2a2111c28e8c7e9e8ae6c0, \< 6d81068685154535af06163eb585d6d9663ec7ec; \>= ca1eadbfcd36bec73f2a2111c28e8c7e9e8ae6c0, \< 2d251c15c27e2dd16d6318425d2f7260cbd47d39; \>= ca1eadbfcd36bec73f2a2111c28e8c7e9e8ae6c0, \< e08969c4d65ac31297fcb4d31d4808c789152f68
- Anyone running Linux 5.19

## Description

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

Input: cros\_ec\_keyb - fix an invalid memory access

If cros\_ec\_keyb\_register\_matrix() isn't called (due to
\`buttons\_switches\_only\`) in cros\_ec\_keyb\_probe(), \`ckdev-\>idev\` remains
NULL.  An invalid memory access is observed in cros\_ec\_keyb\_process()
when receiving an EC\_MKBP\_EVENT\_KEY\_MATRIX event in cros\_ec\_keyb\_work()
in such case.

  Unable to handle kernel read from unreadable memory at virtual address 0000000000000028
  ...
  x3 : 0000000000000000 x2 : 0000000000000000
  x1 : 0000000000000000 x0 : 0000000000000000
  Call trace:
  input\_event
  cros\_ec\_keyb\_work
  blocking\_notifier\_call\_chain
  ec\_irq\_thread

It's still unknown about why the kernel receives such malformed event,
in any cases, the kernel shouldn't access \`ckdev-\>idev\` and friends if
the driver doesn't intend to initialize them.

## Affected and fixed versions

- Linux: \>= ca1eadbfcd36bec73f2a2111c28e8c7e9e8ae6c0, \< d74864291cb8bd784d44d1d02e87109cf88666bb; \>= ca1eadbfcd36bec73f2a2111c28e8c7e9e8ae6c0, \< 9cf59f4724a9ee06ebb06c76b8678ac322e850b7; \>= ca1eadbfcd36bec73f2a2111c28e8c7e9e8ae6c0, \< 6d81068685154535af06163eb585d6d9663ec7ec; \>= ca1eadbfcd36bec73f2a2111c28e8c7e9e8ae6c0, \< 2d251c15c27e2dd16d6318425d2f7260cbd47d39; \>= ca1eadbfcd36bec73f2a2111c28e8c7e9e8ae6c0, \< e08969c4d65ac31297fcb4d31d4808c789152f68 (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-40263.md
Affected: Linux >= ca1eadbfcd36bec73f2a2111c28e8c7e9e8ae6c0, < d74864291cb8bd784d44d1d02e87109cf88666bb; >= ca1eadbfcd36bec73f2a2111c28e8c7e9e8ae6c0, < 9cf59f4724a9ee06ebb06c76b8678ac322e850b7; >= ca1eadbfcd36bec73f2a2111c28e8c7e9e8ae6c0, < 6d81068685154535af06163eb585d6d9663ec7ec; >= ca1eadbfcd36bec73f2a211…
Fixed in: Linux 9cf59f4724a9ee06ebb06c76b8678ac322e850b7, Linux 6d81068685154535af06163eb585d6d9663ec7ec, Linux 2d251c15c27e2dd16d6318425d2f7260cbd47d39

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-2025-40263 being exploited?

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

### How serious is CVE-2025-40263?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-40263?

Linux \>= ca1eadbfcd36bec73f2a2111c28e8c7e9e8ae6c0, \< d74864291cb8bd784d44d1d02e87109cf88666bb; \>= ca1eadbfcd36bec73f2a2111c28e8c7e9e8ae6c0, \< 9cf59f4724a9ee06ebb06c76b8678ac322e850b7; \>= ca1eadbfcd36bec73f2a2111c28e8c7e9e8ae6c0, \< 6d81068685154535af06163eb585d6d9663ec7ec; \>= ca1eadbfcd36bec73f2a2111c28e8c7e9e8ae6c0, \< 2d251c15c27e2dd16d6318425d2f7260cbd47d39; \>= ca1eadbfcd36bec73f2a2111c28e8c7e9e8ae6c0, \< e08969c4d65ac31297fcb4d31d4808c789152f68; Linux 5.19.

### Is there a fix for CVE-2025-40263?

Yes. Fixed in Linux 9cf59f4724a9ee06ebb06c76b8678ac322e850b7, Linux 6d81068685154535af06163eb585d6d9663ec7ec, Linux 2d251c15c27e2dd16d6318425d2f7260cbd47d39. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-40263?

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

- other: <https://git.kernel.org/stable/c/d74864291cb8bd784d44d1d02e87109cf88666bb>
- other: <https://git.kernel.org/stable/c/9cf59f4724a9ee06ebb06c76b8678ac322e850b7>
- other: <https://git.kernel.org/stable/c/6d81068685154535af06163eb585d6d9663ec7ec>
- other: <https://git.kernel.org/stable/c/2d251c15c27e2dd16d6318425d2f7260cbd47d39>
- other: <https://git.kernel.org/stable/c/e08969c4d65ac31297fcb4d31d4808c789152f68>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>

## 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-2025-40263>

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