# CVE-2022-49570: gpio: gpio-xilinx: Fix integer overflow

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 13% of CVEs (2026-11-30)
- Published: 2025-02-26T02:23:13.703Z
- Modified: 2026-06-17T05:18:28.877Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: from 5.14 before 5.15.58; from 5.16 before 5.18.15; 5.19

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/e129e5486b981d324057e6986059f852658b0d00> (patch)
- <https://git.kernel.org/stable/c/6f16a5390640807dde420ee5ccbc4c95577aea6a> (patch)
- <https://git.kernel.org/stable/c/32c094a09d5829ad9b02cdf667569aefa8de0ea6> (patch)

## Sources

- CVE List: [CVE-2022-49570](https://www.cve.org/CVERecord?id=CVE-2022-49570), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49570](https://nvd.nist.gov/vuln/detail/CVE-2022-49570), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49570 · Whole record: https://cve.day/CVE-2022-49570.json · Rebuilt by cve.day 2026-11-25T22:58:20.737Z
