CVE-2022-49072
Last modified
CVE-2022-49072 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | < 5.10.111 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.34 | — |
| Linux | Linux Kernel | >= 5.16, < 5.16.20 | — |
| Linux | Linux Kernel | >= 5.17, < 5.17.3 | — |
| Linux | Linux Kernel | 5.18 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-49072?
How severe is CVE-2022-49072?
How do I fix CVE-2022-49072?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-49067In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49068In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49069In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-4907Uninitialized Use in FFmpeg in Google Chrome prior to 108.0.…8.8
- CVE-2022-49070In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49071In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49073In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-49074In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49075In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49076In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-49077In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49078In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2022-49072?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
