CVE-2019-20636
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2019-20636 affects the Linux kernel before version 5.4.12, specifically in the drivers/input/input.c component. The vulnerability was discovered by the syzbot tool and involves out-of-bounds writes that can occur via a crafted keycode table, as demonstrated by input_set_keycode (MITRE CVE, Debian Tracker).

Technical details

The vulnerability stems from insufficient validation of keycode changes in the input subsystem. When garbage values exist in the input device's keycode table with values that are too large, it can lead to clear_bit() operations with offsets outside of the intended bitmaps. This can damage other objects within an input device or even outside of it. The issue was fixed by adding safety checks to the returned old keycodes and implementing proper validation before performing bit operations (Kernel Commit).

Impact

The vulnerability can result in heap out-of-bounds write operations. A local user with access to the device node for an input or VT device could potentially exploit this vulnerability to cause denial of service (crash or memory corruption) or achieve privilege escalation (Debian LTS).

Mitigation and workarounds

The vulnerability was fixed in Linux kernel version 5.4.12. The fix involves adding proper validation checks for keycode values and ensuring that bit operations are only performed within valid ranges. Users should upgrade their Linux kernel to version 5.4.12 or later to address this vulnerability (Kernel Changelog).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-fips
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-fips
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-oracle-6.8
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-nvidia-6.8
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel-devel
NoYesJan 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management