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

Medium 5.5 Published Updated

An integer overflow in the Xilinx GPIO driver prevents configuring more than 32 pins, potentially causing denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-49570?

CVE-2022-49570 is a medium-severity vulnerability in Linux kernel, published on 26 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-190

Which versions are affected by CVE-2022-49570?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-49570?

Apply the vendor's patch.

Is CVE-2022-49570 being exploited?

There is no known exploitation of CVE-2022-49570 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-49570, GHSA-9r36-ph2g-374v, UBUNTU-CVE-2022-49570.

Is CVE-2022-49570 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free