Input: evdev - fix information leak in evdev_pass_values()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e748811d9b80a3e101110ff4b3c612e5fca54d98, Kernel 06a286b320236508d02ab2ccc9496352748652a8, Kernel 7d17e9454a9af3ec7aebb88b41a9deedd5b19a6b and 12 more.
In the Linux kernel, the following vulnerability has been resolved: Input: evdev - fix information leak in evdev_pass_values() In evdev_pass_values(), the input_event structure is allocated on the kernel stack and populated field-by-field. However, it is never fully initialized. On architectures where struct input_event contains explicit or implicit padding (such as the 32-bit __pad field on SPARC64), these padding bytes are left uninitialized. When this event structure is subsequently passed to the client buffer and later copied to userspace, the uninitialized padding bytes leak kernel stack memory, potentially exposing sensitive information. Similar issues exist in __evdev_queue_syn_dropped and __pass_event. Fix this by explicitly zeroing the entire event structure with memset() before populating its fields. This ensures all padding bytes are cleared before the data crosses the security boundary.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6addb1d6de1968b84852f54561cc9a999909b5a9 <e748811d9b80a3e101110ff4b3c612e5fca54d98, >=6addb1d6de1968b84852f54561cc9a999909b5a9 <06a286b320236508d02ab2ccc9496352748652a8, >=6addb1d6de1968b84852f54561cc9a999909b5a9 <7d17e9454a9af3ec7aebb88b41a9deedd5b19a6b, >=6addb1d6de1968b84852f54561cc9a999909b5a9 <7e55ca1080f09d9f7112c7f20ac31f682c1f2374, >=6addb1d6de1968b84852f54561cc9a999909b5a9 <90f305f2c7a30257c683e13f4bf7c798eea992a0, >=6addb1d6de1968b84852f54561cc9a999909b5a9 <bd3c4108a56de34380edab670065e86283cb3029, >=6addb1d6de1968b84852f54561cc9a999909b5a9 <c6d5fa46c1ee25d068fc730fd377f0f54188d290, >=6addb1d6de1968b84852f54561cc9a999909b5a9 <d2e3839419ac4047835762c4d7712bda1101b57e, =2.6.24 | e748811d9b80a3e101110ff4b3c612e5fca54d98, 06a286b320236508d02ab2ccc9496352748652a8, 7d17e9454a9af3ec7aebb88b41a9deedd5b19a6b, 7e55ca1080f09d9f7112c7f20ac31f682c1f2374, 90f305f2c7a30257c683e13f4bf7c798eea992a0, bd3c4108a56de34380edab670065e86283cb3029, c6d5fa46c1ee25d068fc730fd377f0f54188d290, d2e3839419ac4047835762c4d7712bda1101b57e |
| linux-kernel: Kernel | >=5.11.0 <5.15.216, >=5.16.0 <6.1.183, >=6.13.0 <6.18.45, >=6.19.0 <7.1.9, >=6.2.0 <6.6.152, >=6.7.0 <6.12.104, >=2.6.24 <5.10.265 | 5.15.216, 6.1.183, 6.18.45, 7.1.9, 6.6.152, 6.12.104, 5.10.265 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket