CVE-2022-49570

gpio: gpio-xilinx: Fix integer overflow

State
Published
Severity
5.5 Medium
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

  • CWE-190 Integer Overflow or Wraparound

Affected Products

ProductVersions
LinuxLinux
  • 02b3f84d9080b0f4297f31258307f626a43faba5 to before e129e5486b981d324057e6986059f852658b0d00Affected
  • 02b3f84d9080b0f4297f31258307f626a43faba5 to before 6f16a5390640807dde420ee5ccbc4c95577aea6aAffected
  • 02b3f84d9080b0f4297f31258307f626a43faba5 to before 32c094a09d5829ad9b02cdf667569aefa8de0ea6Affected
LinuxLinux
  • 5.14Affected
  • before 5.14Not affected
  • 5.15.58 through 5.15.*Not affected
  • 5.18.15 through 5.18.*Not affected
  • 5.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.