CVE-2025-40263
BaseFortify
Publication date: 2025-12-04
Last updated on: 2025-12-06
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability occurs in the Linux kernel's cros_ec_keyb driver. If the function cros_ec_keyb_register_matrix() is not called during the probe phase (due to the 'buttons_switches_only' condition), a pointer (ckdev->idev) remains NULL. Later, when the kernel processes an EC_MKBP_EVENT_KEY_MATRIX event, it attempts to access this NULL pointer, causing an invalid memory access (kernel read from unreadable memory). This leads to a kernel crash or instability because the driver accesses memory it should not if it hasn't initialized certain components.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel to crash or become unstable due to invalid memory access. This can lead to denial of service conditions where the system becomes unresponsive or requires a reboot. It may affect system reliability and availability, especially on devices using the affected cros_ec_keyb driver.