CVE-2022-49072
publishedgpio: Restrict usage of GPIO chip irq members before initialization
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux48057ed1840fde9239b1e000bea1a0a1f07c5e99 to < 7e88a50704b0c49ad3f2d11e8b963341cf68a89f · 48057ed1840fde9239b1e000bea1a0a1f07c5e99 to < 0912cf021fb5749372b3782611d8b1de4986c13a · 48057ed1840fde9239b1e000bea1a0a1f07c5e99 to < 2c1fa3614795e2b24da1ba95de0b27b8f6ea4537 · 48057ed1840fde9239b1e000bea1a0a1f07c5e99 to < f8dea54f74cae8c2e4d7b2952e8fed7743a85c87 · 48057ed1840fde9239b1e000bea1a0a1f07c5e99 to < 5467801f1fcbdc46bc7298a84dbf3ca1ff2a7320 · 44dfa46aaf7cf594ac89bc1a0c0e56c498b31269 · 5.2.14 to < 5.3 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.3 (affected) · 0 to < 5.3 (unaffected · semver) · 5.10.111 through 5.10.* (unaffected · semver) · 5.15.34 through 5.15.* (unaffected · semver) · 5.16.20 through 5.16.* (unaffected · semver) · 5.17.3 through 5.17.* (unaffected · semver) · 5.18 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2023-036 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolaarch64 | Advisory build | 7.0.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolppc64le | Advisory build | 7.0.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | bpftools390x | Advisory build | 7.0.0-284.11.1.el9_2 | RHSA-2023:2458 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-9 | bpftoolx86_64 | Advisory build | 7.0.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoaarch64 | Advisory build | 7.0.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoppc64le | Advisory build | 7.0.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfos390x | Advisory build | 7.0.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfox86_64 | Advisory build | 7.0.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernelaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernelppc64le | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernels390x | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernelsrc | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernelx86_64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64kaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-coreaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debugaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-coreaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-debuginfoaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-develaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-devel-matchedaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modulesaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-coreaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-extraaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debuginfoaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-develaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-devel-matchedaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modulesaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-coreaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-extraaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-abi-stablelistsnoarch | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreppc64le | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-cores390x | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-corex86_64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugppc64le | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugs390x | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugx86_64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreppc64le | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-cores390x | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-corex86_64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoppc64le | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfos390x | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfox86_64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develppc64le | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devels390x | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develx86_64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedppc64le | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matcheds390x | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedx86_64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesppc64le | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-moduless390x | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesx86_64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-coreaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-coreppc64le | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-cores390x | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-corex86_64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extraaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrappc64le | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extras390x | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrax86_64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-uki-virtx86_64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoppc64le | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfos390x | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfox86_64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-s390xs390x | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develppc64le | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devels390x | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develx86_64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedppc64le | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matcheds390x | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedx86_64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-docnoarch | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesppc64le | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-moduless390x | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesx86_64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-coreaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-coreppc64le | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-cores390x | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-corex86_64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extraaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrappc64le | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extras390x | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrax86_64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-toolsaarch64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-toolsppc64le | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-toolss390x | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-toolsx86_64 | Advisory build | 5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 48057ed1840fde9239b1e000bea1a0a1f07c5e99 to < 7e88a50704b0c49ad3f2d11e8b963341cf68a89f (affected · git)48057ed1840fde9239b1e000bea1a0a1f07c5e99 to < 0912cf021fb5749372b3782611d8b1de4986c13a (affected · git)48057ed1840fde9239b1e000bea1a0a1f07c5e99 to < 2c1fa3614795e2b24da1ba95de0b27b8f6ea4537 (affected · git)48057ed1840fde9239b1e000bea1a0a1f07c5e99 to < f8dea54f74cae8c2e4d7b2952e8fed7743a85c87 (affected · git)48057ed1840fde9239b1e000bea1a0a1f07c5e99 to < 5467801f1fcbdc46bc7298a84dbf3ca1ff2a7320 (affected · git)44dfa46aaf7cf594ac89bc1a0c0e56c498b31269 (affected · git)5.2.14 to < 5.3 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.3 (affected)0 to < 5.3 (unaffected · semver)5.10.111 through 5.10.* (unaffected · semver)5.15.34 through 5.15.* (unaffected · semver)5.16.20 through 5.16.* (unaffected · semver)5.17.3 through 5.17.* (unaffected · semver)5.18 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/0912cf021fb5749372b3782611d8b1de4986c13a
- https://git.kernel.org/stable/c/2c1fa3614795e2b24da1ba95de0b27b8f6ea4537
- https://git.kernel.org/stable/c/5467801f1fcbdc46bc7298a84dbf3ca1ff2a7320
- https://git.kernel.org/stable/c/7e88a50704b0c49ad3f2d11e8b963341cf68a89f
- https://git.kernel.org/stable/c/f8dea54f74cae8c2e4d7b2952e8fed7743a85c87
Provider assertions
1Linux · cna
gpio: Restrict usage of GPIO chip irq members before initialization
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a895ac5dc6f48296f275f55dca9c291ed093b34013531f2a6432a98ef5f1a0a1
- Ingested
- 23 Sep 2026, 08:04:03 UTC
- Source record
- Official CVE record