Menu

Star on GitHub · 3.2k

CVE-2022-49072

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: gpio: Restrict usage of GPIO chip irq members before initialization GPIO chip irq members are exposed before they could be comp…

Published Feb 26, 2025CWE-476EPSS 0.27%

Overview

CVE-2022-49072 is a medium-severity vulnerability. It was published on February 26, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

gpio: Restrict usage of GPIO chip irq members before initialization

GPIO chip irq members are exposed before they could be completely

initialized and this leads to race conditions.

One such issue was observed for the gc->irq.domain variable which

was accessed through the I2C interface in gpiochip_to_irq() before

it could be initialized by gpiochip_add_irqchip(). This resulted in

Kernel NULL pointer dereference.

Following are the logs for reference :-

kernel: Call Trace:

kernel: gpiod_to_irq+0x53/0x70

kernel: acpi_dev_gpio_irq_get_by+0x113/0x1f0

kernel: i2c_acpi_get_irq+0xc0/0xd0

kernel: i2c_device_probe+0x28a/0x2a0

kernel: really_probe+0xf2/0x460

kernel: RIP: 0010:gpiochip_to_irq+0x47/0xc0

To avoid such scenarios, restrict usage of GPIO chip irq members before

they are completely initialized.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2022-49072?

CVE-2022-49072 is a medium-severity vulnerability. It was published on February 26, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2022-49072?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-49072?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-49072?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-49072 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2022

View all