Linux Kernel up to 5.4.301/6.6.117/6.12.59/6.17.9 cros_ec_keyb_register_matrix initialization

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.4$0-$5k0.00

Summaryinfo

A vulnerability categorized as critical has been discovered in Linux Kernel up to 5.4.301/6.6.117/6.12.59/6.17.9. Impacted is the function cros_ec_keyb_register_matrix. Such manipulation leads to initialization. This vulnerability is listed as CVE-2025-40263. There is no available exploit. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability was found in Linux Kernel up to 5.4.301/6.6.117/6.12.59/6.17.9 and classified as critical. Affected by this issue is the function cros_ec_keyb_register_matrix. The manipulation with an unknown input leads to a initialization vulnerability. Using CWE to declare the problem leads to CWE-665. The product does not initialize or incorrectly initializes a resource, which might leave the resource in an unexpected state when it is accessed or used. The impact remains unknown. CVE summarizes:

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.

The advisory is shared for download at git.kernel.org. This vulnerability is handled as CVE-2025-40263 since 04/16/2025. The exploitation is known to be difficult. There are known technical details, but no exploit is available. The current price for an exploit might be approx. USD $0-$5k (estimation calculated on 03/04/2026).

The vulnerability scanner Nessus provides a plugin with the ID 277512 (Linux Distros Unpatched Vulnerability : CVE-2025-40263), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 5.4.302, 6.6.118, 6.12.60 or 6.17.10 eliminates this vulnerability. Applying the patch 7bfd959187f2c7584bb43280bbc7b2846e7a5085/9cf59f4724a9ee06ebb06c76b8678ac322e850b7/6d81068685154535af06163eb585d6d9663ec7ec/2d251c15c27e2dd16d6318425d2f7260cbd47d39/e08969c4d65ac31297fcb4d31d4808c789152f68 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (277512), EUVD (EUVD-2025-201194) and CERT Bund (WID-SEC-2025-2747). VulDB is the best source for vulnerability data and more expert information about this specific topic.

Affected

  • Debian Linux
  • Google Cloud Platform
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • SUSE openSUSE
  • Open Source Linux Kernel
  • RESF Rocky Linux
  • Microsoft Azure Linux

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.6
VulDB Meta Temp Score: 4.4

VulDB Base Score: 4.6
VulDB Temp Score: 4.4
VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Initialization
CWE: CWE-665
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Partially

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 277512
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-40263

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Kernel 5.4.302/6.6.118/6.12.60/6.17.10
Patch: 7bfd959187f2c7584bb43280bbc7b2846e7a5085/9cf59f4724a9ee06ebb06c76b8678ac322e850b7/6d81068685154535af06163eb585d6d9663ec7ec/2d251c15c27e2dd16d6318425d2f7260cbd47d39/e08969c4d65ac31297fcb4d31d4808c789152f68

Timelineinfo

04/16/2025 CVE reserved
12/04/2025 +232 days Advisory disclosed
12/04/2025 +0 days VulDB entry created
03/04/2026 +90 days VulDB entry last update

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2025-40263 (🔒)
GCVE (CVE): GCVE-0-2025-40263
GCVE (VulDB): GCVE-100-334328
EUVD: 🔒
CERT Bund: WID-SEC-2025-2747 - Linux Kernel: Mehrere Schwachstellen ermöglichen Denial of Service

Entryinfo

Created: 12/04/2025 17:51
Updated: 03/04/2026 13:32
Changes: 12/04/2025 17:51 (58), 12/04/2025 19:58 (1), 12/06/2025 17:55 (2), 01/05/2026 05:10 (7), 03/04/2026 13:32 (1)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!