Skip to content
Fencer Vulns
high 8.8

CVE-2022-27223 json

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…

published 2022-03-15 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-31732

cvss
8.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.1%
EPSS 2.1% chance of exploitation in 30 days, percentile 82%
public exploits
0
none known

Summary

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.

Patch / fix

  • linux linux_kernel 4.9.304, 4.14.269, 4.19.232, 5.4.182, 5.10.103, 5.15.26, 5.16.12
  • linux Debian 14, Debian 13, Debian 12 5.16.12-1

debian advisories DEBIAN-CVE-2022-27223

  • linux Ubuntu 18.04 LTS 4.15.0-177.186
  • linux Ubuntu 20.04 LTS 5.4.0-110.124
  • linux-aws Ubuntu 18.04 LTS 4.15.0-1128.137
  • linux-aws Ubuntu 20.04 LTS 5.4.0-1073.78
  • linux-gcp Ubuntu 20.04 LTS 5.4.0-1073.78
  • linux-gke Ubuntu 20.04 LTS 5.4.0-1071.76
  • linux-ibm Ubuntu 20.04 LTS 5.4.0-1021.23
  • linux-iot Ubuntu 20.04 LTS 5.4.0-1004.6

ubuntu advisories UBUNTU-CVE-2022-27223

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel-azure SLE Module for Public Cloud 15 SP3, openSUSE Leap 15.3 5.3.18-150300.38.53.1
  • kernel-syms-azure SLE Module for Public Cloud 15 SP3, openSUSE Leap 15.3 5.3.18-150300.38.53.1
  • kernel-source-azure SLE Module for Public Cloud 15 SP3, openSUSE Leap 15.3 5.3.18-150300.38.53.1
  • kernel-rt SLE Micro 5.1, Real Time Module 15 SP3 5.3.18-150300.82.1
  • kernel-syms-rt Real Time Module 15 SP3 5.3.18-150300.82.1
  • kernel-rt_debug Real Time Module 15 SP3 5.3.18-150300.82.1
  • kernel-source-rt Real Time Module 15 SP3 5.3.18-150300.82.1

suse advisories SUSE-SU-2022:1163-1SUSE-SU-2022:1038-1

  • kernel CBL-Mariner 2.0 5.15.32.1-2

azure linux advisories AZL-9067

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-27223 updated cvss 5.3

kernel: In drivers/usb/gadget/udc/udc-xilinx.c the endpoint index is not validated

  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.13% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P

Classification

Weakness
  • CWE-129 Improper Validation of Array Index
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.