CVE-2025-40263: Input: cros_ec_keyb - fix an invalid memory access

Published Dec 4, 2025
·
Updated

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

Input: croseckeyb - fix an invalid memory access

If croseckeybregistermatrix() isn't called (due to buttonsswitchesonly) in croseckeybprobe(), ckdev->idev remains NULL. An invalid memory access is observed in croseckeybprocess() when receiving an ECMKBPEVENTKEYMATRIX event in croseckeybwork() 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: inputevent croseckeybwork blockingnotifiercallchain ecirqthread

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 Software

3 affected components
Linux Linux kernel
Microsoft azl3 kernel 6.6.112.1-2
Microsoft azl3 kernel 6.6.117.1-1

Event History

Dec 4, 2025
CVE Published
via MITRE·04:08 PM
Data Sourced
via MITRE·04:08 PM
Description
Data Sourced
via NVD·04:16 PM
Description
Dec 6, 2025
Data Sourced
via Microsoft·01:03 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:03 AM
DescriptionSeverity
Updated
via Microsoft·01:03 AM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-40263?

The severity of CVE-2025-40263 is categorized as medium due to the potential for invalid memory access.

2

How do I fix CVE-2025-40263?

To fix CVE-2025-40263, ensure that cros_ec_keyb_register_matrix() is called properly during the probe process.

3

What versions of the Linux kernel are affected by CVE-2025-40263?

CVE-2025-40263 affects multiple versions of the Linux kernel that include the cros_ec_keyboard driver.

4

What is the impact of CVE-2025-40263?

The impact of CVE-2025-40263 includes potential crashes or unexpected behavior due to invalid memory access.

5

Is CVE-2025-40263 being actively exploited?

As of now, there is no indication that CVE-2025-40263 is being actively exploited in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203