CVE-2022-49832

published 1 May 2025 · updated 7 Nov 2026

pinctrl: devicetree: fix null pointer dereferencing in pinctrl_dt_to_map

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4.9.334, Kernel 4.14.300, Kernel 4.19.267 and 12 more.

In the Linux kernel, the following vulnerability has been resolved: pinctrl: devicetree: fix null pointer dereferencing in pinctrl_dt_to_map Here is the BUG report by KASAN about null pointer dereference: BUG: KASAN: null-ptr-deref in strcmp+0x2e/0x50 Read of size 1 at addr 0000000000000000 by task python3/2640 Call Trace: strcmp __of_find_property of_find_property pinctrl_dt_to_map kasprintf() would return NULL pointer when kmalloc() fail to allocate. So directly return ENOMEM, if kasprintf() return NULL pointer.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=3.5 <4.9.334, >=4.10 <4.14.300, >=4.15 <4.19.267, >=4.20 <5.4.225, >=5.11 <5.15.80, >=5.16 <6.0.10, >=5.5 <5.10.156, =6.1, >=57291ce295c0aca738dd284c4a9c591c09ebee71 <5834a3a98cd266ad35a229923c0adbd0addc8d68, >=57291ce295c0aca738dd284c4a9c591c09ebee71 <777430aa4ddccaa5accec6db90ffc1d47f00d471, >=57291ce295c0aca738dd284c4a9c591c09ebee71 <91d5c5060ee24fe8da88cd585bb43b843d2f0dce, >=57291ce295c0aca738dd284c4a9c591c09ebee71 <97e5b508e96176f1a73888ed89df396d7041bfcb, >=57291ce295c0aca738dd284c4a9c591c09ebee71 <a988dcd3dd9e691c5ccc3324b209688f3b5453e9, >=57291ce295c0aca738dd284c4a9c591c09ebee71 <aaf552c5d53abe4659176e099575fe870d2e4768, >=57291ce295c0aca738dd284c4a9c591c09ebee71 <b4d9f55cd38435358bc16d580612bc0d798d7b4c, =3.5, >=57291ce295c0aca738dd284c4a9c591c09ebee71 <040f726fecd88121f3b95e70369785ad452dddf94.9.334, 4.14.300, 4.19.267, 5.4.225, 5.15.80, 6.0.10, 5.10.156, 5834a3a98cd266ad35a229923c0adbd0addc8d68, 777430aa4ddccaa5accec6db90ffc1d47f00d471, 91d5c5060ee24fe8da88cd585bb43b843d2f0dce, 97e5b508e96176f1a73888ed89df396d7041bfcb, a988dcd3dd9e691c5ccc3324b209688f3b5453e9, aaf552c5d53abe4659176e099575fe870d2e4768, b4d9f55cd38435358bc16d580612bc0d798d7b4c, 040f726fecd88121f3b95e70369785ad452dddf9
linux-kernel: Kernel>=3.5.0 <4.9.334, >=4.10.0 <4.14.300, >=4.15.0 <4.19.267, >=4.20.0 <5.4.225, >=5.11.0 <5.15.80, >=5.16.0 <6.0.10, >=5.5.0 <5.10.1564.9.334, 4.14.300, 4.19.267, 5.4.225, 5.15.80, 6.0.10, 5.10.156

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49832 severity on Zeptric[![CVE-2022-49832](https://zeptric.io/badge/cve/CVE-2022-49832.svg)](https://zeptric.io/cve/CVE-2022-49832)