CVE-2022-0487
Vulnerability Summary
Timeline
Description
A use-after-free vulnerability was found in rtsx_usb_ms_drv_remove in drivers/memstick/host/rtsx_usb_ms.c in memstick in the Linux kernel. In this flaw, a local attacker with a user privilege may impact system Confidentiality. This flaw affects kernel versions prior to 5.14 rc1.
CVSS Metrics
- v3.1•MEDIUM•Score: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- v2.0•LOW•Score: 2.1AV:L/AC:L/Au:N/C:P/I:N/A:N
EPSS Trends
Current EPSS score: 0.42%• Percentile: 36%
Techniques & Countermeasures
- CWE-416•Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected Systems
- debian•linux
< 5.10.103-1 | < 5.16.10-1 | < 5.16.10-1 | < 5.16.10-1
- ubuntu•linux
< 4.4.0-239.273 | < 4.15.0-177.186 | < 5.4.0-110.124
- ubuntu•linux-aws
< 4.4.0-1117.123 | < 4.4.0-1155.170 | < 4.15.0-1128.137 | < 5.4.0-1073.78
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
< 5.13.0-1023.25~20.04.1
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1075.80~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-fips
< 4.15.0-2067.70 | all | < 5.4.0-1073.78+fips1
- ubuntu•linux-aws-hwe
< 4.15.0-1128.137~16.04.1
- ubuntu•linux-azure
< 4.15.0-1138.151~14.04.1 | < 4.15.0-1138.151~16.04.1 | all | < 5.4.0-1078.81
- ubuntu•linux-azure-4.15
< 4.15.0-1138.151
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
< 5.13.0-1023.27~20.04.1
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1078.81~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fips
< 4.15.0-2049.53 | all | < 5.4.0-1078.81+fips1
- ubuntu•linux-bluefield
all | < 5.4.0-1040.44
- ubuntu•linux-dell300x
< 4.15.0-1042.47
- ubuntu•linux-fips
< 4.4.0-1088.95 | all | < 4.15.0-1085.94 | < 5.4.0-1049.55
- ubuntu•linux-gcp
< 4.15.0-1122.136~16.04.1 | all | < 5.4.0-1073.78
- ubuntu•linux-gcp-4.15
< 4.15.0-1122.136
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
< 5.13.0-1025.30~20.04.1
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1073.78~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-fips
< 4.15.0-2032.35 | all | < 5.4.0-1073.78+fips1
- ubuntu•linux-gke
< 5.4.0-1071.76
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.4
< 5.4.0-1071.76~18.04.3
- ubuntu•linux-gkeop
< 5.4.0-1040.41
- ubuntu•linux-gkeop-5.4
< 5.4.0-1040.41~18.04.1
- ubuntu•linux-hwe
< 4.15.0-177.186~16.04.1 | all
- ubuntu•linux-hwe-5.11
all
- ubuntu•linux-hwe-5.13
< 5.13.0-41.46~20.04.1
- ubuntu•linux-hwe-5.4
< 5.4.0-110.124~18.04.1
- ubuntu•linux-hwe-5.8
all
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-ibm
< 5.4.0-1021.23
- ubuntu•linux-ibm-5.4
< 5.4.0-1021.23~18.04.1
- ubuntu•linux-intel-5.13
all
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-intel-iotg-5.15
< 5.15.0-1008.11~20.04.1
- ubuntu•linux-iot
< 5.4.0-1004.6
- ubuntu•linux-kvm
< 4.4.0-1118.128 | < 4.15.0-1114.117 | < 5.4.0-1063.66
- ubuntu•linux-lts-xenial
< 4.4.0-239.273~14.04.1
Showing first 50 affected entries in server-rendered view.
References (15)
- https://bugzilla.redhat.com/show_bug.cgi?id=2044561
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=42933c8aa14be1caa9eda41f65cde8a3a95d3e39
- https://lists.debian.org/debian-lts-announce/2022/03/msg00011.html
- https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html
- https://www.debian.org/security/2022/dsa-5095
- https://www.debian.org/security/2022/dsa-5096
- https://ubuntu.com/security/CVE-2022-0487
- https://bugzilla.suse.com/show_bug.cgi?id=1194516
- https://lore.kernel.org/all/20220114075934.302464-1-gregkh@linuxfoundation.org/
- https://lore.kernel.org/all/20220127071638.4057899-1-gregkh@linuxfoundation.org/
- https://ubuntu.com/security/notices/USN-6001-1
- https://ubuntu.com/security/notices/USN-6013-1
- https://ubuntu.com/security/notices/USN-6014-1
- https://www.cve.org/CVERecord?id=CVE-2022-0487
- https://security-tracker.debian.org/tracker/CVE-2022-0487