CVE-2022-49832
pinctrl: devicetree: fix null pointer dereferencing in pinctrl_dt_to_map
Mitigation
- Upgrade Linux to 91d5c5060ee24fe8da88cd585bb43b843d2f0dce or later.
Who should check
- Anyone running Linux >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < aaf552c5d53abe4659176e099575fe870d2e4768; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < b4d9f55cd38435358bc16d580612bc0d798d7b4c; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < a988dcd3dd9e691c5ccc3324b209688f3b5453e9; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < 040f726fecd88121f3b95e70369785ad452dddf9; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < 777430aa4ddccaa5accec6db90ffc1d47f00d471; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < 97e5b508e96176f1a73888ed89df396d7041bfcb; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < 5834a3a98cd266ad35a229923c0adbd0addc8d68; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < 91d5c5060ee24fe8da88cd585bb43b843d2f0dce
- Anyone running Linux 3.5
Vulnerability facts
- Affected
- Linux >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < aaf552c5d53abe4659176e099575fe870d2e4768; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < b4d9f55cd38435358bc16d580612bc0d798d7b4c; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < a988dcd3dd9e691c5ccc3324b209688f3b5453e9; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < 040f726fecd88121f3b95e70369785ad452dddf9; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < 777430aa4ddccaa5accec6db90ffc1d47f00d471; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < 97e5b508e96176f1a73888ed89df396d7041bfcb; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < 5834a3a98cd266ad35a229923c0adbd0addc8d68; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < 91d5c5060ee24fe8da88cd585bb43b843d2f0dce; Linux 3.5
- Fixed in
- Linux 040f726fecd88121f3b95e70369785ad452dddf9, Linux 777430aa4ddccaa5accec6db90ffc1d47f00d471, Linux 97e5b508e96176f1a73888ed89df396d7041bfcb, Linux 5834a3a98cd266ad35a229923c0adbd0addc8d68, Linux 91d5c5060ee24fe8da88cd585bb43b843d2f0dce
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- CWE
- CWE-476
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < aaf552c5d53abe4659176e099575fe870d2e4768; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < b4d9f55cd38435358bc16d580612bc0d798d7b4c; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < a988dcd3dd9e691c5ccc3324b209688f3b5453e9; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < 040f726fecd88121f3b95e70369785ad452dddf9; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < 777430aa4ddccaa5accec6db90ffc1d47f00d471; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < 97e5b508e96176f1a73888ed89df396d7041bfcb; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < 5834a3a98cd266ad35a229923c0adbd0addc8d68; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < 91d5c5060ee24fe8da88cd585bb43b843d2f0dce | — | cvelist |
| Linux | 3.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-49832. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-49832.md Affected: Linux >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < aaf552c5d53abe4659176e099575fe870d2e4768; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < b4d9f55cd38435358bc16d580612bc0d798d7b4c; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < a988dcd3dd9e691c5ccc3324b209688f3b5453e9; >= 57291ce295c0aca738dd284… Fixed in: Linux 040f726fecd88121f3b95e70369785ad452dddf9, Linux 777430aa4ddccaa5accec6db90ffc1d47f00d471, Linux 97e5b508e96176f1a73888ed89df396d7041bfcb, Linux 5834a3a98cd266ad35a229923c0adbd0addc8d68, Linux 91d5c5060ee24fe8da88cd585bb43b843d2f0dce Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/aaf552c5d53abe4659176e099575fe870d2e4768
- https://git.kernel.org/stable/c/b4d9f55cd38435358bc16d580612bc0d798d7b4c
- https://git.kernel.org/stable/c/a988dcd3dd9e691c5ccc3324b209688f3b5453e9
- https://git.kernel.org/stable/c/040f726fecd88121f3b95e70369785ad452dddf9
- https://git.kernel.org/stable/c/777430aa4ddccaa5accec6db90ffc1d47f00d471
- https://git.kernel.org/stable/c/97e5b508e96176f1a73888ed89df396d7041bfcb
- https://git.kernel.org/stable/c/5834a3a98cd266ad35a229923c0adbd0addc8d68
- https://git.kernel.org/stable/c/91d5c5060ee24fe8da88cd585bb43b843d2f0dce
FAQ
Is CVE-2022-49832 being exploited?
There is no confirmed exploitation: CVE-2022-49832 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-49832?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-49832?
Linux >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < aaf552c5d53abe4659176e099575fe870d2e4768; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < b4d9f55cd38435358bc16d580612bc0d798d7b4c; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < a988dcd3dd9e691c5ccc3324b209688f3b5453e9; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < 040f726fecd88121f3b95e70369785ad452dddf9; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < 777430aa4ddccaa5accec6db90ffc1d47f00d471; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < 97e5b508e96176f1a73888ed89df396d7041bfcb; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < 5834a3a98cd266ad35a229923c0adbd0addc8d68; >= 57291ce295c0aca738dd284c4a9c591c09ebee71, < 91d5c5060ee24fe8da88cd585bb43b843d2f0dce; Linux 3.5.
Is there a fix for CVE-2022-49832?
Yes. Fixed in Linux 040f726fecd88121f3b95e70369785ad452dddf9, Linux 777430aa4ddccaa5accec6db90ffc1d47f00d471, Linux 97e5b508e96176f1a73888ed89df396d7041bfcb, Linux 5834a3a98cd266ad35a229923c0adbd0addc8d68, Linux 91d5c5060ee24fe8da88cd585bb43b843d2f0dce. Upgrade Linux to 91d5c5060ee24fe8da88cd585bb43b843d2f0dce or later.
How do I check if I'm affected by CVE-2022-49832?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.