CVE-2022-49072: gpio: Restrict usage of GPIO chip irq members before initialization
Vulnerability summary
CVE-2022-49072 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 19% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 13 · Related 12Timeline
- 26-02-2025PublishedVulnerability first disclosed.
- 23-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
19%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.27% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu103 products
- linux< 5.4.0-227.247 | < 5.15.0-37.39
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.4.0-1156.166 | < 5.15.0-1011.14
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 48057ed1840fde9239b1e000bea1a0a1f07c5e99, < 7e88a50704b0c49ad3f2d11e8b963341cf68a89f | ≥ 48057ed1840fde9239b1e000bea1a0a1f07c5e99, < 0912cf021fb5749372b3782611d8b1de4986c13a | ≥ 48057ed1840fde9239b1e000bea1a0a1f07c5e99, < 2c1fa3614795e2b24da1ba95de0b27b8f6ea4537 | ≥ 48057ed1840fde9239b1e000bea1a0a1f07c5e99, < f8dea54f74cae8c2e4d7b2952e8fed7743a85c87 | ≥ 48057ed1840fde9239b1e000bea1a0a1f07c5e99, < 5467801f1fcbdc46bc7298a84dbf3ca1ff2a7320 | 44dfa46aaf7cf594ac89bc1a0c0e56c498b31269 | ≥ 5.2.14, < 5.3 | 5.3
- linux_kernel< 5.10.111 | ≥ 5.11, < 5.15.34 | ≥ 5.16, < 5.16.20 | ≥ 5.17, < 5.17.3 | 5.18:rc1
Debian1 product
- linux< 5.17.3-1
3 vendors · 106 products