kernel: out-of-bounds write via crafted keycode table
Published Apr 8, 2020
6.7
MEDIUMCVSS 3.1
EPSS 0.40%
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.
Affected products
No data.
Configuration 1
- < 3.16.83
- ≥ 3.17 · < 4.4.210
- ≥ 4.5 · < 4.9.210
- ≥ 4.10 · < 4.14.165
- ≥ 4.15 · < 4.19.96
- ≥ 4.20 · < 5.4.12
Configuration 2
- n/a
- n/a
- n/a
- n/a
- n/a
- n/a
- n/a
- n/a
- n/a
- n/a
- n/a
- n/a
- n/a
- n/a
- n/a
- n/a
- n/a
No data.
Red Hat Enterprise Linux 7
kernel-0:3.10.0-1160.el7
Fixed · RHSA-2020:4060
Red Hat Enterprise Linux 7
kernel-alt-0:4.14.0-115.26.1.el7a
Fixed · RHSA-2020:2854
Red Hat Enterprise Linux 7
kernel-rt-0:3.10.0-1160.rt56.1131.el7
Fixed · RHSA-2020:4062
Red Hat Enterprise Linux 7.4 Advanced Update Support
kernel-0:3.10.0-693.81.1.el7
Fixed · RHSA-2020:5430
Red Hat Enterprise Linux 7.4 Telco Extended Update Support
kernel-0:3.10.0-693.81.1.el7
Fixed · RHSA-2020:5430
Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions
kernel-0:3.10.0-693.81.1.el7
Fixed · RHSA-2020:5430
Red Hat Enterprise Linux 7.6 Extended Update Support
kernel-0:3.10.0-957.65.1.el7
Fixed · RHSA-2020:5656
Red Hat Enterprise Linux 7.7 Extended Update Support
kernel-0:3.10.0-1062.43.1.el7
Fixed · RHSA-2021:0019
Red Hat Enterprise Linux 8
kernel-0:4.18.0-240.el8
Fixed · RHSA-2020:4431
Red Hat Enterprise Linux 8
kernel-rt-0:4.18.0-240.rt7.54.el8
Fixed · RHSA-2020:4609
Red Hat Virtualization 4.2 for Red Hat Enterprise Linux 7.6 EUS
kernel-0:3.10.0-957.65.1.el7
Fixed · RHSA-2020:5656
Red Hat Enterprise Linux 5
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Out of support scope
Red Hat Enterprise MRG 2
kernel-rt
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | kernel-0:3.10.0-1160.el7 | Fixed | RHSA-2020:4060 |
| Red Hat Enterprise Linux 7 | kernel-alt-0:4.14.0-115.26.1.el7a | Fixed | RHSA-2020:2854 |
| Red Hat Enterprise Linux 7 | kernel-rt-0:3.10.0-1160.rt56.1131.el7 | Fixed | RHSA-2020:4062 |
| Red Hat Enterprise Linux 7.4 Advanced Update Support | kernel-0:3.10.0-693.81.1.el7 | Fixed | RHSA-2020:5430 |
| Red Hat Enterprise Linux 7.4 Telco Extended Update Support | kernel-0:3.10.0-693.81.1.el7 | Fixed | RHSA-2020:5430 |
| Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions | kernel-0:3.10.0-693.81.1.el7 | Fixed | RHSA-2020:5430 |
| Red Hat Enterprise Linux 7.6 Extended Update Support | kernel-0:3.10.0-957.65.1.el7 | Fixed | RHSA-2020:5656 |
| Red Hat Enterprise Linux 7.7 Extended Update Support | kernel-0:3.10.0-1062.43.1.el7 | Fixed | RHSA-2021:0019 |
| Red Hat Enterprise Linux 8 | kernel-0:4.18.0-240.el8 | Fixed | RHSA-2020:4431 |
| Red Hat Enterprise Linux 8 | kernel-rt-0:4.18.0-240.rt7.54.el8 | Fixed | RHSA-2020:4609 |
| Red Hat Virtualization 4.2 for Red Hat Enterprise Linux 7.6 EUS | kernel-0:3.10.0-957.65.1.el7 | Fixed | RHSA-2020:5656 |
| Red Hat Enterprise Linux 5 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Out of support scope | n/a |
| Red Hat Enterprise MRG 2 | kernel-rt | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue was rated as having Moderate impact because of the need of physical access or administrator privileges to trigger it.
Red Hat mitigation
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References (10)
- https://access.redhat.com/security/cve/CVE-2019-20636 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1824059 Issue Tracking
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.4.12 x_refsource_MISCRelease NotesVendor Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cb222aed03d798fc074be55e59d9a112338ee784 x_refsource_MISCPatchVendor Advisory
- https://github.com/torvalds/linux/commit/cb222aed03d798fc074be55e59d9a112338ee784 x_refsource_MISCPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/06/msg00011.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/06/msg00013.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2019-20636
- https://security.netapp.com/advisory/ntap-20200430-0004/ x_refsource_CONFIRMThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2019-20636
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2019-20636 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1824059 | Issue Tracking | |
| https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.4.12 | x_refsource_MISCRelease NotesVendor Advisory | |
| https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cb222aed03d798fc074be55e59d9a112338ee784 | x_refsource_MISCPatchVendor Advisory | |
| https://github.com/torvalds/linux/commit/cb222aed03d798fc074be55e59d9a112338ee784 | x_refsource_MISCPatchThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2020/06/msg00011.html | mailing-listx_refsource_MLISTMailing ListThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2020/06/msg00013.html | mailing-listx_refsource_MLISTMailing ListThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2019-20636 | ||
| https://security.netapp.com/advisory/ntap-20200430-0004/ | x_refsource_CONFIRMThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2019-20636 |
Change history (0)
No recorded changes yet.