CVE-2022-49832

pinctrl: devicetree: fix null pointer dereferencing in pinctrl_dt_to_map

No CVSS score yet EPSS 0.22%

Published 1 May 2025 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2022-49832

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49832 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.3% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 57291ce295c0aca738dd284c4a9c591c09ebee71, before aaf552c5d53abe4659176e099575fe870d2e4768
affected from 57291ce295c0aca738dd284c4a9c591c09ebee71, before b4d9f55cd38435358bc16d580612bc0d798d7b4c
affected from 57291ce295c0aca738dd284c4a9c591c09ebee71, before a988dcd3dd9e691c5ccc3324b209688f3b5453e9
affected from 57291ce295c0aca738dd284c4a9c591c09ebee71, before 040f726fecd88121f3b95e70369785ad452dddf9
affected from 57291ce295c0aca738dd284c4a9c591c09ebee71, before 777430aa4ddccaa5accec6db90ffc1d47f00d471
affected from 57291ce295c0aca738dd284c4a9c591c09ebee71, before 97e5b508e96176f1a73888ed89df396d7041bfcb
affected from 57291ce295c0aca738dd284c4a9c591c09ebee71, before 5834a3a98cd266ad35a229923c0adbd0addc8d68
affected from 57291ce295c0aca738dd284c4a9c591c09ebee71, before 91d5c5060ee24fe8da88cd585bb43b843d2f0dce
Other versions: unaffected
Linux
affected 3.5
unaffected before 3.5
unaffected from 4.9.334 up to and including 4.9.*
unaffected from 4.14.300 up to and including 4.14.*
unaffected from 4.19.267 up to and including 4.19.*
unaffected from 5.4.225 up to and including 5.4.*
unaffected from 5.10.156 up to and including 5.10.*
unaffected from 5.15.80 up to and including 5.15.*
unaffected from 6.0.10 up to and including 6.0.*
unaffected 6.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49832 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49832

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-49832
trivy image --scanners vuln IMAGE | grep CVE-2022-49832

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-49832 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.