cbcvebase.
CVE-2025-40035
published 2025-10-28

CVE-2025-40035: In the Linux kernel, the following vulnerability has been resolved: Input: uinput - zero-initialize uinput_ff_upload_compat to avoid info leak Struct…

PriorityP420high7.8
EPSS
0.22%
12.2th percentile
In the Linux kernel, the following vulnerability has been resolved: Input: uinput - zero-initialize uinput_ff_upload_compat to avoid info leak Struct ff_effect_compat is embedded twice inside uinput_ff_upload_compat, contains internal padding. In particular, there is a hole after struct ff_replay to satisfy alignment requirements for the following union member. Without clearing the structure, copy_to_user() may leak stack data to userspace. Initialize ff_up_compat to zero before filling valid fields.

Affected

32 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.158-1 (bookworm)linux 6.1.158-1 (bookworm)
debianlinux-6.1< linux 6.1.158-1 (bookworm)linux 6.1.158-1 (bookworm)
linuxlinux
linuxlinux>= 2d56f3a32c0e62f99c043d2579840f9731fe5855 < 1b317796013f666ae5040edbf0f230ec61496d421b317796013f666ae5040edbf0f230ec61496d42
linuxlinux>= 2d56f3a32c0e62f99c043d2579840f9731fe5855 < 877172b97786ed1678640dff0b2d35abb328844c877172b97786ed1678640dff0b2d35abb328844c
linuxlinux>= 2d56f3a32c0e62f99c043d2579840f9731fe5855 < e63aade22a33e77b93c98c9f02db504d897a76b4e63aade22a33e77b93c98c9f02db504d897a76b4
linuxlinux>= 2d56f3a32c0e62f99c043d2579840f9731fe5855 < 933b87c4590b42500299f00ff55f555903056803933b87c4590b42500299f00ff55f555903056803
linuxlinux>= 2d56f3a32c0e62f99c043d2579840f9731fe5855 < fd8a23ecbc602d00e47b27f20b07350867d0ebe5fd8a23ecbc602d00e47b27f20b07350867d0ebe5
linuxlinux>= 2d56f3a32c0e62f99c043d2579840f9731fe5855 < 48c96b7e9e03516936d6deba54b5553097eae81748c96b7e9e03516936d6deba54b5553097eae817
linuxlinux>= 2d56f3a32c0e62f99c043d2579840f9731fe5855 < f5e1f3b85aadce74268c46676772c3e9fa79897ef5e1f3b85aadce74268c46676772c3e9fa79897e
linuxlinux>= 2d56f3a32c0e62f99c043d2579840f9731fe5855 < d3366a04770eea807f2826cbdb96934dd8c9bf79d3366a04770eea807f2826cbdb96934dd8c9bf79
linuxlinux_kernel>= 0 < 5.10.247-15.10.247-1
linuxlinux_kernel>= 0 < 6.1.158-16.1.158-1
linuxlinux_kernel>= 0 < 6.12.57-16.12.57-1
linuxlinux_kernel>= 0 < 6.17.6-16.17.6-1
linuxlinux_kernel>= 0 < 5.15.0-170.1805.15.0-170.180
linuxlinux_kernel>= 0 < 6.8.0-106.1066.8.0-106.106
linuxlinux_kernel>= 0 < 6.17.0-14.146.17.0-14.14
linuxlinux_kernel>= 2.6.29 < 5.4.3015.4.301
linuxlinux_kernel>= 5.11.0 < 5.15.1955.15.195
linuxlinux_kernel>= 5.16.0 < 6.1.1566.1.156
linuxlinux_kernel>= 5.5.0 < 5.10.2465.10.246
linuxlinux_kernel>= 6.13.0 < 6.17.36.17.3
linuxlinux_kernel>= 6.2.0 < 6.6.1126.6.112
linuxlinux_kernel>= 6.7.0 < 6.12.536.12.53

CVSS provenance

osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_msrc7.1HIGH
vendor_redhat3.3LOW
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.