NULL pointer dereference in Linux kernel - CVE-2022-49072
Published: February 26, 2025 / Updated: May 11, 2025
Vulnerability identifier: #VU104626
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-49072
CWE-ID: CWE-476
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to NULL pointer dereference within the gpiochip_to_irq() and gpiochip_add_irqchip() functions in drivers/gpio/gpiolib.c. A local user can perform a denial of service (DoS) attack.
Affected software
Linux kernel
Ubuntu
linux (Ubuntu package)
linux-hwe-5.4 (Ubuntu package)
linux-iot (Ubuntu package)
linux-aws (Ubuntu package)
linux-ibm-5.4 (Ubuntu package)
linux-fips (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-azure (Ubuntu package)
linux-azure-5.4 (Ubuntu package)
Ubuntu
linux (Ubuntu package)
linux-hwe-5.4 (Ubuntu package)
linux-iot (Ubuntu package)
linux-aws (Ubuntu package)
linux-ibm-5.4 (Ubuntu package)
linux-fips (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-azure (Ubuntu package)
linux-azure-5.4 (Ubuntu package)
How to mitigate CVE-2022-49072
Install update from vendor's website.
Linux kernel - update to 5.17.3
linux (Ubuntu package) - addressed in versions 5.4.0.227.219, 5.4.0-227.247
linux-hwe-5.4 (Ubuntu package) - addressed in versions 5.4.0-227.247~18.04.1, 5.4.0-1102.107, 5.4.0.1102.131
linux-iot (Ubuntu package) - addressed in versions 5.4.0-1060.63, 5.4.0.1143.139, 5.4.0-1143.152
linux-aws (Ubuntu package) - addressed in versions 5.4.0.1074.74, 5.4.0-1074.78, 5.4.0.1154.148, 5.4.0-1154.164, 5.4.0-1154.164~18.04.1, 5.4.0.1156.153, 5.4.0-1156.166, 5.4.0-1156.166~18.04.1, 5.4.0-1159.168~18.04.1
linux-ibm-5.4 (Ubuntu package) - update to 5.4.0-1102.107~18.04.1
linux-fips (Ubuntu package) - addressed in versions 5.4.0.1130.127, 5.4.0-1130.140, 5.4.0.1159.101, 5.4.0-1159.168+fips1
linux-aws-fips (Ubuntu package) - addressed in versions 5.4.0.1155.102, 5.4.0-1155.165+fips1
linux-gcp (Ubuntu package) - addressed in versions 5.4.0.1159.161, 5.4.0-1159.168
linux-azure-fips (Ubuntu package) - addressed in versions 5.4.0.1160.97, 5.4.0-1160.166+fips1
linux-azure (Ubuntu package) - addressed in versions 5.4.0.1160.153, 5.4.0-1160.166
linux-azure-5.4 (Ubuntu package) - update to 5.4.0-1161.167~18.04.1
linux (Ubuntu package) - addressed in versions 5.4.0.227.219, 5.4.0-227.247
linux-hwe-5.4 (Ubuntu package) - addressed in versions 5.4.0-227.247~18.04.1, 5.4.0-1102.107, 5.4.0.1102.131
linux-iot (Ubuntu package) - addressed in versions 5.4.0-1060.63, 5.4.0.1143.139, 5.4.0-1143.152
linux-aws (Ubuntu package) - addressed in versions 5.4.0.1074.74, 5.4.0-1074.78, 5.4.0.1154.148, 5.4.0-1154.164, 5.4.0-1154.164~18.04.1, 5.4.0.1156.153, 5.4.0-1156.166, 5.4.0-1156.166~18.04.1, 5.4.0-1159.168~18.04.1
linux-ibm-5.4 (Ubuntu package) - update to 5.4.0-1102.107~18.04.1
linux-fips (Ubuntu package) - addressed in versions 5.4.0.1130.127, 5.4.0-1130.140, 5.4.0.1159.101, 5.4.0-1159.168+fips1
linux-aws-fips (Ubuntu package) - addressed in versions 5.4.0.1155.102, 5.4.0-1155.165+fips1
linux-gcp (Ubuntu package) - addressed in versions 5.4.0.1159.161, 5.4.0-1159.168
linux-azure-fips (Ubuntu package) - addressed in versions 5.4.0.1160.97, 5.4.0-1160.166+fips1
linux-azure (Ubuntu package) - addressed in versions 5.4.0.1160.153, 5.4.0-1160.166
linux-azure-5.4 (Ubuntu package) - update to 5.4.0-1161.167~18.04.1
External References
- 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
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.17.3
Related Security Bulletins
- NULL pointer dereference in Linux kernel gpio driver
- Ubuntu update for linux
- Ubuntu update for linux-gcp
- Ubuntu update for linux-aws-fips
- Ubuntu update for linux-aws
- Ubuntu update for linux-hwe-5.4
- Ubuntu update for linux-fips
- Ubuntu update for linux-iot
- Ubuntu update for linux-azure-fips
- Ubuntu update for linux-azure
- Ubuntu update for linux-ibm-5.4
- Ubuntu update for linux-azure-5.4