Skip to content
OpenAdvisories
Unscored CVE-2021-0512 EUVD-2021-3131GHSA-x4h3-hq3r-rqx8

In __hidinput_change_resolution_multipliers of hid-input.c, there is a possible out of bounds write due to a heap buffer overflow. This cou…

Published Jun 21, 2021 · Updated Aug 3, 2024 · Assigned by google_android

Description

In __hidinput_change_resolution_multipliers of hid-input.c, there is a possible out of bounds write due to a heap buffer overflow. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-173843328References: Upstream kernel

Affected products

VendorProductAffectedFixed
— Android Android kernel —

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.

ReleasePackageFixed inAdvisory
Debian 14 linux 5.10.19-1 —
Debian 13 linux 5.10.19-1 —
Debian 12 linux 5.10.19-1 —
Debian 9 linux 4.9.272-1 DLA-2689-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS linux-raspi-realtime No fix yet —
Ubuntu 22.04 LTS linux-realtime +1 No fix yet —
Ubuntu 20.04 LTS linux 5.4.0-71.79 —
Ubuntu 20.04 LTS linux-aws 5.4.0-1043.45 —
Ubuntu 20.04 LTS linux-azure 5.4.0-1044.46 —
Ubuntu 20.04 LTS linux-gcp 5.4.0-1041.44 —
Ubuntu 20.04 LTS linux-gke 5.4.0-1041.43 —
Ubuntu 20.04 LTS linux-gkeop 5.4.0-1013.14 —
Ubuntu 20.04 LTS linux-hwe-5.8 5.8.0-53.60~20.04.1 —
Ubuntu 20.04 LTS linux-kvm 5.4.0-1037.38 —
Ubuntu 20.04 LTS linux-oem-5.10 5.10.0-1021.22 —
Ubuntu 20.04 LTS linux-oracle 5.4.0-1042.45 —
Ubuntu 20.04 LTS linux-raspi 5.4.0-1033.36 —
Ubuntu 20.04 LTS linux-riscv +2 No fix yet —
Ubuntu 20.04 LTS linux-riscv-5.8 5.8.0-25.27~20.04.1 —
Ubuntu 18.04 LTS linux 4.15.0-143.147 —
Ubuntu 18.04 LTS linux-aws 4.15.0-1102.109 —
Ubuntu 18.04 LTS linux-aws-5.4 5.4.0-1043.45~18.04.1 —
Ubuntu 18.04 LTS linux-azure-4.15 4.15.0-1114.127 —
Ubuntu 18.04 LTS linux-azure-5.4 5.4.0-1044.46~18.04.1 —
Ubuntu 18.04 LTS linux-dell300x 4.15.0-1018.22 —
Ubuntu 18.04 LTS linux-gcp +13 No fix yet —
Ubuntu 18.04 LTS linux-gcp-4.15 4.15.0-1099.112 —
Ubuntu 18.04 LTS linux-gcp-5.4 5.4.0-1041.44~18.04.1 —
Ubuntu 18.04 LTS linux-gke-5.4 5.4.0-1040.42~18.04.1 —
Ubuntu 18.04 LTS linux-gkeop-5.4 5.4.0-1013.14~18.04.1 —
Ubuntu 18.04 LTS linux-hwe-5.4 5.4.0-71.79~18.04.1 —
Ubuntu 18.04 LTS linux-kvm 4.15.0-1091.93 —
Ubuntu 18.04 LTS linux-oracle 4.15.0-1071.79 —
Ubuntu 18.04 LTS linux-oracle-5.4 5.4.0-1042.45~18.04.1 —
Ubuntu 18.04 LTS linux-raspi-5.4 5.4.0-1033.36~18.04.1 —
Ubuntu 18.04 LTS linux-raspi2 4.15.0-1085.90 —
Ubuntu 18.04 LTS linux-snapdragon 4.15.0-1102.111 —
Ubuntu 16.04 LTS linux 4.4.0-208.240 —
Ubuntu 16.04 LTS linux-aws 4.4.0-1126.140 —
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
Ubuntu 16.04 LTS linux-kvm 4.4.0-1091.100 —
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS 20.04 LTS linux-aws-fips +2 No fix yet —
Ubuntu Pro FIPS 18.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS 16.04 LTS linux-fips No fix yet —
Ubuntu Pro FIPS-updates 20.04 LTS linux-aws-fips 5.4.0-1069.73+fips2 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-azure-fips 5.4.0-1073.76+fips1 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-gcp-fips 5.4.0-1067.71~20.04.1 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-aws-fips 4.15.0-2044.46 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-azure-fips 4.15.0-2026.29 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-fips 4.15.0-1059.67 —
Ubuntu Pro FIPS-updates 16.04 LTS linux-fips 4.4.0-1060.66 —
Ubuntu Pro 16.04 LTS linux-aws-hwe 4.15.0-1102.109~16.04.1 —
Ubuntu Pro 16.04 LTS linux-azure 4.15.0-1114.127~16.04.1 —
Ubuntu Pro 16.04 LTS linux-gcp 4.15.0-1099.112~16.04.1 —
Ubuntu Pro 16.04 LTS linux-hwe 4.15.0-143.147~16.04.3 —
Ubuntu Pro 16.04 LTS linux-oracle 4.15.0-1071.79~16.04.1 —
Ubuntu Pro 14.04 LTS linux No fix yet —
Ubuntu Pro 14.04 LTS linux-aws 4.4.0-1090.94 —
Ubuntu Pro 14.04 LTS linux-azure 4.15.0-1114.127~14.04.1 —
Ubuntu Pro 14.04 LTS linux-lts-xenial 4.4.0-208.240~14.04.1 —
ReleasePackageFixed inAdvisory
RHEL 8 kernel-rt +12 4.18.0-305.25.1.rt7.97.el8_4 RHSA-2021:4088
RHEL 8 kpatch-patch-4_18_0-305 1-6.el8 RHSA-2021:4122
RHEL 8 kpatch-patch-4_18_0-305_10_2 1-3.el8_4 RHSA-2021:4122
RHEL 8 kpatch-patch-4_18_0-305_12_1 1-2.el8_4 RHSA-2021:4122
RHEL 8 kpatch-patch-4_18_0-305_17_1 +1 1-1.el8_4 RHSA-2021:4122
RHEL 8 kpatch-patch-4_18_0-305_3_1 1-5.el8_4 RHSA-2021:4122
RHEL 8 kpatch-patch-4_18_0-305_7_1 1-4.el8_4 RHSA-2021:4122
RHEL 8 perf +26 4.18.0-305.25.1.el8_4 RHSA-2021:4056
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhev Hypervisor 4 redhat-virtualization-host +1 4.4.9-202111172338_8.5 RHSA-2021:4750
RHEL 8.2 EUS kernel-rt +12 4.18.0-193.65.2.rt13.117.el8_2 RHSA-2021:3445
RHEL 8.2 EUS kpatch-patch-4_18_0-193_19_1 1-12.el8_2 RHSA-2021:3443
RHEL 8.2 EUS kpatch-patch-4_18_0-193_28_1 +4 1-10.el8_2 RHSA-2021:3443
RHEL 8.2 EUS kpatch-patch-4_18_0-193_46_1 +1 1-7.el8_2 RHSA-2021:3443
RHEL 8.2 EUS kpatch-patch-4_18_0-193_51_1 1-4.el8_2 RHSA-2021:3443
RHEL 8.2 EUS kpatch-patch-4_18_0-193_56_1 1-3.el8_2 RHSA-2021:3443
RHEL 8.2 EUS kpatch-patch-4_18_0-193_60_2 1-2.el8_2 RHSA-2021:3443
RHEL 8.2 EUS kpatch-patch-4_18_0-193_64_1 1-1.el8_2 RHSA-2021:3443
RHEL 8.2 EUS perf +26 4.18.0-193.65.2.el8_2 RHSA-2021:3446

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 kernel-tools-libs-devel 4.18.0-305.25.1.el8_4 ALSA-2021:4056

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 kernel 4.18.0-305.25.1.el8_4 RLSA-2021:4056
Rocky Linux 8 kernel-rt 4.18.0-305.25.1.rt7.97.el8_4 RLSA-2021:4088
ReleasePackageFixed inAdvisory
SLES 15 SP3 kernel-64kb +7 5.3.18-59.13.1 SUSE-SU-2021:2352-1
SLES 15 SP3 kernel-azure +2 5.3.18-38.11.1 SUSE-SU-2021:2305-1
SLES 15 SP3 kernel-default-base 5.3.18-59.13.1.18.6.1 SUSE-SU-2021:2352-1
SLES 15 SP2 kernel-azure +2 5.3.18-18.53.1 SUSE-SU-2021:2303-1
SLES 15 SP2 kernel-default-base 5.3.18-24.70.1.9.32.1 SUSE-SU-2021:2325-1
SLES 15 SP2 kernel-docs +5 5.3.18-24.70.1 SUSE-SU-2021:2325-1
SLES 15 SP1 kernel-docs +5 4.12.14-197.99.1 SUSE-SU-2021:2427-1
SLES 15 kernel-docs +6 4.12.14-150.75.1 SUSE-SU-2021:2421-1
SLES 12 SP5 kernel-azure +2 4.12.14-16.62.1 SUSE-SU-2021:2321-1
SLES 12 SP5 kernel-docs +4 4.12.14-122.77.1 SUSE-SU-2021:2324-1
Show 29 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 kernel-syms +2 4.12.14-95.80.1 SUSE-SU-2021:2422-1
SLES 12 SP3 kernel-syms +2 4.4.180-94.147.1 SUSE-SU-2021:2451-1
SLES 12 SP3 kgraft-patch-SLE12-SP3_Update_34 12-2.2 SUSE-SU-2021:2433-1
SLES 12 SP3 kgraft-patch-SLE12-SP3_Update_35 11-2.2 SUSE-SU-2021:2433-1
SLES 12 SP3 kgraft-patch-SLE12-SP3_Update_36 9-2.2 SUSE-SU-2021:2433-1
SLES 12 SP3 kgraft-patch-SLE12-SP3_Update_37 7-2.2 SUSE-SU-2021:2433-1
SLES 12 SP3 kgraft-patch-SLE12-SP3_Update_38 6-2.2 SUSE-SU-2021:2433-1
SLES 12 SP3 kgraft-patch-SLE12-SP3_Update_39 3-2.1 SUSE-SU-2021:2433-1
SLES 12 SP3 kgraft-patch-SLE12-SP3_Update_40 1-4.3.1 SUSE-SU-2021:2451-1
SLES 12 SP2 kernel-syms +2 4.4.121-92.158.1 SUSE-SU-2021:2406-1
SLES 11 SP4 kernel-ec2 +8 3.0.101-108.129.1 SUSE-SU-2021:14764-1
SLES for SAP 15 SP1 kernel-docs +4 4.12.14-197.99.1 SUSE-SU-2021:2427-1
SLES for SAP 15 kernel-docs +5 4.12.14-150.75.1 SUSE-SU-2021:2421-1
SLES for SAP 12 SP5 kernel-azure +2 4.12.14-16.62.1 SUSE-SU-2021:2321-1
SLES for SAP 12 SP5 kernel-syms +2 4.12.14-122.77.1 SUSE-SU-2021:2324-1
SLES for SAP 12 SP4 kernel-syms +2 4.12.14-95.80.1 SUSE-SU-2021:2422-1
SLES for SAP 12 SP3 kernel-syms +2 4.4.180-94.147.1 SUSE-SU-2021:2451-1
SLES for SAP 12 SP3 kgraft-patch-SLE12-SP3_Update_34 12-2.2 SUSE-SU-2021:2433-1
SLES for SAP 12 SP3 kgraft-patch-SLE12-SP3_Update_35 11-2.2 SUSE-SU-2021:2433-1
SLES for SAP 12 SP3 kgraft-patch-SLE12-SP3_Update_36 9-2.2 SUSE-SU-2021:2433-1
SLES for SAP 12 SP3 kgraft-patch-SLE12-SP3_Update_37 7-2.2 SUSE-SU-2021:2433-1
SLES for SAP 12 SP3 kgraft-patch-SLE12-SP3_Update_38 6-2.2 SUSE-SU-2021:2433-1
SLES for SAP 12 SP3 kgraft-patch-SLE12-SP3_Update_39 3-2.1 SUSE-SU-2021:2433-1
SLES for SAP 12 SP3 kgraft-patch-SLE12-SP3_Update_40 1-4.3.1 SUSE-SU-2021:2451-1
SLE Real Time 12 SP5 kernel-rt +3 4.12.14-10.49.1 SUSE-SU-2021:2349-1
SLE Micro 5.0 kernel-default 5.3.18-24.70.1 SUSE-SU-2021:2325-1
SLE Micro 5.0 kernel-default-base 5.3.18-24.70.1.9.32.1 SUSE-SU-2021:2325-1
SLE Micro 5.0 kernel-rt 4.12.14-10.49.1 SUSE-SU-2021:2349-1
SLE Live Patching 15 SP3 kernel-default 5.3.18-59.13.1 SUSE-SU-2021:2352-1
SLE Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_3 1-7.3.1 SUSE-SU-2021:2352-1
SLE Live Patching 15 SP2 kernel-default 5.3.18-24.70.1 SUSE-SU-2021:2325-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_0 13-5.2 SUSE-SU-2021:2377-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_1 12-2.2 SUSE-SU-2021:2377-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_10 7-2.2 SUSE-SU-2021:2361-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_16 1-5.3.1 SUSE-SU-2021:2325-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_2 +2 11-2.2 SUSE-SU-2021:2387-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_5 +2 9-2.2 SUSE-SU-2021:2387-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_8 +1 8-2.2 SUSE-SU-2021:2361-1
SLE Live Patching 15 SP1 kernel-default 4.12.14-197.99.1 SUSE-SU-2021:2427-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_13 +1 12-2.2 SUSE-SU-2021:2344-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_15 11-2.2 SUSE-SU-2021:2332-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_16 10-2.2 SUSE-SU-2021:2332-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_17 +1 9-2.2 SUSE-SU-2021:2332-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_19 +1 8-2.2 SUSE-SU-2021:2361-1, SUSE-SU-2021:2332-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_21 8-2.3 SUSE-SU-2021:2361-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_22 7-2.2 SUSE-SU-2021:2332-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_23 6-2.2 SUSE-SU-2021:2361-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_24 3-2.1 SUSE-SU-2021:2361-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_25 2-2.1 SUSE-SU-2021:2372-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_26 1-3.3.3 SUSE-SU-2021:2427-1
SLE Live Patching 15 kernel-default 4.12.14-150.75.1 SUSE-SU-2021:2421-1
SLE Live Patching 15 kernel-livepatch-SLE15_Update_19 12-2.2 SUSE-SU-2021:2344-1
SLE Live Patching 15 kernel-livepatch-SLE15_Update_20 11-2.2 SUSE-SU-2021:2344-1
SLE Live Patching 15 kernel-livepatch-SLE15_Update_21 9-2.2 SUSE-SU-2021:2344-1
SLE Live Patching 15 kernel-livepatch-SLE15_Update_22 7-2.2 SUSE-SU-2021:2344-1
SLE Live Patching 15 kernel-livepatch-SLE15_Update_23 6-2.2 SUSE-SU-2021:2367-1
SLE Live Patching 15 kernel-livepatch-SLE15_Update_24 3-2.1 SUSE-SU-2021:2367-1
SLE Live Patching 15 kernel-livepatch-SLE15_Update_25 1-1.3.1 SUSE-SU-2021:2421-1
SLE Live Patching 12 SP5 kernel-default 4.12.14-122.77.1 SUSE-SU-2021:2324-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_10 12-2.2 SUSE-SU-2021:2332-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_11 +1 10-2.2 SUSE-SU-2021:2453-1, SUSE-SU-2021:2361-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_13 +1 8-2.2 SUSE-SU-2021:2453-1, SUSE-SU-2021:2332-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_15 7-2.2 SUSE-SU-2021:2361-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_16 6-2.2 SUSE-SU-2021:2332-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_20 1-8.3.1 SUSE-SU-2021:2324-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_7 +1 14-2.2 SUSE-SU-2021:2344-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_9 13-2.2 SUSE-SU-2021:2332-1
SLE Live Patching 12 SP4 kernel-default 4.12.14-95.80.1 SUSE-SU-2021:2422-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_15 12-2.2 SUSE-SU-2021:2367-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_16 11-2.2 SUSE-SU-2021:2367-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_17 8-2.2 SUSE-SU-2021:2344-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_18 7-2.2 SUSE-SU-2021:2344-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_19 6-2.2 SUSE-SU-2021:2344-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_20 3-2.1 SUSE-SU-2021:2367-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_21 2-2.1 SUSE-SU-2021:2368-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_22 1-6.3.1 SUSE-SU-2021:2422-1
SLE HPC 15 SP1 kernel-docs +4 4.12.14-197.99.1 SUSE-SU-2021:2427-1
SLE HPC 15 kernel-docs +5 4.12.14-150.75.1 SUSE-SU-2021:2421-1
SUSE Real Time Module 15 SP2 kernel-rt +1 5.3.18-42.2 SUSE-SU-2021:2426-1
SUSE Real Time Module 15 SP2 kernel-syms-rt +1 5.3.18-42.1 SUSE-SU-2021:2426-1
SUSE Real Time Module 15 SP2 lttng-modules 2.10.10-1.5.1 SUSE-SU-2021:2426-1
SUSE Real Time Module 15 SP2 oracleasm 2.0.8-1.3.1 SUSE-SU-2021:2426-1
SUSE OpenStack Cloud Crowbar 9 kernel-syms +2 4.12.14-95.80.1 SUSE-SU-2021:2422-1
SUSE OpenStack Cloud Crowbar 8 kernel-syms +2 4.4.180-94.147.1 SUSE-SU-2021:2451-1
SUSE OpenStack Cloud Crowbar 8 kgraft-patch-SLE12-SP3_Update_40 1-4.3.1 SUSE-SU-2021:2451-1
SUSE OpenStack Cloud 9 kernel-syms +2 4.12.14-95.80.1 SUSE-SU-2021:2422-1
SUSE OpenStack Cloud 8 kernel-syms +2 4.4.180-94.147.1 SUSE-SU-2021:2451-1
SUSE OpenStack Cloud 8 kgraft-patch-SLE12-SP3_Update_40 1-4.3.1 SUSE-SU-2021:2451-1
SUSE Manager Server 4.0 kernel-docs +5 4.12.14-197.99.1 SUSE-SU-2021:2427-1
SUSE Manager Retail Branch Server 4.0 kernel-docs +4 4.12.14-197.99.1 SUSE-SU-2021:2427-1
SUSE Manager Proxy 4.0 kernel-docs +4 4.12.14-197.99.1 SUSE-SU-2021:2427-1
SUSE HPE Helion OpenStack 8 kernel-syms +2 4.4.180-94.147.1 SUSE-SU-2021:2451-1
SUSE HPE Helion OpenStack 8 kgraft-patch-SLE12-SP3_Update_40 1-4.3.1 SUSE-SU-2021:2451-1
SUSE Enterprise Storage 6 kernel-docs +4 4.12.14-197.99.1 SUSE-SU-2021:2427-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.3 kernel-64kb +6 5.3.18-59.13.1 openSUSE-SU-2021:2352-1
openSUSE Leap 15.3 kernel-azure +2 5.3.18-38.11.1 openSUSE-SU-2021:2305-1
openSUSE Leap 15.3 kernel-debug +4 4.12.14-197.99.1 openSUSE-SU-2021:2427-1, openSUSE-SU-2021:2352-1
openSUSE Leap 15.3 kernel-default-base 5.3.18-59.13.1.18.6.1 openSUSE-SU-2021:2352-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 perf +19 4.18.0-305.25.1.el8_4 ELSA-2021-4056
Oracle Linux 7 kernel-uek +5 4.1.12-124.54.6.1.el7uek ELSA-2021-9459

Advisories 42

References