cbcvebase.
CVE-2025-40263
published 2025-12-04

CVE-2025-40263: 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…

PriorityP422high7.8
EPSS
0.19%
8.6th percentile
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

23 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.159-1 (bookworm)linux 6.1.159-1 (bookworm)
debianlinux-6.1< linux 6.1.159-1 (bookworm)linux 6.1.159-1 (bookworm)
linuxlinux
linuxlinux>= ca1eadbfcd36bec73f2a2111c28e8c7e9e8ae6c0 < d74864291cb8bd784d44d1d02e87109cf88666bbd74864291cb8bd784d44d1d02e87109cf88666bb
linuxlinux>= ca1eadbfcd36bec73f2a2111c28e8c7e9e8ae6c0 < 9cf59f4724a9ee06ebb06c76b8678ac322e850b79cf59f4724a9ee06ebb06c76b8678ac322e850b7
linuxlinux>= ca1eadbfcd36bec73f2a2111c28e8c7e9e8ae6c0 < 6d81068685154535af06163eb585d6d9663ec7ec6d81068685154535af06163eb585d6d9663ec7ec
linuxlinux>= ca1eadbfcd36bec73f2a2111c28e8c7e9e8ae6c0 < 2d251c15c27e2dd16d6318425d2f7260cbd47d392d251c15c27e2dd16d6318425d2f7260cbd47d39
linuxlinux>= ca1eadbfcd36bec73f2a2111c28e8c7e9e8ae6c0 < e08969c4d65ac31297fcb4d31d4808c789152f68e08969c4d65ac31297fcb4d31d4808c789152f68
linuxlinux_kernel>= 0 < 5.10.247-15.10.247-1
linuxlinux_kernel>= 0 < 6.1.159-16.1.159-1
linuxlinux_kernel>= 0 < 6.12.63-16.12.63-1
linuxlinux_kernel>= 0 < 6.17.10-16.17.10-1
linuxlinux_kernel>= 0 < 5.15.0-173.1835.15.0-173.183
linuxlinux_kernel>= 0 < 6.8.0-106.1066.8.0-106.106
linuxlinux_kernel>= 0 < 6.17.0-19.196.17.0-19.19
linuxlinux_kernel>= 5.19.0 < 6.1.1596.1.159
linuxlinux_kernel>= 6.13.0 < 6.17.106.17.10
linuxlinux_kernel>= 6.2.0 < 6.6.1186.6.118
linuxlinux_kernel>= 6.7.0 < 6.12.606.12.60
msrcazl3_kernel_6.6.112.1-2_on_azure_linux_3.0
msrcazl3_kernel_6.6.117.1-1_on_azure_linux_3.0
ubuntulinux-azure-5.15
ubuntulinux-xilinx

CVSS provenance

osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_msrc5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.