CVE-2022-27223
Vulnerability Summary
Timeline
Description
In drivers/usb/gadget/udc/udc-xilinx.c in the Linux kernel before 5.16.12, the endpoint index is not validated and might be manipulated by the host for out-of-array access.
CVSS Metrics
- v3.1•HIGH•Score: 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 6.5AV:N/AC:L/Au:S/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 2.09%• Percentile: 81%
Techniques & Countermeasures
- CWE-129•Improper Validation of Array Index
The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array.
Affected Systems
- debian•linux
< 5.10.103-1 | < 5.16.12-1 | < 5.16.12-1 | < 5.16.12-1
- ubuntu•linux
< 4.4.0-224.257 | < 4.15.0-177.186 | < 5.4.0-110.124
- ubuntu•linux-aws
< 4.4.0-1104.109 | < 4.4.0-1140.154 | < 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-1074.80 | 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-1105.114 | < 4.15.0-1114.117 | < 5.4.0-1063.66
- ubuntu•linux-lts-xenial
< 4.4.0-224.257~14.04.1
Showing first 50 affected entries in server-rendered view.
References (13)
- https://github.com/torvalds/linux/commit/7f14c7227f342d9932f9b918893c8814f86d2a0d
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16.12
- https://security.netapp.com/advisory/ntap-20220419-0001/
- https://lists.debian.org/debian-lts-announce/2022/07/msg00000.html
- https://ubuntu.com/security/CVE-2022-27223
- https://git.kernel.org/linus/7f14c7227f342d9932f9b918893c8814f86d2a0d
- https://ubuntu.com/security/notices/USN-5381-1
- https://ubuntu.com/security/notices/USN-5413-1
- https://ubuntu.com/security/notices/USN-5415-1
- https://ubuntu.com/security/notices/USN-5417-1
- https://ubuntu.com/security/notices/USN-5418-1
- https://www.cve.org/CVERecord?id=CVE-2022-27223
- https://security-tracker.debian.org/tracker/CVE-2022-27223