CVE-2022-49570
JSON

5.5medium

gpio: gpio-xilinx: Fix integer overflow

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.28% (higher than 13% of CVEs)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: gpio: gpio-xilinx: Fix integer overflow Current implementation is not able to configure more than 32 pins due to incorrect data type. So type casting with unsigned long to avoid it.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 02b3f84d9080b0f4297f31258307f626a43faba5 before e129e5486b981d324057e6986059f852658b0d00, from 02b3f84d9080b0f4297f31258307f626a43faba5 before 6f16a5390640807dde420ee5ccbc4c95577aea6a, from 02b3f84d9080b0f4297f31258307f626a43faba5 before 32c094a09d5829ad9b02cdf667569aefa8de0ea6, 5.14
Not affected: before 5.14, from 5.15.58 up to 5.15.*, from 5.18.15 up to 5.18.*, from 5.19 up to *
CVE List
linux linux_kernelfrom 5.14 before 5.15.58, from 5.16 before 5.18.15, 5.19NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-190

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: gpio: gpio-xilinx: Fix integer overflow Current implementation is not able to configure more than 32 pins due to incorrect data type. So type casting with unsigned long to avoid it.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: gpio: gpio-xilinx: Se corrige el desbordamiento de enteros. La implementación actual no puede configurar más de 32 pines debido a un tipo de datos incorrecto. Por lo tanto, se realiza una conversión de tipos con unsigned long para evitarlo.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-49570 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-49570 changed 2026-06-17Public domain