NULL pointer dereference in Linux kernel - CVE-2022-49072

 

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)

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

External References

Related Security Bulletins