CVE-2022-49832
Linux Kernel vulnerability analysis and mitigation

Overview

A null pointer dereference vulnerability (CVE-2022-49832) was discovered in the Linux kernel's pinctrl devicetree subsystem. The vulnerability was identified in the pinctrldtto_map function and was disclosed on May 1, 2025. The issue affects the Linux kernel's pinctrl subsystem, specifically when handling device tree operations (NVD, Wiz).

Technical details

The vulnerability occurs when kasprintf() returns a NULL pointer due to kmalloc() allocation failure in the pinctrldttomap function. A KASAN bug report revealed a null pointer dereference in the strcmp+0x2e/0x50 function, with a read of size 1 at address 0000000000000000 by task python3/2640. The call trace shows the issue propagating through strcmp -> _offindproperty -> offindproperty -> pinctrldtto_map functions (NVD, Red Hat).

Impact

When triggered, this vulnerability can lead to system instability and potential denial of service conditions due to the null pointer dereference in the kernel's pinctrl subsystem (Wiz).

Mitigation and workarounds

The fix involves directly returning ENOMEM when kasprintf() returns a NULL pointer, preventing the null pointer dereference condition. Red Hat Enterprise Linux 9 has deferred the fix for both kernel and kernel-rt packages (Red Hat).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management