Description
In the Linux kernel before 5.4.12, drivers/input/input.c has out-of-bounds writes via a crafted keycode table, as demonstrated by input_set_keycode, aka CID-cb222aed03d7.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 5.4.13-1 | — |
| Debian 13 | linux | 5.4.13-1 | — |
| Debian 12 | linux | 5.4.13-1 | — |
| Debian 8 | linux | 3.16.84-1 | DLA-2241-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-raspi-realtime | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +2 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +2 | No fix yet | — |
| Ubuntu 18.04 LTS | linux | 4.15.0-91.92 | — |
| Ubuntu 18.04 LTS | linux-aws | 4.15.0-1063.67 | — |
| Ubuntu 18.04 LTS | linux-azure-5.3 | 5.3.0-1016.17~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-gcp +6 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp-5.3 +1 | 5.3.0-1014.15~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-gke-4.15 | 4.15.0-1055.58 | — |
| Ubuntu 18.04 LTS | linux-gke-5.0 | 5.0.0-1032.33 | — |
| Ubuntu 18.04 LTS | linux-hwe | 5.3.0-42.34~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-kvm | 4.15.0-1056.57 | — |
| Ubuntu 18.04 LTS | linux-oem | 4.15.0-1076.86 | — |
| Ubuntu 18.04 LTS | linux-oem-osp1 | 5.0.0-1043.48 | — |
| Ubuntu 18.04 LTS | linux-oracle | 4.15.0-1035.39 | — |
| Ubuntu 18.04 LTS | linux-raspi2 | 4.15.0-1057.61 | — |
| Ubuntu 18.04 LTS | linux-raspi2-5.3 | 5.3.0-1019.21~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-snapdragon | 4.15.0-1074.81 | — |
| Ubuntu 16.04 LTS | linux | 4.4.0-174.204 | — |
| Ubuntu 16.04 LTS | linux-aws | 4.4.0-1102.113 | — |
| Ubuntu 16.04 LTS | linux-aws-hwe | 4.15.0-1063.67~16.04.1 | — |
| Ubuntu 16.04 LTS | linux-azure | 4.15.0-1075.80 | — |
| Ubuntu 16.04 LTS | linux-gcp | 4.15.0-1058.62 | — |
| Ubuntu 16.04 LTS | linux-hwe | 4.15.0-91.92~16.04.1 | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
| Ubuntu 16.04 LTS | linux-kvm | 4.4.0-1066.73 | — |
| Ubuntu 16.04 LTS | linux-oracle | 4.15.0-1035.38~16.04.1 | — |
| Ubuntu 16.04 LTS | linux-raspi2 | 4.4.0-1129.138 | — |
| Ubuntu 16.04 LTS | linux-snapdragon | 4.4.0-1133.141 | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro FIPS 18.04 LTS | linux-aws-fips +2 | No fix yet | — |
| Ubuntu Pro FIPS 16.04 LTS | linux-fips | No fix yet | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-aws-fips | 4.15.0-2018.18 | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-azure-fips | 4.15.0-2006.7 | — |
| Ubuntu Pro FIPS-updates 16.04 LTS | linux-fips | 4.4.0-1029.34 | — |
| Ubuntu Pro 20.04 LTS | linux-azure-fde-5.15 | 5.15.0-1114.123~20.04.1 | — |
| Ubuntu Pro 14.04 LTS | linux | No fix yet | — |
| Ubuntu Pro 14.04 LTS | linux-aws | 4.4.0-1062.66 | — |
| Ubuntu Pro 14.04 LTS | linux-azure | 4.15.0-1074.79~14.04.1 | — |
| Ubuntu Pro 14.04 LTS | linux-lts-xenial | 4.4.0-174.204~14.04.1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | kernel-rt +12 | 4.18.0-240.rt7.54.el8 | RHSA-2020:4609 |
| RHEL 8 | perf +26 | 4.18.0-240.el8 | RHSA-2020:4431 |
| RHEL 7 | kernel +15 | 3.10.0-1160.el7 | RHSA-2020:4060, RHSA-2020:2854 |
| RHEL 7 | kernel-alt | 4.14.0-115.26.1.el7a | RHSA-2020:2854 |
| RHEL 7 | kernel-rt +10 | 3.10.0-1160.rt56.1131.el7 | RHSA-2020:4062 |
| RHEL 7 | perf +3 | 3.10.0-957.65.1.el7 | RHSA-2020:5656, RHSA-2020:4060, RHSA-2020:2854 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7.7 EUS | perf +18 | 3.10.0-1062.43.1.el7 | RHSA-2021:0019 |
| RHEL 7.6 EUS | perf +19 | 3.10.0-957.65.1.el7 | RHSA-2020:5656 |
| RHEL 7.4 TUS | perf +11 | 3.10.0-693.81.1.el7 | RHSA-2020:5430 |
| RHEL 7.4 E4S | perf +13 | 3.10.0-693.81.1.el7 | RHSA-2020:5430 |
| RHEL 7.4 AUS | perf +11 | 3.10.0-693.81.1.el7 | RHSA-2020:5430 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | kernel-tools-libs-devel | 4.18.0-240.el8 | ALSA-2020:4431 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | perf +19 | 4.18.0-240.el8 | ELSA-2020-4431 |
| Oracle Linux 7 | kernel-uek +5 | 4.1.12-124.39.5.el7uek | ELSA-2020-5715, ELSA-2020-5708 |
| Oracle Linux 7 | kernel-uek-tools +3 | 4.14.35-1902.303.4.1.el7uek | ELSA-2020-5715 |
| Oracle Linux 7 | perf +12 | 3.10.0-1160.el7 | ELSA-2020-5715, ELSA-2020-4060 |
Advisories 14
- ALSA-2020:4431 Moderate: kernel security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2020:4431 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RHSA-2020:4062 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Oct 9, 2026
- RHSA-2020:4060 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 9, 2026
- RHSA-2020:4609 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2021:0019 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2020:5656 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2020:5430 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2020:2854 Red Hat Security Advisory: kernel-alt security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- DLA-2241-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- ELSA-2020-4431 Moderate: kernel security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 10, 2020
- ELSA-2020-4060 Important: kernel security, bug fix, and enhancement update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Oct 6, 2020
- ELSA-2020-5715 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jun 9, 2020
- ELSA-2020-5708 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jun 3, 2020
References
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cb222aed03d798fc074be55e59d9a112338ee784
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.4.12
- https://github.com/torvalds/linux/commit/cb222aed03d798fc074be55e59d9a112338ee784
- https://security.netapp.com/advisory/ntap-20200430-0004/
- [debian-lts-announce] 20200609 [SECURITY] [DLA 2241-1] linux security update mailing-list
- [debian-lts-announce] 20200610 [SECURITY] [DLA 2241-2] linux security update mailing-list